也是从网上学习到的几种查看内存方法,其中第3,第4种用的更多些,顺便查看了其他一些系统信息. :)
1、
# lsdev -Cc memory
查看系统上存在的物理内存设备
L2cache0 Available L2 Cache
mem0 Available Memory
# lsattr -El mem0
查看相应物理内存设备的大小,输出类似如下所示:
goodsize 7744 Amount of usable physical memory in Mbytes False
size 7744 Total amount of physical memory in Mbytes False
# lsattr -El L2cache0
size 1920 Size of L2 cache in Kbytes False
2、
# bootinfo -r
7929856
此例说明机器的物理内存为7929856kB。
3、
# prtconf
输出类似下面所示:
----
----
Memory Size: 7744 MB
----
----
本命令会打出当前主机的详细配置信息(包含CPU类型,数量,位数,内核位数,IP,卷组等信息)输出中有Memory Size属性,指示其当前物理内存大小
4、
# topas
输出:
Topas Monitor for host: P55A4P1 EVENTS/QUEUES FILE/TTY
Wed Mar 10 09:32:07 2010 Interval: 2 Cswitch 5093 Readch 26358
Syscall 6431 Writech 25314
CPU User% Kern% Wait% Idle% Reads 43 Rawin 0
ALL 0.4 1.1 0.3 98.2 Writes 5 Ttyout 431
Forks 0 Igets 0
Network KBPS I-Pack O-Pack KB-In KB-Out Execs 0 Namei 2010
lo0 4.4 7.5 7.5 2.2 2.2 Runqueue 0.0 Dirblk 0
en2 1.3 3.5 1.0 0.8 0.5 Waitqueue 0.0
Disk Busy% KBPS TPS KB-Read KB-Writ PAGING MEMORY
hdisk0 10.0 102.5 16.9 0.0 102.5 Faults 5 Real,MB 7744
hdisk1 10.0 102.5 16.9 0.0 102.5 Steals 0 % Comp 79.9
cd0 0.0 0.0 0.0 0.0 0.0 PgspIn 0 % Noncomp 19.9
PgspOut 0 % Client 19.9
Name PID CPU% PgSp Owner PageIn 0
tftserve 1032440 0.4 0.2 gold1 PageOut 7 PAGING SPACE
syncd 102554 0.3 0.5 root Sios 7 Size,MB 16384
tftserve 586088 0.3 0.2 qsh % Used 10.0
java 770516 0.2 146.9 gold1 NFS (calls/sec) % Free 90.0
topas 1016248 0.0 2.4 root ServerV2 0
dtgreet 168158 0.0 1.4 root ClientV2 0 Press:
java 819646 0.0 160.4 gold ServerV3 0 "h" for help
java 557132 0.0 121.9 gold ClientV3 0 "q" to quit
oracle 741462 0.0 8.8 gold
oracle 283134 0.0 7.3 oracle
GWTDOMAI 926048 0.0 2.5 qsh
gil 28974 0.0 0.9 root
阅读(3536) | 评论(0) | 转发(0) |