Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: ps aux and perl

by c (Hermit)
on Aug 21, 2001 at 23:15 UTC ( [id://106701]=note: print w/replies, xml ) Need Help??


in reply to ps aux and perl

I am sincerely not discouraging you from continuing down the path you are going, however one thing you might want to look into is checking to verify that the information you are wanting to parse is located within /var/log/messages or /var/log/maillog. If sendmail is logging conversations to the latter, you can use perl to read over the last n lines of that (much more specific) log and take action.
If you're looking for a good base on what others have done for the goal you're aiming towards, take a look at spamshield, which although not perfect could give you a good base to work up from.
Sorry for not answering your question directly, but I've been in your shoes and I think there might be a less intensive way to do it.

humbly -c

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-19 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found