admin newbie seeking script assistance

From: Brian Bouchard (bbouch_at_mcio.org)
Date: 08/02/04


Date: 2 Aug 2004 09:05:46 -0700

I just recently joined a group of system administrators, after working
for about 5 years in programming on OS/390.

I have been asked to write a perl script to monitor httpd daemons over
time, initially worried about the Size field in a ps -efl

I started working on this by isolating what I wanted to look for with
the following command:

ps -efl | grep "httpd -k start"

which seems to be getting what I wanted, but while I was getting this
started, it occurred to me, there must be a billion other similar
scripts out there as to what I am about to start writing.

Does anyone have anything like this? I realize it would actually be a
good learning for me to start this from scratch, but the script is
needed ASAP for aid in troubleshooting some production problems, and I
would rather not have to do this from scratch if someone else has
something that would work for our purposes and is relatively simple so
I could modify as needed.

Credit would be given to whomever helped me out. I'm not looking to
impress anyone by getting it done faster than anticipated... I just
want to have something soon so the guys working on the problem aren't
being held up by me trying to learn the ins and outs of a new
language/system.

Any and all help is appreciated



Relevant Pages

  • [NEWS] IBM Informix Web DataBlade Local Root by Design
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... that ease development of "intelligent", interactive, Web-enabled database ... person who has access to change the Perl script. ...
    (Securiteam)
  • Re: Searching for a program - any suggestions?
    ... > Among the wreckage we found a fragment on which Mike Playle had scratched: ... > way is to copy everything you want on the DVDs into a scratch area ... > and let the script play in there. ...
    (uk.comp.os.linux)
  • my perl script for ripping mp3s...aka MP3scRIPt
    ... This is a Perl script to convert audio cd tracks to mp3s. ... Possibly root privs to access the cdrom device ... - this is mainly a problem on 'variety cds', mp3 files suffering from this ill ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Perl script to mimic uniq
    ... mdfoster44@netscape.net spits TOFU in my face: ... > # Perl script to find most common CS ... > So I'm back to my original script which looks like this. ... > identify a sequence as unique. ...
    (comp.lang.perl)
  • Re: Slow Performance When Using DBI, otherwise Not
    ... If I run the same perl script on the database server itself it runs ... check versions of DBI and DBD (I greped for version on every module under ...
    (perl.dbi.users)