iT邦幫忙

DAY 14
12

Solaris 三十 Q系列 第 14

Solaris 三十Q-14 顯示作業系統資訊的指令

有幾個簡單、有用的指令,可以很容易的知道SUN Solaris 作業系統的資訊,例如是 32-bit 或 64-bit 版本。
1.機器是否支援64-bit的作業系統?
目前Sun的機器只要是屬於UltraSPARC平台的話,就是有支援64-bit的作業系統。

$/bin/uname -m
sun4u

2.知道所執行的作業系統版本是32-bit 或 64-bit?

$/bin/isainfo -v
64-bit sparcv9 applications
32-bit sparc applications

以上訊息表示,它是執行 64-bit 的,否則它會只出現32-bit那一行而已。

3.顯示現行系統相關訊息:

$/bin/showrev -s apsvr01
Hostname: apsvr01
Hostid: 84xx829x
Release: 5.10
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain:
Kernel version: SunOS 5.10 Generic_120011-14

4.系統安裝了多少的記憶體數量?

$/usr/sbin/prtconf | head -2
System Configuration:  Sun Microsystems  sun4u
Memory size: 4096 Megabytes

5.知道CPU的速度及數量:

$psrinfo
0       on-line   since 03/27/06 11:11:53
1       on-line   since 03/27/06 11:11:53

完整的資訊:

$psrinfo -v
Status of virtual processor 0 as of: 10/14/08 11:30:41
  on-line since 03/27/06 11:11:53.
  The sparcv9 processor operates at 1280 MHz,
        and has a sparcv9 floating point processor.
Status of virtual processor 1 as of: 10/14/08 11:30:41
  on-line since 03/27/06 11:11:53.
  The sparcv9 processor operates at 1280 MHz,
        and has a sparcv9 floating point processor.

上一篇
Solaris 三十Q-13 安裝Apache Tomcat軟體的錯誤訊息
下一篇
Solaris 三十Q-15 Solaris有那兩種disk label?
系列文
Solaris 三十 Q30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言