aix topas查看进程cpu使用率为什么跟ps 查看cpu使用率不一样

[复制链接]
查看11 | 回复3 | 2012-1-4 11:58:44 | 显示全部楼层 |阅读模式
PAGING MEMORY
DiskBusy% KBPS TPS KB-Read KB-WritFaults 8631Real,MB 78848
power139 29.01.6K 65.0 1.4K224.0Steals0% Comp 81
power110 34.01.6K 75.0 1.4K164.0PgspIn0% Noncomp 5
power111 32.01.6K 74.0 1.4K144.0PgspOut 0% Client5
power117 38.01.6K 67.0 1.4K148.0PageIn2
power119 31.01.5K 60.0 1.4K116.0PageOut12PAGING SPACE
power112 35.01.5K 70.0 1.4K132.0Sios 15Size,MB 32768
power116 35.01.5K 67.0 1.4K152.0
% Used6
power113 43.01.5K 74.0 1.4K132.0NFS (calls/sec)% Free 90
ServerV2 0
Name
PIDCPU%PgSp Owner ClientV2 0 Press:
oracle2728462 4.2 5.7 oracle
ServerV3 0 "h" for help
oracle1491650 3.9 7.3 oracle
ClientV3 0 "q" to quit
oracle 902724 3.7 5.4 oracle
oracle 594034 2.1 5.2 oracle
oracle1435392 2.0 5.1 oracle
oracle2401752 2.0 5.2 oracle
oracle 397596 2.0 5.8 oracle
oracle1099482 2.0 5.1 oracle
oracle1558220 2.0 4.4 oracle
oracle1905060 2.0 5.2 oracle
ps aux |head -1 ;ps aux |sort -rn +2 |head -10

USER PID %CPU %MEM SZRSSTTY STATSTIMETIME COMMAND
root 223860.80.0384384- AOct 28 298653:06 wait
root 221180.80.0384384- AOct 28 297855:14 wait
root 218500.80.0384384- AOct 28 298328:43 wait
root 215820.80.0384384- AOct 28 294744:49 wait
root 213140.80.0384384- AOct 28 292840:41 wait
root 210460.80.0384384- AOct 28 289648:49 wait
root 207780.80.0384384- AOct 28 287655:18 wait
root 182880.80.0384384- AOct 28 305430:12 wait
root 180200.80.0384384- AOct 28 304600:34 wait

回复

使用道具 举报

千问 | 2012-1-4 11:58:44 | 显示全部楼层
topas中的进程情况是按照cpu排序的
你的ps中是按照pid排序的
回复

使用道具 举报

千问 | 2012-1-4 11:58:44 | 显示全部楼层
xifenfei 发表于 2012-2-2 13:08
topas中的进程情况是按照cpu排序的
你的ps中是按照pid排序的

ps aux |head -1 ;ps aux |sort -rn +2 |head -10
按第三列排序了啊
回复

使用道具 举报

千问 | 2012-1-4 11:58:44 | 显示全部楼层
根本不是排序问题!!! 这个两个工具的算法本身就不一样
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行