免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1855 | 回复: 7
打印 上一主题 下一主题

[故障求助] ps的怪问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-18 21:13 |只看该作者 |倒序浏览
我新装了很多机器,有一台机器运行ps命令很慢,一行一行跳出来,什么原因?
请高手指点一下。

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2003-06-19 08:30 |只看该作者

ps的怪问题

可以检查一下资源情况!

还有如果是在终端上,这也是正常的!

论坛徽章:
0
3 [报告]
发表于 2003-06-19 10:22 |只看该作者

ps的怪问题

资源没有问题,其他的命令都很快,包括数据库操作,在控制台上也很慢。

论坛徽章:
0
4 [报告]
发表于 2003-06-19 10:30 |只看该作者

ps的怪问题

把ps的结果贴上来!还有df ,还有vmstat的!

论坛徽章:
0
5 [报告]
发表于 2003-06-19 11:26 |只看该作者

ps的怪问题

# vmstat 2 5
kthr     内存               页              故障          cpu     
----- ----------- ------------------------ ------------ -----------
r  b   avm   fre  re  pi  po  fr   sr  cy  in   sy  cs us sy id wa
1  1 376771 20079   0   0   0   0    0   0 143  548  79  2  1 98  0
0  0 376777 20073   0   0   0   0    0   0 155 1406 100  0  7 92  0
0  0 376777 20073   0   0   0   0    0   0 142 1461  78  0  2 97  0
0  0 376777 20073   0   0   0   0    0   0 149 1276  92  1  3 96  0
0  0 376451 20399   0   0   0   0    0   0 154 1470 136  2  2 96  0


# df -k
文件系统          1024 块      空闲 已使用%   i-使用 i-使用%     安装于
/dev/hd4          1048576   1040660      1%     1397      1% /
/dev/hd2          8126464   2178272     74%   199591     29% /usr
/dev/hd9var       1048576   1040980      1%      472      1% /var
/dev/hd3           524288    522408      1%       75      1% /tmp
/dev/hd1          3145728   1274836     60%     3880      2% /home
/proc                   -         -      -         -      -  /proc
/dev/hd10opt       524288    516696      2%      324      1% /opt
/dev/cd0           629928         0    100%   314964    100% /cdrom


# ps -ef      
     UID     PID    PPID  C         STIME    TTY  TIME CMD
    root       1       0   0        5月28      -  0:22 /etc/init
    root   82058       1   0        5月28      -  0:00 /usr/dt/bin/dtlogin -daemon
    root  114778  204854   0        5月28      -  0:06 /usr/sbin/rsct/bin/rmcd -r
    root  122968       1   0        5月28      - 23:11 /usr/sbin/syncd 60
db2inst1  131290  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
    root  147584  163910   0        5月28      -  0:03 /usr/dt/bin/dtsession
    root  155716       1   0        5月28      -  0:00 /usr/lib/errdemon
    root  163910   82058   0        5月28      -  0:00 dtlogin <:0>;        -daemon
    root  172106   82058   0        5月28      -  3:27 /usr/lpp/X11/bin/X -D /usr/lib/X11//rgb -T -force :0 -auth /var/dt/A:0-6pqi
    root  188462       1   0        5月28      -  0:00 /usr/ccs/bin/shlap64
    root  204854       1   0        5月28      -  0:00 /usr/sbin/srcmstr
db2inst1  213044  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
    root  229504       1   0        5月28      -  0:02 /usr/sbin/cron
    root  237628  204854   0        5月28      -  0:00 /usr/sbin/syslogd
    root  245820  204854   0        5月28      -  0:03 sendmail: accepting connections
    root  254014  204854   0        5月28      -  0:00 /usr/sbin/portmap
    root  262208  204854   0        5月28      -  0:00 /usr/sbin/inetd
    root  270402  204854   0        5月28      -  0:11 /usr/sbin/snmpd
    root  278596  204854   0        5月28      -  0:00 /usr/sbin/dpid2
    root  286790  204854   0        5月28      -  0:01 /usr/sbin/hostmibd
    root  311334 1048706   0        6月12  pts/1  0:00 /usr/bin/ksh
  daemon  319572  204854   0        5月28      -  0:00 /usr/sbin/rpc.statd
    root  327764  204854   0        5月28      -  0:00 /usr/sbin/biod 6
    root  335962  204854   0        5月28      -  0:00 /usr/sbin/rpc.lockd
    root  344158       1   0        5月28      -  0:00 /usr/sbin/uprintfd
    root  360540  204854   0        5月28      -  0:00 /usr/sbin/qdaemon
    root  368738  204854   0        5月28      -  0:00 /usr/sbin/writesrv
    root  376958       1   0        5月28      -  0:00 db2wdog
    root  385126       1   0        5月28   lft0  0:00 /usr/sbin/getty /dev/console
  imnadm  393324       1   0        5月28      -  0:00 /usr/IMNSearch/httpdlite/httpdlite -r /etc/IMNSearch/httpdlite/httpdlite.co
    root  417896       1   0        5月28      -  0:00 /usr/lpp/diagnostics/bin/diagd
    root  450674       1   0        5月28      -  0:00 /usr/bin/itesmdem itesrv.ini /etc/IMNSearch/search/
    root  458898  204854   0        5月28      -  0:06 /usr/sbin/rsct/bin/IBM.CSMAgentRMd
db2inst1  467152  508062   0        6月03      -  0:01 db2loggr (WEBDB)
    root  475254  204854   0        5月28      -  0:02 /usr/sbin/rsct/bin/ctcasd
db2inst1  483460  376958   0        5月28      -  0:02 db2sysc
    root  491646  204854   0        5月28      -  0:02 /usr/sbin/rsct/bin/IBM.AuditRMd
    root  499838  204854   0        5月28      -  0:02 /usr/sbin/rsct/bin/IBM.ERrmd
db2inst1  508062  483460   0        5月28      -  0:00 db2gds
db2inst1  516228  483460   0        5月28      -  0:02 db2tcpcm
   db2as  524432  532614   0        5月28      -  0:00 db2tcpdm
   db2as  532614  589980   0        5月28      -  0:04 db2sysc
   db2as  540806  532614   0        5月28      -  0:00 db2gds
   db2as  549006  532614   0        5月28      -  0:00 db2tcpcm
db2inst1  557202  483460   0        5月28      -  0:00 db2ipccm
    root  565392  204854   0        5月28      -  0:02 /usr/sbin/rsct/bin/IBM.ServiceRMd
   db2as  573584  532614   0        5月28      -  0:00 db2ipccm
    root  589980       1   0        5月28      -  0:00 db2wdog
db2inst1  598176  508062   0        5月28      -  0:00 db2resyn
   db2as  606356  540806   0        5月28      -  0:00 Scheduler
db2inst1  614550  508062   0        5月28      -  0:00 db2srvlst
db2inst1  622744  483460   0        5月28      -  0:00 db2spmrm
db2inst1  630938  508062   0        5月28      -  0:00 db2spmlw
db2inst1  639136  508062   0        6月03      -  0:00 db2pfchr
db2inst1  647330  508062   0        6月03      -  0:00 db2pfchr
db2inst1  655560  508062   0        6月03      -  0:09 db2dlock (WEBDB)
db2inst1  663740  516228   0 12时16分59秒      -  0:00 db2agent (hop)
db2inst1  671980  516228   0 11时23分19秒      -  0:00 db2agent (ASWEBDB)
db2inst1  680132 1122520   0 12时08分37秒  pts/4  0:00 db2
db2inst1  688294  516228   0 11时41分40秒      -  0:00 db2agent (hop)
db2inst1  696488  516228   0 12时00分38秒      -  0:00 db2agent (ASWEBDB)
db2inst1  704626  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
    root  712952  262208   0 21时06分39秒      -  0:00 telnetd -a
db2inst1  721140  508062   0        6月03      -  0:21 db2pfchr
    root  729212 1614022   0 11时48分54秒  pts/7  0:00 sh ./startWebLogic.sh
db2inst1  737290  516228   0 12时01分10秒      -  0:00 db2agent (ASWEBDB)
    root  745486  147584   0        5月28      -  1:55 dtwm
db2inst1  753732  516228   0        6月17      -  0:00 db2agent (hop)
db2inst1  761910  516228   0        6月18      -  0:00 db2agent (ASWEBDB)
db2inst1  770134  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
    root  786644       1   0        5月28      -  0:06 /usr/dt/bin/ttsession -s
    root  794858  262208   0        5月28      -  0:00 rpc.ttdbserver 100083 1
db2inst1  802822  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
db2inst1  811054  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
db2inst1  819332  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
db2inst1  827584  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
db2inst1  835814  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
    root  852014  745486   0        6月12      -  0:00 /usr/dt/bin/dtexec -open 0 -ttprocid 2._r5-F 01 786644 1342177279 1 1 0 200
db2inst1  860252  516228   0        6月18      -  0:00 db2agent (ASWEBDB)
db2inst1  884832  516228   0 10时23分18秒      -  0:00 db2agent (ASWEBDB)
    root  893138       1   0 11时48分33秒      -  0:00 sh ./startWebLogic.sh
db2inst1  901316  516228   0 11时50分30秒      -  0:00 db2agent (ASWEBDB)
db2inst1  909440  516228   0 11时46分42秒      -  0:00 db2agent (hop)
db2inst1  917552  516228   0 12时00分38秒      -  0:00 db2agent (ASWEBDB)
    root  925938  262208   0 11时55分03秒      -  0:00 telnetd -a
    root  934090  729212   0 11时48分54秒  pts/7  1:18 /usr/bea/jdk131/bin/java -Xms32m -Xmx200m -Dweblogic.security.SSL.trustedCA
db2inst1  942196  516228   0 16时10分30秒      -  0:00 db2agent (hop)
db2inst1  958704  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
db2inst1  966742  516228   0 11时53分44秒      -  0:00 db2agent (hop)
db2inst1  975010  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
    root  983214  262208   0        6月17      -  0:00 telnetd -a
db2inst1  991442  516228   0 12时01分10秒      -  0:00 db2agent (ASWEBDB)
db2inst1  999460  516228   0 11时50分30秒      -  0:00 db2agent (ASWEBDB)
    root 1007862 1507352  87 12时19分33秒  pts/5  0:00 ps -ef
    root 1016028 1589248   0 12时18分22秒      -  0:00 /usr/dt/bin/dtscreen
db2inst1 1024110  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1032396  516228   0 12时17分26秒      -  0:00 db2agent (idle)
db2inst1 1040406  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
    root 1048706  852014   0        6月12      -  6:57 /usr/dt/bin/dtterm
db2inst1 1065040  516228   0        6月17      -  0:08 db2agent (ASWEBDB)
db2inst1 1073358  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1081402  508062   0        6月03      -  0:00 db2pclnr
db2fenc1 1089558  483460   0        5月28      -  0:00 db2dari (1220836)
    root 1097804 1245316   0 10时57分06秒  pts/1  0:00 ksh /bin/wsm
db2fenc1 1105942  483460   0        5月28      -  0:00 db2dari (113060
db2inst1 1114282  516228   0        6月18      -  0:00 db2agent (hop)
db2inst1 1122520 1212434   0 12时08分33秒  pts/4  0:00 -ksh
db2inst1 1130696       1   0 12时08分37秒      -  0:00 /home/db2inst1/sqllib/bin/db2bp 1122520C202 5
db2inst1 1138834  516228   0 11时09分44秒      -  0:00 db2agent (ASWEBDB)
db2fenc1 1155310  483460   0        6月05      -  0:00 db2dari (138447
db2inst1 1163402  516228   0 12时16分58秒      -  0:00 db2agent (hop)
    root 1171690  204854   0 10时57分19秒      -  0:01 java -Xmx128m -DMessageLang=C -Ddisplay=wztest:0.0 -DWINDOWID= -DWEBSM_ALL_
db2inst1 1179872  516228   0 10时23分18秒      -  0:00 db2agent (hop)
db2inst1 1187928  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1196084  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
    root 1212434 1638438   0 21时06分44秒  pts/4  0:00 bash
    root 1220846 1663158   0        6月12  pts/0  0:00 /usr/bin/ksh
db2fenc1 1229054  483460   0        6月12      -  0:00 db2dari (69648
db2inst1 1237144  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
    root 1245316  311334   0        6月12  pts/1  0:00 bash
    root 1261762  983214   0        6月17  pts/7  0:00 -ksh
db2inst1 1278164  516228   0 11时09分44秒      -  0:00 db2agent (hop)
db2inst1 1286244  516228   0 12时16分58秒      -  0:00 db2agent (ASWEBDB)
db2fenc1 1294414  483460   0        6月06      -  0:00 db2dari (157290
db2inst1 1302780  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
    root 1310876 1220846   0        6月12  pts/0  0:00 bash
db2inst1 1319118  516228   0 12时17分26秒      -  0:00 db2agent (idle)
db2inst1 1327248  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1335400  516228   0 11时50分04秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1343736  516228   0 12时16分59秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1351738  516228   0        6月18      -  0:00 db2agent (ASWEBDB)
    root 1360056  262208   0 20时29分39秒      -  0:00 telnetd -a
db2inst1 1368290  516228   0 11时50分30秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1376372  516228   0 11时28分41秒      -  0:00 db2agent (hop)
db2inst1 1392718  516228   0 21时05分50秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1401028  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1409278  516228   0 11时23分19秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1417412  516228   0 10时39分22秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1425498  516228   0 11时01分09秒      -  0:00 db2agent (hop)
    root 1433684 1097804   0 10时57分06秒  pts/1  0:14 java -Xmx128m -DMessageLang=Zh_CN -Ddisplay=wztest:0.0 -DWINDOWID=50331704
db2inst1 1441890  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1449998  516228   0 16时10分30秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1466554  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1482940  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1499322  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
    root 1507352  925938   0 11时55分03秒  pts/5  0:00 -ksh
db2fenc1 1515634  483460   0        6月11      -  0:00 db2dari (1073320)
db2inst1 1523904  516228   0 11时01分09秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1531916  516228   0        6月18      -  0:00 db2agent (hop)
db2inst1 1540276  516228   0 11时46分42秒      -  0:00 db2agent (ASWEBDB)
    root 1548418 1360056   0 20时29分39秒  pts/2  0:00 -ksh
db2inst1 1564852  516228   0 12时09分05秒      -  0:00 db2agent (hop)
db2inst1 1573006  516228   0 11时53分44秒      -  0:00 db2agent (ASWEBDB)
    root 1589248  147584   0 12时18分22秒      -  0:00 /usr/dt/bin/dtexec -open 0 -ttprocid 1._r5-F 01 786644 1342177279 1 1 0 200
db2inst1 1597542  516228   0        6月18      -  0:00 db2agent (hop)
db2inst1 1605814  516228   0 20时27分21秒      -  0:00 db2agent (hop)
    root 1614022 1261762   0        6月17  pts/7  0:00 bash
db2inst1 1622264  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1630448  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
    root 1638438  712952   0 21时06分40秒  pts/4  0:00 -ksh
db2inst1 1646676  516228   0 11时28分41秒      -  0:00 db2agent (ASWEBDB)
    root 1654950  745486   0        6月12      -  0:00 /usr/dt/bin/dtexec -open 0 -ttprocid 2._r5-F 01 786644 1342177279 1 1 0 200
    root 1663158 1654950   0        6月12      -  0:19 /usr/dt/bin/dtterm
db2inst1 1687720  516228   0 11时50分29秒      -  0:00 db2agent (ASWEBDB)
db2inst1 1712316  516228   0 11时50分30秒      -  0:00 db2agent (hop)
db2inst1 1720366  516228   0 10时39分22秒      -  0:00 db2agent (hop)
    root 1745064  893138   1 11时48分33秒      -  1:09 /usr/bea/jdk131/bin/java -Xms32m -Xmx200m -Dweblogic.security.SSL.trustedCA
db2inst1 1753130  516228   0 11时41分40秒      -  0:00 db2agent (ASWEBDB)

论坛徽章:
0
6 [报告]
发表于 2003-06-19 16:22 |只看该作者

ps的怪问题

顶一下

论坛徽章:
0
7 [报告]
发表于 2003-06-19 16:26 |只看该作者

ps的怪问题

你的console是图形的,还是接在串口上的字符终端.
若接在串口上慢一些是正常的.

论坛徽章:
0
8 [报告]
发表于 2003-06-23 10:28 |只看该作者

ps的怪问题

直接连显卡的终端。串口的话我也不用问了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP