10 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. 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
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
Any reason why the "sum of all" average cpu utilization numbers collected from ps during any given time sample are "consistently" lower than the corresponding numbers reported by sar (%usr, %sys). We have a Solaris O/S 2.8.
We have been trying to correlate the CPU numbers from the sar, to the... (0 Replies)
Discussion started by: sevpert
0 Replies
7. 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
8. HP-UX
Dear All,
Our HPUX 8 GB 8CPU database server is behaving abnormally for the last 4+ weeks. I have generated a sar output and it is here-
11:46:52 %usr %sys %wio %idle
11:46:53 1 1 6 92
11:46:54 0 1 0 99
11:46:55 0 1 0... (3 Replies)
Discussion started by: Ashrunil
3 Replies
9. 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
10. UNIX for Dummies Questions & Answers
What command do you use to verify if the CPU utilization. Example. If the CPU is at 98%?
Thanks (4 Replies)
Discussion started by: kimosilk
4 Replies
sag(1) User Commands sag(1)
NAME
sag - system activity graph
SYNOPSIS
sag [-e time] [-f file] [-i sec] [-s time] [-T term] [-x spec] [-y spec]
DESCRIPTION
The sag utility graphically displays the system activity data stored in a binary data file by a previous sar(1) run. Any of the sar data
items may be plotted singly or in combination, as cross plots or versus time. Simple arithmetic combinations of data may be specified. sag
invokes sar and finds the desired data by string-matching the data column header (run sar to see what is available). The sag utility
requires a graphic terminal to draw the graph, and uses tplot(1) to produce its output. When running Solaris 2.x and OpenWindows, perform
the following steps:
1. Run an "xterm" as a Tektronics terminal: prompt# xterm -t
2. In the "xterm" window, run sag specifying a tek terminal: prompt# sag -T tek options
OPTIONS
The following options are supported and passed through to sar (see sar(1)):
-e time Select data up to time. Default is 18:00.
-f file Use file as the data source for sar. Default is the current daily data file /usr/adm/sa/sadd.
-i sec Select data at intervals as close as possible to sec seconds.
-s time Select data later than time in the form hh[:mm]. Default is 08:00.
-T term Produce output suitable for terminal term. See tplot(1) for known terminals. Default for term is $TERM.
-x spec x axis specification with spec in the form:
name[op name]...[lo hi]
name is either a string that will match a column header in the sar report, with an optional device name in square brackets, for
example, r+w/s[dsk-1], or an integer value. op is + - * or / surrounded by blank spaces. Up to five names may be specified.
Parentheses are not recognized. Contrary to custom, + and - have precedence over * and /. Evaluation is left to right. Thus,
A/A+B*100 is evaluated as (A/(A+B))*100, and A+B/C+D is (A+B)/(C+D). lo and hi are optional numeric scale limits. If unspecified,
they are deduced from the data.
Enclose spec in double-quotes ("") if it includes white space.
A single spec is permitted for the x axis. If unspecified, time is used.
-y spec y axis specification with spec in the same form as for -x. Up to 5 spec arguments separated by a semi-colon (;) may be given for
-y. The -y default is:
-y"%usr0100;%usr+%sys0100;%usr+%sys+%wio0100"
EXAMPLES
Example 1: Examples of the sag command.
To see today's CPU utilization:
example$ sag
To see activity over 15 minutes of all disk drives:
example$ TS=`date +%H:%M`
example$ sar -o /tmp/tempfile 60 15
example$ TE=`date +%H:%M`
example$ sag -f /tmp/tempfile -s $TS -e $TE -y "r+w/s[dsk]"
FILES
/usr/adm/sa/sadd daily data file for day dd
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWaccu |
+-----------------------------+-----------------------------+
SEE ALSO
sar(1), tplot(1), attributes(5)
SunOS 5.10 4 Mar 1998 sag(1)