Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Displaying Status In Continuous Real Time Mode

by fmerges (Chaplain)
on Jul 24, 2007 at 20:39 UTC ( [id://628575]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://628575]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2025-11-08 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (65 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.