主要通过以下两条命令进行观察,单位为K
RSS表示the amount of real memory size of the process (in 1KB units).
# ps aux | head -1 ; ps aux | sort -rn +3 | head
USER PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND
oracle 52494 0.2 7.0 140888 66980 - A Mar 06 8:41 oracleora10g (LOC
root 60138 0.2 5.0 98760 49452 - A Mar 06 7:00 /usr/java5/bin/ja
oracle 56508 0.0 5.0 95268 41816 - A Mar 06 0:07 oracleora10g (LOC
oracle 39084 0.0 5.0 114560 44312 - A Mar 06 0:13 oracleora10g (LOC
oracle 37294 0.0 5.0 92712 42068 - A 00:16:10 0:00 oracleora10g (DES
oracle 34844 0.1 5.0 95332 42028 - A Mar 04 3:52 ora_cjq0_ora10g
oracle 33816 0.0 5.0 95108 41844 - A Mar 04 0:52 ora_smon_ora10g
oracle 30052 0.0 5.0 93136 42492 - A 03:42:42 0:00 oracleora10g (LOC
oracle 63900 0.0 4.0 93116 38556 - A Mar 06 0:04 ora_j004_ora10g
oracle 63086 0.0 4.0 92528 38068 - A Mar 06 0:00 oracleora10g (LOC
# ps -ealf | head -1 ; ps -ealf | sort -rn +9 | head
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD
240001 A oracle 52494 1 0 60 20 f30e 140888 Mar 06 - 8:41 oracleora10g (LOCAL=NO)
240001 A oracle 39084 1 0 60 20 27c3 114560 70e4d474 Mar 06 - 0:13 oracleora10g (LOCAL=NO)
240001 A oracle 39996 1 0 60 20 15795 107572 Mar 04 - 0:47 ora_lgwr_ora10g
242001 A root 60138 1 0 60 20 f38d 98760 * Mar 06 - 7:00 /usr/java5/bin/java -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/usr/apache-tomcat-6.0.16/conf/logging.properties -Djava.endorsed.dirs=/usr/apache-tomcat-6.0.16/endorsed -classpath :/usr/apache-tomcat-6.0.16/bin/bootstrap.jar -Dcatalina.base=/usr/apache-tomcat-6.0.16 -Dcatalina.home=/usr/apache-tomcat-6.0.16 -Djava.io.tmpdir=/usr/apache-tomcat-6.0.16/temp org.apache.catalina.startup.Bootstrap start
240001 A oracle 47748 1 0 60 20 1c49d 97448 Mar 06 - 0:00 ora_o000_ora10g
240001 A oracle 39254 1 0 60 20 6766 97172 Mar 04 - 2:37 ora_pmon_ora10g
240001 A oracle 36124 1 0 60 20 1d7bd 95716 Mar 04 - 2:12 ora_mmon_ora10g
240001 A oracle 34844 1 0 60 20 157b5 95332 Mar 04 - 3:52 ora_cjq0_ora10g
240001 A oracle 33302 1 0 60 20 d78d 95292 Mar 04 - 0:50 ora_dbw0_ora10g
240001 A oracle 56508 1 0 60 20 9c48 95268 70e7ac74 Mar 06 - 0:07 oracleora10g (LOCAL=NO)
阅读(5266) | 评论(1) | 转发(0) |