|
Search tenon.com
Thanks to:
|
|
iTools
I have a pain in the processes
I have a pain in the processes .....This little creep is doing something to
cause my server to slow down. He's doing it to my sendmail
server.......After a while I have several processes running in sendmail like
the following:
4571 ? S 0:00 /usr/sbin/sendmail -bd -q1h
4678 ? S 0:00 /usr/sbin/sendmail -bd -q1h
5712 ? S 0:00 /usr/sbin/sendmail -bd -q1h
5981 ? S 0:00 /usr/sbin/sendmail -bd -q1h
5999 ? S 0:00 /usr/sbin/sendmail -bd -q1h
6023 ? S 0:00 /usr/sbin/sendmail -bd -q1h
6145 ? S 0:00 /usr/sbin/sendmail -bd -q1h
If I check with ps ax periodically and see this in my processes I simply
kill 4571 etc. and things speed up again. What I need to do is run an sh
script with cron to automatically Grep /usr/sbin/sendmail -bd -q1h and if
the pid is above 1000, kill it. The problem is that I really don't know how
to write it. It shouldn'nt take more than a couple of lines of code but I'm
not real good with the syntax yet..........although I am aware of what needs
to be done :o)
can any of the GURU's help with a couple of lines of code. I already sent a
band of thugs with pick axes to his place in Illinois to make green monkey
squirt of his computers but in the mean time I need to solve this little
problem :o)
any help would be appreciated
C
---
Tenon Intersystems' itools Mailing List
To unsubscribe: send mailto://itools-request@xxxxxxxxxxxxxxx
with the body: unsubscribe
|
| Tenon Home |
Products |
Order |
Contact Us |
About Tenon |
Register |
Tech Support |
Resources |
Press Room |
Mailing Lists |
|
Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara,
CA 93101. All rights reserved.
Questions about our website - Contact:
webmaster@tenon.com.
|
|