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
Back to
Seekers of Perl Wisdom