Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] perl ps -aux ?

Expand Messages
  • agftech lists
    Rather use Unix::Process ... ______________________ Aman Raheja AGF Technologies http://www.agftech.com ______________________
    Message 1 of 3 , Jan 6, 2004
    • 0 Attachment
      Rather use
      Unix::Process


      On Tue, 2004-01-06 at 22:13, Erik Tank wrote:
      > gordon stewart wrote:
      >
      > > Hi there
      > >
      > > ive heard about a "ps -aux" command-line function to
      > > look at a scripts server-overload / usage etc..
      > >
      > > im, looking for exact syntax now / tutorial.. - but im
      > > getting bamboozled with all sorts of stuff....
      > >
      > > got a short script - no errors (so i assume its going)
      > > but i get no on-screen output either :-( )
      > >
      > > print "Content-type: text/html\n\n";
      > > system ("perl ps -aux");
      >
      > Replace this line with:
      > system("ps -aux");
      >
      > ps is a UNIX/LINUX command and not a perl command.
      >
      > > exit;
      > >
      > >
      > > (I havnt done much 'system' - I do everything
      > > on-screen.. )
      > >
      > >
      > > basically trying to see how much server usage a
      > > particular script is using...(on a website - not on a
      > > pc/server I control) - they do allow this - apparently
      > >
      > > G
      > >
      > >
      > > =====
      > > G-Man
      > > One OS to fool them all, One browser to find them.
      > > One email client to gather them in, and through the security holes, worm them.
      > > gordonstewart5@... for personal replies please.
      > >
      > > __________________________________
      > > Do you Yahoo!?
      > > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
      > > http://hotjobs.sweepstakes.yahoo.com/signingbonus
      > >
      > > Unsubscribing info is here: http://help.yahoo.com/help/us/groups/groups-32.html
      > >
      > >
      > > Yahoo! Groups Links
      > >
      > > To visit your group on the web, go to:
      > > http://groups.yahoo.com/group/perl-beginner/
      > >
      > > To unsubscribe from this group, send an email to:
      > > perl-beginner-unsubscribe@yahoogroups.com
      > >
      > > Your use of Yahoo! Groups is subject to:
      > > http://docs.yahoo.com/info/terms/
      > >
      > >
      > >
      > >
      > >

      ______________________
      Aman Raheja
      AGF Technologies
      http://www.agftech.com
      ______________________
    Your message has been successfully submitted and would be delivered to recipients shortly.