Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
($cpu,undef) = split(".", $5); ($hours, $minutes) = split(":", $7); $time = ($hours * 60) + $minutes; %one = ( pid => $1, mem => $4, cpu => $cpu, time => $time, tty => $8, cmd => $9 ); push $users{$2}, $one;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Data Structures
by lhoward (Vicar) on Jun 05, 2000 at 01:09 UTC | |
|
Re: Data Structures
by Corion (Patriarch) on Jun 05, 2000 at 01:09 UTC | |
|
Re: Data Structures
by buzzcutbuddha (Chaplain) on Jun 05, 2000 at 17:17 UTC |