RE: [Perl-unix-users] RFC: Unix Sysadmin perl snippets

2003-09-29 Thread James Schappet
Hey, why not. It's always nice to see how other people think. Would something like this be needed, kill all kill `ps -ef | grep | awk '{ print $2}'` or Better yet, Read CSV File, create Temp Table in MYSQL. #!/usr/bin/perl use DBI; use Data::Dumper; my $dsn = 'dbi:mysql::localhost:3306'

Re: [Perl-unix-users] RFC: Unix Sysadmin perl snippets

2003-09-29 Thread Opeyemi . Bakare
Michael, I am a sys admin myself, albeit of a source control system. Neverthess, I wouldn't mind taking a peek at the code of which you spoke. Cheers. Opeyemi Bakare "Michael A Nachbaur" <[EMAIL PROTECTED]>@listserv.ActiveState.com on 09/29/2003 12:54:31 PM Sent by:[EMAIL PROTECTED] T

Re: [Perl-unix-users] RFC: Unix Sysadmin perl snippets

2003-09-29 Thread Michael A Nachbaur
On Monday 29 September 2003 10:14 am, Wagner, David --- Senior Programmer Analyst --- WGO wrote: > Why re-invent the wheel if some aspect of what you are doing can possibly > help others. I would enjoy seeing what is going on! Well, since I started this thread, it's only appropriate that I

RE: [Perl-unix-users] RFC: Unix Sysadmin perl snippets

2003-09-29 Thread Wagner, David --- Senior Programmer Analyst --- WGO
[EMAIL PROTECTED] wrote: > Subject: [Perl-unix-users] RFC: Unix Sysadmin perl snippets > > > Hello everyone, > > I do system administration and programming, and I rely heavily on > Perl to do both these duties. I find that, in the course of my work, > I routinely create one-off scripts - snippe