monkfan has asked for the wisdom of the Perl Monks concerning the following question:
I have a following snippet:
Regards,
Edward
And it prints:use Proc::ProcessTable; my $now = time; print "NOW:", scalar(localtime $now),"\n"; $t = new Proc::ProcessTable; printf( $FORMAT, "START", "HOWLONG", "CMD" ); foreach $p ( @{ $t->table } ) { printf( $FORMAT, scalar( localtime( $p->start ) ), $p->time, ); } }
and in one of the entry it prints: prints:NOW :Fri Oct 26 17:37:58 2007
I was wondering what does the figure 12000 mean? The doc doesn't seem to describe it tangibly:START HOWLONG Fri Oct 26 03:23:00 2007 120000
Does that figure describe howlong a particular program is running? Is that in seconds?time user + system time
Regards,
Edward
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Interpreting the Meaning of Time Method in Proc::ProcessTable
by kyle (Abbot) on Oct 26, 2007 at 12:13 UTC | |
by jimsearle (Initiate) on Dec 07, 2007 at 21:49 UTC | |
by kyle (Abbot) on Dec 08, 2007 at 13:29 UTC | |
Re: Interpreting the Meaning of Time Method in Proc::ProcessTable
by karlgoethebier (Abbot) on Apr 04, 2014 at 09:56 UTC |
Back to
Seekers of Perl Wisdom