in reply to Displaying Status In Continuous Real Time Mode

Hi,

I encourage you to provide more info about how the C program gets called/executed to getting better feedback

Basically the thing is that you need to get some data back from the C program, I don't know how you calling it, if it's a daemon that accepts jobs or whatever. If it runs as a daemon you can do it via log files very easy, if you run it for every job, then you can do it also with logs storing the date you started and the one when it finishes.

Then for displaying purposes you can use any chart/plotting module

Take also a look to GTop for retrieving info about the running processes

Regards,

fmerges at irc.freenode.net
  • Comment on Re: Displaying Status In Continuous Real Time Mode

Replies are listed 'Best First'.
Re^2: Displaying Status In Continuous Real Time Mode
by Anonymous Monk on Jul 25, 2007 at 00:18 UTC
    Actually the C part is written by someone else and it is working correctly. It is returning:
    +::010::5
    +::020::7
    +::030::6
    +::040::10
    +::050::5
    +::060::7
    +::070::6
    +::080::10
    +::090::6
    +::100::10
    where is first column after the +:: is how many % of the job has been completed. The number 5 after that is how much time it took to complete the first 10% of the job. We want to be bacl to display this time in a graphical continuous mode if it is possible. Is there any PERL package for this? Thanks.