[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Testbed-admins] Emulab support for NS monitoring and procedures?



The abilities to monitor links and traffic in NS can be scripted in the tcl script (commands like "monitor-queue", "trace-all", etc.)  and procedures can be written within the script to execute "finish" calculations, output displays and cleanup files etc.  How is this done in Emulab scripts?  

I've been trying to find ways to automatically record packet counts on one or each node in my emulation then report those back to the main node somehow so I can run a batch mode emulation and I don't have to be present to get the info.  Does someone have a script they could share with me on how to do this, I've been looking through emulab and NS docs for some time trying to figure this out,  loghole doesn't seem to work (or I'm doing it wrong) and the emulab "trace" command only works if I'm present to watch the experiment (the files go away after the experiment is swapped out).

Also when I open a file in the script:  "set qf [open q.tr w]"   what machine does that open on? what path?  can I open a file in the shared /Users directory from each node, or can I within the script have it snapshot my capture files (from "trace") to /users someplace so I can retreive the info AFTER the experiment is swapped out?

Is there another way to do this?  I can't be the only one trying to do this...   

I'd very much like to view actual scripts that have something like this setup to see how it is done.  You can send me scripts off list if you need them to be more private.

Thanks,
--Ben Burnett
-----------------------------
ben@burnett.ws
http://www.burnett.ws/
http://ben.burnett.ws/
http://www.linkedin.com/in/benburnett