Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resources monitor and forking processes

Status
Not open for further replies.

caspa

Programmer
Mar 8, 2003
1
US
So resources are low, and I want to send myself email of the current resource hogs. I used

top -b | mail monitor@domain.com

but this process is forking and I don't want another process to be starting since I am low on resources. Then how do I set up a monitor without forking another process? I guess the only other process I would have to start might be that of a script itself. Right now, I am reading some C & Perl socket programming hoping some answers pop up.

thanks

Caspa
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top