lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

lastrun.log: time info on threads

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Development
Author Message
A7V
Contributor


Joined: 18 Jun 2004
Posts: 53
Location: Lisbon, Portugal

PostPosted: Mon Jun 21, 2004 5:56 pm    Post subject: lastrun.log: time info on threads Reply with quote

Hi,

It would be nice to know the time each thread takes to poll each device and then the time it took to poll all devices.
By 'eyemeter' I can see that my current NetMRG takes about 3 seconds to do 170 pollings on 13 devices. Since I have a lot of devices to add this information can become very handy in some verifications.
Since this information is not needed at all times, a variable in the configuration file would be enough.

Current (stripped down) logfile:

Code:
NetMRG starting.
[Dev: 0002] Starting device thread.
[Dev: 0003] Starting device thread.
[Dev: 0004] Starting device thread.
[Dev: 0005] Starting device thread.
[Dev: 0006] Starting device thread.
[Dev: 0005] Ending device thread.
Thread Ended.
[Dev: 0007] Starting device thread.
[Dev: 0004] Ending device thread.
Thread Ended.
[Dev: 0008] Starting device thread.
[Dev: 0002] Ending device thread.
Thread Ended.


Example 'I wanna' log:

Code:
NetMRG starting at 21-06-2004 18:50:00
[Dev: 0002] Starting device thread at 21-06-2004 18:50:00
[Dev: 0003] Starting device thread at 21-06-2004 18:50:01
[Dev: 0004] Starting device thread at 21-06-2004 18:50:02
[Dev: 0005] Starting device thread at 21-06-2004 18:50:03
[Dev: 0006] Starting device thread at 21-06-2004 18:50:05
[Dev: 0005] Ending device thread at 21-06-2004 18:50:06
Thread Ended.
[Dev: 0007] Starting device thread at 21-06-2004 18:50:07.
[Dev: 0004] Ending device thread at 21-06-2004 18:50:08
Thread Ended.
[Dev: 0008] Starting device thread at 21-06-2004 18:50:09
[Dev: 0002] Ending device thread at 21-06-2004 18:50:10
Thread Ended.
NetMRG ended at 21-06-2004 18:50:11


Note: this seemed the appropriate forum to post this situation. If not please move the message.
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Mon Jun 21, 2004 6:27 pm    Post subject: Reply with quote

Yes, this is the right place :)

I've started a bug to track this issue.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Development All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group