View Single Post
  #1   (View Single Post)  
Old 18th July 2008
bigb89 bigb89 is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 69
Default Script to mail me resources usage?

Hi guys,

How can I make a script that will pretty much run "top" (or any other commands that show resource usage) and then get the output from that command and email me the output every four hours?

I know that this may seem like a simple script, but I just don't know yet how to get the output from "top" and then mail that.

Thanks in advance!
Reply With Quote