How to monitor the simulations?

120 views
Skip to first unread message

Alessandro Puccetti

unread,
May 17, 2013, 3:59:20 AM5/17/13
to omn...@googlegroups.com
Hi,

I would like to know a if there is a way to monitor the simulation remotely. I explain better:

I have a some machines where my simulation are running and i want a periodic report about the percent of execution, and do some operation after the end of execution of a single run, like notify via email or move the simulation data to an other folder (remote/shared hard drive). So I can start to analyze the data before the and of all simulations.


Thaks

Carlo

unread,
May 17, 2013, 5:06:38 AM5/17/13
to omn...@googlegroups.com
Hello Alessandro,
regarding the percent of execution i don't have any answer, but for the other questions i think you can use bash scripting..

Alessandro Puccetti

unread,
May 17, 2013, 5:14:17 AM5/17/13
to omn...@googlegroups.com
Yes i know, i can use a pipe line to send an email when all simulation are finished, but i'm looking for a way to notify the end of one specific simulation at least.

Do you have some idea?

Alessandro Puccetti

--
--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp
 
---
You received this message because you are subscribed to a topic in the Google Groups "omnetpp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/p4cK9ssh6Vw/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Rudolf Hornig

unread,
May 17, 2013, 5:22:22 AM5/17/13
to omn...@googlegroups.com
Run the simulation from cmdenv and redirect the simulation output. Related config options:

cmdenv-autoflush=<bool>, default:false; per-run setting
    Call fflush(stdout) after each event banner or status update; affects both
    express and normal mode. Turning on autoflush may have a performance
    penalty, but it can be useful with printf-style debugging for tracking down
    program crashes.

cmdenv-output-file=<filename>; global setting
    When a filename is specified, Cmdenv redirects standard output into the
    given file. This is especially useful with parallel simulation. See the
    `fname-append-host' option as well.

cmdenv-performance-display=<bool>, default:true; per-run setting
    When cmdenv-express-mode=true: print detailed performance information.
    Turning it on results in a 3-line entry printed on each update, containing
    ev/sec, simsec/sec, ev/simsec, number of messages created/still
    present/currently scheduled in FES.

cmdenv-status-frequency=<double>, unit="s", default:2s; per-run setting
    When cmdenv-express-mode=true: print status update every n seconds.

Rudolf

ps: the IDE does this similarily. I.e. it reads the standard output of the simulation and parses out the status updates to get the percentage.



Thaks

Alessandro Puccetti

unread,
May 17, 2013, 5:50:01 AM5/17/13
to omn...@googlegroups.com
Thanks for the hints. I think I can these features to manage big simulations.

Alessandro Puccetti
--
Reply all
Reply to author
Forward
0 new messages