Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I'm trying to know which user os processes is using more CPU in a IBM machine AIX 5.
I'm using this command:
ps aux | sort -r -n +2 | head -10
Ordering by CPU field of 'ps aux' command output, and getting top ten.
I'm not autorized to use top or sar command in my installation.
Anybody know any useful command to get this information.
Any advice will be greatly apreciatted.
Thanks in advance.

This link should have the information that you are looking for: http://www-128.ibm.com/developerwor...
Aroostook County Maine Computer Repair Service
http://www.thepc-emt.com

Ok, it's a good help these document. Thanks.
I have another little problem. When I execute:
ps aux | grep vtdwb | sort -r -n +2 | head -10
I get (third field CPU):
root 24588 10,3 0,0 48 40 - A 19 mar 2392:07 wait
root 20490 10,2 0,0 48 36 - A 19 mar 2368:10 wait
root 16392 10,2 0,0 48 36 - A 19 mar 2373:30 wait
root 12294 10,1 0,0 48 36 - A 19 mar 2353:57 wait
root 8196 9,7 0,0 48 36 - A 19 mar 2248:31 wait
oracle 6213680 6,0 0,0 12820 1880 pts/0 A 07:42:40 78:39 exp FILE=/tmp/l
oracle 3833988 3,9 0,0 908 840 pts/0 A 07:42:40 50:36 compress
oracle 7643336 3,6 0,0 56288 25288 - A 11:24:56 7:06 ora_p019_PDWB
oracle 7934192 3,4 0,0 55972 25108 - A 11:24:56 6:52 ora_p018_PDWB
oracle 7893114 3,0 0,0 59612 24096 - A 10:45:48 11:52 oraclePSB9 (LOCI don't know if the top five processes using each one about 10% CPU are using much CPU
and it's affecting performance. All of them are root processes. Can anybody help me?I execute vmstat command getting:
kthr memoria página errores cpu
---------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
9 3 2492220 4413 0 60 67 4117 10002 0 4692 33211 18644 37 13 40 10
19 17 2494684 4248 0 478 621 17003 64146 0 6245 83238 16908 66 34 0 0
19 16 2499169 4228 0 592 479 18588 65793 0 6077 59827 18742 64 35 0 1
23 16 2501477 4403 0 1258 555 16438 63813 0 6428 123721 18426 61 39 0 0
24 10 2498450 4843 0 708 455 15932 55476 0 7116 33173 19499 65 35 0 0
21 22 2498809 4562 0 295 1016 17309 61220 0 6558 28338 19251 66 33 0 1
18 19 2502993 4225 0 362 1018 20283 40110 0 6842 30766 20346 65 33 0 2I get an us(Average percentage of CPU time executing in the user mode about 35
and a sy (Average percentage of CPU time executing in the system mode) about 65.
it makes sense with what I obtain with ps command.Is not much CPU in system mode?, is that good or bad for system perfomance??
Any advice about CPU monitoring will be greatly appreciated.
Thanks in advance.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |