- 论坛徽章:
- 0
|
1. 获得系统信息:
# uname -X
System = SunOS
Node = Test_SunOS
Release = 5.9
KernelID = Generic_112234-03
Machine = i86pc
BusType =
Serial =
Users =
OEM# = 0
Origin# = 1
NumCPU = 1
2.CPU的信息:
# psrinfo -v 0
Status of processor 0 as of: 09/08/2006 14:42:33
Processor has been on-line since 09/08/2006 14:12:03.
The i386 processor operates at 1733 MHz,
and has an i387 compatible floating point processor.
3.内存的信息
# prtconf |grep Memory
Memory size: 128 Megabytes
问题总结:
1. 交换分区的大小:
swap -s 命令的结果, 每次返回的swap的大小(tatol = used + available),都不一样, 不明白 :-
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
3. 网卡的信息 ,
netstat -np 只能看到可用的网卡信息 包括, 名称, MAC, IP 信息, 没有配置IP的网卡,看不到, 还有别的方法吗?
# kstat -c net|grep name
name: lo0 class: net
name: pcn0 class: net
name: pcn1 class: net
name: zero_copy class: net
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/23702/showart_357825.html |
|