- 论坛徽章:
- 0
|
solaris下如何查看各個進程所佔用的cpu,在用vmstat 3 3指令後,發現系統消息如下:
procs memory page disk faults cpu
r b w swap free re mf pi po fr de sr s6 sd sd -- in sy cs us sy id
0 8 0 2386888 331832 22 156 86 2 1 0 0 0 193 0 0 533 577 794 7 4 90
0 10 0 2288832 188408 2 2 26 0 0 0 0 0 170 0 0 537 1130 807 22 5 73
0 9 0 2288720 188248 8 28 16 0 0 0 0 0 187 0 0 571 751 842 11 3 87
server剛重新啟動過,所有進程如下,是甚麼原因導致如此,該如何解決呢 ?
UID PID PPID C STIME TTY TIME CMD
oot 0 0 0 09:18:55 ? 0:01 sched
oot 1 0 0 09:18:56 ? 0:00 /etc/init -
oot 2 0 0 09:18:56 ? 0:00 pageout
oot 3 0 1 09:18:56 ? 0:17 fsflush
oot 63 1 0 09:19:01 ? 0:00 devfsadmd
oot 339 336 0 09:29:08 ? 0:00 /usr/lib/saf/ttymon
oot 313 1 0 09:29:07 ? 0:00 /usr/lib/nfs/mountd
oot 53 1 0 09:19:00 ? 0:00 /usr/lib/sysevent/syseventd
oot 55 1 0 09:19:00 ? 0:00 /usr/lib/sysevent/syseventconfd
oot 336 1 0 09:29:08 ? 0:00 /usr/lib/saf/sac -t 300
oot 62 1 0 09:19:01 ? 0:02 /usr/lib/picl/picld
oot 189 1 0 09:23:33 ? 0:00 /usr/lib/autofs/automountd
oot 178 1 0 09:23:33 ? 0:00 /usr/lib/nfs/lockd
oot 282 1 0 09:29:06 ? 0:00 /usr/lib/inet/xntpd
mon 179 1 0 09:23:33 ? 0:00 /usr/lib/nfs/statd
oot 145 1 0 09:23:33 ? 0:00 /usr/sbin/rpcbind
oot 177 1 0 09:23:33 ? 0:00 /usr/sbin/inetd -s
oot 337 1 0 09:29:08 console 0:00 /usr/lib/saf/ttymon -g -h -p klpg
nsole login: -T sun -d /dev/console -l c
oot 201 1 0 09:23:34 ? 0:00 /usr/sbin/syslogd
oot 226 1 0 09:29:04 ? 0:00 /usr/lib/lpsched
oot 218 1 0 09:23:34 ? 0:00 /usr/sbin/cron
oot 220 1 0 09:23:34 ? 0:00 /usr/sbin/nscd
oot 256 1 0 09:29:04 ? 0:00 /usr/sbin/vold
oot 253 1 0 09:29:04 ? 0:00 /usr/sadm/lib/smc/bin/smcboot
oot 248 1 0 09:29:04 ? 0:00 /usr/lib/utmpd
oot 254 253 0 09:29:04 ? 0:00 /usr/sadm/lib/smc/bin/smcboot
oot 349 323 0 09:29:12 ? 0:00 mibiisa -r -p 32793
oot 262 1 0 09:29:05 ? 0:00 /usr/lib/sendmail -bd -q15m
oot 350 177 0 09:29:15 ? 0:00 in.telnetd
oot 315 1 0 09:29:07 ? 0:00 /usr/lib/nfs/nfsd -a 16
oot 323 1 0 09:29:07 ? 0:00 /usr/lib/snmp/snmpdx -y -c /etc/s
onf
oot 330 1 0 09:29:08 ? 0:00 /usr/lib/dmi/snmpXdmid -s klpgm1
oot 329 1 0 09:29:08 ? 0:00 /usr/lib/dmi/dmispd
oot 292 1 0 09:29:06 ? 0:00 /usr/dt/bin/dtlogin -daemon
oot 1518 177 0 09:59:03 ? 0:00 in.telnetd
oot 352 350 0 09:29:23 pts/1 0:00 -csh
min 651 1 0 09:38:30 ? 0:05 /export/home/nsadmin/bin/nsd -c /
t/home/nsadmin/klpgm1.ini
cle 531 1 0 09:32:43 ? 0:03 ora_lgwr_klt
cle 421 1 0 09:30:43 ? 0:01 /oracle/OraHome1/bin/tnslsnr LIST
-inherit
cle 533 1 0 09:32:43 ? 0:00 ora_ckpt_klt
oot 5063 2150 0 10:44:58 pts/3 0:00 ps -ef
sys 1520 1518 0 09:59:04 pts/2 0:00 -csh
cle 523 1 0 09:32:33 ? 0:00 ora_pmon_klt
cle 657 651 0 09:39:23 ? 0:01 oracleklt (DESCRIPTION=(LOCAL=YES
RESS=(PROTOCOL=beq)))
cle 529 1 0 09:32:42 ? 0:00 ora_dbw0_klt
cle 535 1 0 09:32:43 ? 0:01 ora_smon_klt
cle 537 1 0 09:32:43 ? 0:00 ora_reco_klt
cle 539 1 0 09:32:43 ? 0:00 ora_s000_klt
cle 541 1 0 09:32:43 ? 0:00 ora_d000_klt
cle 543 1 0 09:32:43 ? 0:00 ora_arc0_klt
cle 793 1 0 09:41:58 ? 0:01 oracleklt (DESCRIPTION=(LOCAL=no)
ESS=(PROTOCOL=BEQ)))
oot 2148 177 0 10:14:55 ? 0:00 in.telnetd
cle 653 651 0 09:39:19 ? 0:00 oracleklt (DESCRIPTION=(LOCAL=YES
RESS=(PROTOCOL=beq)))
sys 2150 2148 0 10:14:55 pts/3 0:00 -csh
oot 5062 1520 0 10:44:53 pts/2 0:00 csh
cle 3653 1 0 10:31:27 ? 0:00 oracleklt (DESCRIPTION=(LOCAL=no)
ESS=(PROTOCOL=BEQ))) |
|