11-07-2008
ps waux
the %cpu does not give you the actual cpu usage of the process, as shown in topas
it gives you the percentage of time the process used the cpu since it was started
you can use topas -P
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all
im working on sunos machine that dont have the top installed and can't be
install , now i need to get information similar to what top gives me about the cpu usage and so
can it be done somehow else where ? (3 Replies)
Discussion started by: umen
3 Replies
2. AIX
Hi ,
i have been usning AIX unix ,besides sar and topas what are the other commands thru which we could see the resource utilisation and CPU usage.
thanks
pushkar (3 Replies)
Discussion started by: pushkar.verma
3 Replies
3. UNIX and Linux Applications
There is a file system in server1 which is mounted on different file system on server2.
Filesystem kbytes used avail capacity Mounted on
server1:/users/user1
7047581 5994192 982914 86% /u01
/data/datafiles/user1
The data in... (1 Reply)
Discussion started by: vamshikrishnab
1 Replies
4. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
5. Red Hat
HI all,
Can anybody send me some useful links or explain about file system and its usage.As i want to know before using it.
Actually, i am going to install linux and then planning to install oracle on it.
OS -- Red hat linux 8.0
Regards,
Willaim (2 Replies)
Discussion started by: William1482
2 Replies
6. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
7. Ubuntu
I am running a Dell PE R815 with 4 x AMD 12 core CPUs with 128GB of RAM and a RAID 5 array of 6 SAS disks. This is an HPC application and is definitely CPU bound, however once I run 16 of these processes (thus pinning 16 cores) the work performed slows down dramatically, to maybe 5 or 10% of what... (2 Replies)
Discussion started by: mowmentous
2 Replies
8. UNIX for Dummies Questions & Answers
Hi all
Can anyone advise/confirm whether total CPU usage when running sar is %user+%system+%iowait or is it %user+%system only?
I want to confirm whether I am having a CPU-bound problem or not.
This is a single-CPU VMware machine.
$ sar 5 20
Linux 2.6.18-238.5.1.el5... (7 Replies)
Discussion started by: newbie_01
7 Replies
9. Linux
Hi All,
Yesterday my Linux server went panic and even a small command took a lot of time to run.
When i monitored pl find the below output
Cpu(s): 0.1%us, 98.4%sy, 0.0%ni, 1.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
the time spent on kernel mode is 98 % and also idle time is around 1.5 %...... (4 Replies)
Discussion started by: jegaraman
4 Replies
10. Shell Programming and Scripting
Hi Experts,
I am trying to write script to find the FS usage.
My requirement is first i need to gather all the mountpoint details.like below.
df -k 2> /dev/null | awk '{print "FS=" $1 "\tMP=" $6 "\tTOT(KB)=" $2 "\tUSED(KB)=" $3 }'Then I need to find which FS is using space >10GB.some thing... (1 Reply)
Discussion started by: navsan420
1 Replies
sa(8) System Manager's Manual sa(8)
Name
sa, accton - print process accounting statistics
Syntax
/etc/sa [ options ] [ file ]
/etc/accton [ file ]
Arguments
file With an argument naming an existing file, causes system accounting information for every process executed to be placed at the end
of the file. If no argument is given, accounting is turned off.
Description
The command reports on, cleans up, and generally maintains accounting files.
The is able to condense the information in into a summary file which contains a count of the number of times each command was called and
the time resources consumed. This condensation is desirable because on a large system can grow by 100 blocks per day. The summary file is
normally read before the accounting file, so the reports include all available information.
If a file name is given as the last argument, that file will be treated as the accounting file. The file is the default.
Output fields are labeled: "cpu" for the sum of user+system time (in cpu seconds), "re" for real time (also in cpu seconds), "k" for cpu-
time averaged core usage (in 1k units), "avio" for average number of I/O operations per execution. With options fields labeled "tio" for
total I/O operations, "k*sec" for cpu storage integral (kilo-core seconds), "u" and "s" for user and system cpu time alone (both in cpu
seconds) will sometimes appear.
Options
-a List all command names including those containing unprintable characters and those used only once. By default, places all command
names containing unprintable characters and those used only once under the name `***other.'
-b Sort output by sum of user and system time divided by number of calls. Default sort is by sum of user and system times.
-c Besides total user, system, and real time for each command, print percentage of total time over all commands.
-d Sort by average number of disk I/O operations.
-D Print and sort by total number of disk I/O operations.
-f Force no interactive threshold compression with option.
-i Do not read in summary file.
-j Instead of total minutes for each category, give seconds per call.
-k Sort by cpu-time average memory usage.
-K Print and sort by cpu-storage integral.
-l Separate system and user time; normally they are combined.
-m Print number of processes and number of CPU minutes for each user.
-n Sort by number of calls.
-r Reverse order of sort.
-s Merge accounting file into summary file when done.
-t For each command, report ratio of real time to the sum of user and system times. If the sum of user and system times is too small
to report, `*ignore*' appears in this field.
-u Superseding all other flags, print for each command in the accounting file the user ID and command name.
-v Followed by a number n, types the name of each command used n times or fewer. Await a reply from the terminal; if it begins with
`y', add the command to the category `**junk**.' This is used to strip out garbage.
Restrictions
Accounting is suspended when there is less than 2% free space on disk. Accounting resumes when free space rises above 4%.
Files
Raw accounting
Summary
Per-user summary
See Also
acct(2), ac(8)
sa(8)