01-31-2009
Simple monitoring:
You could run a crontab file to check the load average of the server, and if the load average is higher than some number, say 3 to 5, send an email alert to the system administrator.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
On user complains about the performance of web application, as a part application support, we use following commands to see the CPU utilization in the UNIX using ‘sar' command. Some times it goes below 20 and even reaches 0.
HLW$~> sar -u 10 60
SunOS HLW 5.8 Generic_117350-14 sun4u ... (2 Replies)
Discussion started by: thinakarmani
2 Replies
2. UNIX for Dummies Questions & Answers
Hi, iam new to AIX and had a basic question.
I was asked to give a chart of CPU utilization in percentage for every hour.
where can i look for information and which column should i look at?
I would be very thankful if somebody could respond.
Thanks!
karthik (1 Reply)
Discussion started by: karthikosu
1 Replies
3. AIX
Hello everybody.
I have a problem with my AIX 5.3. Recently my unix shows a high cpu utilization with sar or topas.
I need to find what I have to do to solve this problem, in fact, I don't know what is my problem.
I had the same problem with another AIX 5.3 running the same... (2 Replies)
Discussion started by: wilder.mellotto
2 Replies
4. Shell Programming and Scripting
Dear friends,
I am doing a report daily for all most 30 more serves... i need to check out CPU utlization bu (top command, 100 - (ideal value))
and Memory utilization too
could some one help me how can i get it directly, if scripts also no problem..
i will very thankful if some one... (3 Replies)
Discussion started by: bullz26
3 Replies
5. Shell Programming and Scripting
Hi to All,
Would you please help me.
I would like to know, In Unix How to know CPU utilization for every process.
Thanks in Advance.
Thanks,
Divyang (3 Replies)
Discussion started by: div_Neev
3 Replies
6. UNIX for Dummies Questions & Answers
hi,
i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Discussion started by: pankajd
3 Replies
7. AIX
Hi All,
Can some one help me in finding % CPU Utilization ?
From VMSTAT command, How we can find % utilization ?
Thanks (3 Replies)
Discussion started by: VBudatha
3 Replies
8. Shell Programming and Scripting
I know how to check the CPU utilization and memory space
like:
vmstat
top
free
What i want ot check on my linux system is...
how much CPU are available on my system and do i need to put extra CPU.
Also need to check the hardware configuration and the space related to the same
... (3 Replies)
Discussion started by: j_panky
3 Replies
9. UNIX for Advanced & Expert Users
Hi,
any commande on AIX 6.1 that shows me total CPU utilization ?
I saw curt in documentation but there should be a trace file before.
Thank you. (1 Reply)
Discussion started by: big123456
1 Replies
10. Red Hat
Hi,
i am new to linux/RHEL 6.0 and i have two questions.
1) How to get the CPU utilization and Memory Utilization of all Services running currently?
2) How to get the CPU utilization and Memory Utilization of all Applications running currently?
Please help me to find the script.
... (2 Replies)
Discussion started by: nossam
2 Replies
LEARN ABOUT FREEBSD
atrun
ATRUN(8) BSD System Manager's Manual ATRUN(8)
NAME
atrun -- run jobs queued for later execution
SYNOPSIS
atrun [-l load_avg] [-d]
DESCRIPTION
Atrun runs jobs queued by at(1).
Root's crontab(5) file /etc/crontab has to contain the line
*/5 * * * * root /usr/libexec/atrun
so that atrun gets invoked every five minutes.
At every invocation, atrun will start all the jobs in the lowercase queues whose start time has elapsed. In addition, if the load average
over the last minute was less than the specified limit then a maximum of one batch job (denoted by the uppercase queues) is started.
Before starting a job, atrun will check the status of its owner's account with pam(3) and refuse to run the job if the account is unavail-
able, e.g., locked out or expired.
OPTIONS
-l load_avg
Specify a limiting load factor, over which batch jobs should not be run, instead of the default of 1.5 * number of active CPUs.
-d Debug; print error messages to standard error instead of using syslog(3).
WARNINGS
For atrun to work, you have to start up a cron(8) daemon.
FILES
/etc/pam.d/atrun pam.conf(5) configuration file for atrun
/var/at/jobs Directory containing job files
/var/at/spool Directory containing output spool files
SEE ALSO
at(1), crontab(1), pam(3), syslog(3), crontab(5), pam.conf(5), cron(8)
BUGS
The functionality of atrun should be merged into cron(8).
BSD
October 30, 2012 BSD