[HRPM] Sorting and array of lines returned from 'ps'
chicks at chicks.net
chicks at chicks.net
Tue Nov 21 09:35:58 CST 2000
On Mon, 20 Nov 2000, Jeff Duffy wrote:
> Chris probably has an easier answer for you.
Matt - can you send me (or the list) a short version of what you've got
that loads the array? It'll take about 10 minutes, but I can quite easily
write a comparator for sort that will do exactly what I think you want.
:-) Having your code to start off with will save some time.
Also - please note there is a module which is designed to make working
with the process table reasonably painless and portable -
Proc::ProcessTable (D/DU/DURIST/Proc-ProcessTable-0.28.tar.gz). I haven't
used it, but I've liked what I've read about it. I've got a project where
I want to play with it one of these days. :-)
--
</chris>
"Pinky, you've left the lens cap of your mind on again." - The Brain
More information about the Norfolk-pm
mailing list