lsattr可用来查看内存大小,如:
#lsattr -El sys0 -a realmem
realmem 5898240 Amount of usable physical memory in Kbytes False
或者是
#lsdev -Cc memory
L2cache0 Available L2 Cache
mem0 Available Memory
#lsattr -El mem0
goodsize 5760 Amount of usable physical memory in Mbytes False
size 5760 Total amount of physical memory in Mbytes False
lsdev则可以用来查询cpu的信息,如
#lsdev -Cc processor
proc0 Available 00-00 Processor
proc2 Available 00-02 Processor
proc4 Available 00-04 Processor
这里表示有三颗可用的cpu。
lsattr则可以分别列出这些CPU的主频等信息
#lsattr -El proc0
frequency 1656400000 Processor Speed False
state enable Processor state False
type PowerPC_POWER5 Processor type False
其实,通过vmstat等命令,也完全可以查看cpu与内存的信息,如
#vmstat
System Configuration: lcpu=3 mem=5760MB
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
1 1 140906 1326590 0 0 0 0 0 0 427 5 52 0 0 99 0
最上方就显示了cpu个数为3,内存为5760M。下面的详细信息则是机器自启动以来的统计信息,在memory部分,数字代表的4K字节的内存大小,而不是字节数,这个需要特别注意,在aix中,大部分的内存表示都是4K字节大小为单位的(内存页)
查看系统的序列号
#uname -uM
IBM,9113-550 IBM,0265AD8CF
其中9113-550是型号,65AD8CF就是序列号
查看系统的微码
#lsmcode
DISPLAY MICROCODE LEVEL 802811
IBM,9133-55A
The current permanent system firmware image is SF235_180
The current temporary system firmware image is SF235_185
The system is currently booted from the temporary firmware image.
Use Enter to continue.
从上面的结果可以看到,系统当前的微码为SF235_185
上一篇: « 怎么样在业务繁忙时期正确的创建表约束
- 发表评论


