I have a problem with my HP-UX (UNIX) server Recently my unix shows a high cpu utilization and idle = 0% ,checked using sar command
I need to find what I have to do to solve this problem, in fact, I don't know what is my problem.
Mentioned below is the sar command output.
Please, help me to find what process is consuming too much space
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)
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)
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)
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)
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)
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)
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)
I am working in C,C++ Telecom Provisioning application which is running in LINUX Red Hat Server. My application is running with several process like scmng,scspf, etc..
We have Log level setting for each process like 0,5,10,20.
If I set the FLOW level as 0, then it will not print any log info in... (1 Reply)
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 XFREE86
sag
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)