root@zsc # showrev
Hostname: zsc
Hostid: 841e69f3
Release: 5.10
Kernel architecture: sun4u //intel架構的服務器輸出不一樣
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain:
Kernel version: SunOS 5.10 Generic_118833-18 //內核版本號
|
root@zsc # prtconf
System Configuration: Sun Microsystems sun4u//intel,amd cpu的輸出不同
Memory size: 8192 Megabytes //內存爲8G
System Peripherals (Software Nodes):
SUNW,Sun-Fire-V490
scsi_vhci, instance #0
packages (driver not attached)
SUNW,builtin-drivers (driver not attached)
………
|
root@zsc # format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 146Gcyl 14087 alt 2 hd 24 sec 848>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c39d4d9d,0
1. c1t1d0 146Gcyl 14087 alt 2 hd 24 sec 848>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c39d4d9b,0
|
root@zsc # ifconfig -a
lo0: flags=2001000849 mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0: flags=1000843 mtu 1500 index 2
inet 61.128.x.x netmask ffffff00 broadcast 61.128.x.255
ether 0:14:4f:1e:69:f3 //ce0是網絡接口的名字
ce1: flags=1000843 mtu 1500 index 3
inet 192.168.x.5 netmask ffffff00 broadcast 192.168.x.255
ether 0:14:4f:1e:69:f3 //x是某個具體的數值,安全起見這樣處理
|
root@db890 ~#mpstat //這個命令也是查看CPU負載的工具
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
0 0 1 136 3 1 67 1 1 6 1 93 0 1 4 94
1 0 1 101 25 22 67 1 1 6 1 85 0 1 4 95
2 0 1 121 3 1 68 1 1 6 1 91 0 1 4 95
3 0 1 129 3 1 69 1 1 6 1 95 0 1 4 95
4 0 1 126 3 1 69 1 1 5 1 95 0 1 4 95
5 0 1 125 129 126 66 1 1 5 1 90 0 1 4 95
6 0 1 123 4 1 68 1 1 6 1 92 0 1 4 95
7 0 1 105 242 140 65 1 1 7 1 89 0 0 4 95
|
root@zsc # uptime
上午8點48分 運行4天15:12, 2用戶, 平均負載:0.01, 0.01, 0.01
|
root@zsc # w
上午9點12分 運行4天15:36, 3用戶, 平均負載:0.02, 0.01, 0.01
用戶名 終端號 登入時間 閒置 JCPU PCPU 執行命令
root console 週一下午5點 5天 4:53 4:53 /usr/dt/bin/dtscreen -mode blank
root pts/3 上午8點36分 25 -bash
root pts/4 上午9點12分 w
|
root@zsc # who -r
. run-level 3 10月 9日17:36 3 0 S
|
root@zsc # last |more
root pts/3 211.94.81.227 Sat Oct 14 14:31仍在登錄狀態
root sshd 211.94.81.227 Sat Oct 14 14:31仍在登錄狀態
root sshd 218.247.140.197 Sat Sep 1612:03 - 12:04 (00:00)
oracle console :0 Sat Sep 16 12:02 -關機 (00:02)
reboot system boot Sat Sep 1612:02
reboot system down Sat Sep 1612:01
root pts/4 61.128.122.128 Sat Sep 16 12:01 -關機 (00:01)
root sshd 61.128.122.128 Sat Sep 16 12:01 -關機 (00:01)
oracle console :0 Sat Sep 16 12:00 -關機 (00:01)
reboot system boot Sat Sep 1611:59
reboot system down Sat Sep 1611:59
oracle console :0 Sat Sep 16 11:58 -關機 (00:01)
root console :0 Sat Sep 1611:53 - 11:54 (00:00)
oracle console :0 Sat Sep 1611:52 - 11:53 (00:01)
|