Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: ps in perl?

by McDarren (Abbot)
on Dec 26, 2007 at 17:01 UTC ( [id://659073]=note: print w/replies, xml ) Need Help??


in reply to ps in perl?

I'm not sure if it is core or not, but Proc::ProcessTable is probably what you want.

The example in the module documentation even gives a "cheap and sleazy" version of ps.

Cheers,
Darren :)

Replies are listed 'Best First'.
Re^2: ps in perl?
by doom (Deacon) on Dec 26, 2007 at 19:31 UTC

    Proc::ProcessTable is not core. If it were, this would tell you the first version of perl it was available with:

    perl -MModule::CoreList -e 'print Module::CoreList->first_release('Pro +c::ProcessTable'),"\n";'

    It's a unix-oriented module, which I would guess wouldn't tend to be included in core if only for that reason.

    (The OP, pileofrogs, hasn't made it clear if he's happy with a unix-only solution.)

      The immediate problem is not "is it core". The problem is, "do I have it", or, if not, "how hard is it to install". And the latter applies both to technical issues (how hard work is it to install, and does it even work on my platform), and political ones (will my sysadmin let me install it?)
      'corelist Proc::ProcessTable'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://659073]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2025-07-20 09:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.