Results 1 to 2 of 2
please i'm a newbie in linux nd would like an expert show me how to develop a shell script that can determine cpu and memory usage for my distro(suse) and ...
- 01-23-2009 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 6
shell script
please i'm a newbie in linux nd would like an expert show me how to develop a shell script that can determine cpu and memory usage for my distro(suse) and get an alert if it exceeds a given limit say 95% usage.
Thanks
- 01-24-2009 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 452
welcome to the forum
> memory usage idea:
free | awk '/^Mem/{print $3/$2}'
rig yr own alarmthe sun is new every day (heraclitus)


Reply With Quote