歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> 關於Unix >> 獲取Solaris系統硬件屬性信息的方法

獲取Solaris系統硬件屬性信息的方法

日期:2017/2/28 11:16:49   编辑:關於Unix


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),都不一樣, 不明白 :-<
2. 硬盤的屬性
我運行的結果如下, 很費解.
# iostat -E
sd0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: NECVMWar Product: VMware IDE CDR10 Revision: 1.00 Serial No: VMware IDE CDR10
Size: 0.00GB <0 bytes>
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
Copyright © Linux教程網 All Rights Reserved