in reply to perl function for 'ps' ?

The following nodes may also help:

HTH,

planetscape