04-11-2012
Looking for shell script to monitor CPU utilization and send mail once exceed 75%
Dear Group,
I'm look for shell script to Monitor CPU usage and send mail once it exceed 75% I'm running Suse10.4.
10 More Discussions You Might Find Interesting
1. Emergency UNIX and Linux Support
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
I am stuck and worried. My assignment was due a day ago and I was too busy completing other assignments due during the same time. I worry that not completing this assignment... (1 Reply)
Discussion started by: vin8465
1 Replies
2. Homework & Coursework Questions
I am stuck and worried. My assignment was due a day ago and I was too busy completing other assignments due during the same time. I worry that not completing this assignment will fail me. Need urgent help in completing the script asap. I dont want to sound pushy to get the answer but just wanted to... (10 Replies)
Discussion started by: vin8465
10 Replies
3. UNIX for Dummies Questions & Answers
I can use top to see the overall cpu utilization in the system but i m using a system with 24 cores .How would i monitor each core utilization ?
The system is used as Oracle VM Server for Virtualization.
My distribution details.
# lsb_release -a
LSB Version: ... (8 Replies)
Discussion started by: pinga123
8 Replies
4. Shell Programming and Scripting
Hi All
Need help
Can any one share a basic script that is used for monitor sendmail service whether online, offline.etc in solaris
Thanks in advance
Zimmy (5 Replies)
Discussion started by: zimmyyash
5 Replies
5. Shell Programming and Scripting
Hi,
I am relatively new to the cluster administration and shell scripting. I need help on a shell script which can help me determine how many cpu's over time, any particular ( or all registered users on a cluster ) are using. To generate data say over a period of week and list of users and their... (6 Replies)
Discussion started by: anuj06
6 Replies
6. UNIX for Advanced & Expert Users
Hi ,
I am new to scripting. please help me out how to write a script to monitor cpu , vmstat, iostat in Redhat linux. we are doing the load test.
Thanks in advance !!!! (1 Reply)
Discussion started by: saanvi
1 Replies
7. Shell Programming and Scripting
Hi,
Linux redhat 5.5
I need to write a kshell script that shows all the process that consume 100% CPU (or more. strange but there are time that top shows higger value that 100) and they are active more than 5 minute.
The top command shows all the relevat information:
The PID of the cpu ,... (0 Replies)
Discussion started by: yoavbe
0 Replies
8. Shell Programming and Scripting
Hi
I want to monitor a file even if the file rotate. When a text occurs I want to send a mail.
Something like this but it's not working correctly:
tail -F mylog.log | grep 'MatchMe' |
while read line
do
echo $(date +"%Y-%m-%d %H:%M:%S") MatchMe occurs | mail -s "MatchMe"... (1 Reply)
Discussion started by: chitech
1 Replies
9. Shell Programming and Scripting
I want to monitor the diskspace of the /home/ directory NOT to exceed 80%.
I want a script_file.sh for this.
I am trying "df -h" command and I am stuck unable to extract the percentage.
1. HOW TO extract the percentage (I believe 5th column)?
2. IF we were able to extract the column,... (8 Replies)
Discussion started by: Shreyas N
8 Replies
10. Shell Programming and Scripting
I want to monitor the maillog file in real time and send a mail when a certain grep condition is met. Every time the grep condition is met a mail will be sent. I wish to ignore all grep conditions 30 mins after each mail and thereafter continue monitoring.
For example:
Condition is met, mail... (1 Reply)
Discussion started by: proactiveaditya
1 Replies
LEARN ABOUT OPENSOLARIS
gnome-system-monitor
gnome-system-monitor(1) User Commands gnome-system-monitor(1)
NAME
gnome-system-monitor - view system processes and monitor system usage on your computer
SYNOPSIS
gnome-system-monitor [gnome-std-options]
DESCRIPTION
The System Monitor application displays a list of system processes, and monitors system usage. System Monitor shows which processes are
running and how the processes are related.
System Monitor also provides detailed information about individual processes, and enables the user to control which processes are running.
System Monitor displays how much processor (CPU) capacity the system is using, and how much disk space the system is using on each device.
System Monitor displays this information in a graphical interface so that users can see what the system is doing. Users can then use the
same graphical interface to modify the behavior of the system.
OPTIONS
The following options are supported:
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
OPERANDS
None.
EXAMPLES
Example 1: Launching the System Monitor
example% gnome-system-monitor
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of gnome-system-monitor: NLSPATH.
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gnome-system-monitor Executable for System Monitor.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-system-monitor |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
System Monitor Manual
Latest version of the GNOME Desktop User Guide for your platform.
attributes(5), environ(5), gnome-std-options(5)
NOTES
You may disable System Monitor at SunRay. Because this application use /proc and keep polling for information, they may adversely effect
the performance of the system. But we will not change the default behavior and configuration for SunRay, if it give big impact to SunRay
performance, administrators should disable them by using gconfd/APOC.
The method to disable Monitor applet:
They may use Gnome lockdown features to modify the mandatory settings of the Gnome configuration on their servers to add that applet iden-
tifier to the list of disabled applets. you may use the following command (Note: Depending on when this is set, a logout may be required
to take effect) %gconftool-2 --type list --list-type string --set /apps/panel/global/disabled_applets [OAFIID:GNOME_MultiLoadApplet]
The method to disable Monitor application:
You may just remove the package containing it on their servers, or just change the permissions on the binary: %chmod 700 /bin/gnome-system-
monitor.
Written by Niall Power, Sun Microsystems Inc., 2003. Updated by Henry Zhang, Sun Microsystems Inc., 2006.
SunOS 5.11 1 Oct 2003 gnome-system-monitor(1)