opensolaris下去的CPU/memory信息的命令

CPU info:
prtdiag -v 和
psrinfo -v


例如:

prtdiag -v的结果是:

System Configuration: xxx
BIOS Configuration: xxx
BMC Configuration: xxx

==== Processor Sockets ====================================

Version                          Location Tag
-------------------------------- --------------------------
Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz CPU#1
Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz CPU#2

==== Memory Device Sockets ================================

Type        Status Set Device Locator      Bank Locator
----------- ------ --- ------------------- ----------------
other       in use 1   CPU1_DIMM1          BANK 1
other       empty  2   CPU1_DIMM2          BANK 2
other       empty  3   CPU1_DIMM3          BANK 3
other       empty  4   CPU1_DIMM4          BANK 4
other       empty  5   CPU1_DIMM5          BANK 5
other       empty  6   CPU1_DIMM6          BANK 6
other       in use 7   CPU2_DIMM1          BANK 7
other       empty  8   CPU2_DIMM2          BANK 8
other       empty  9   CPU2_DIMM3          BANK 9
other       empty  10  CPU2_DIMM4          BANK 10
other       empty  11  CPU2_DIMM5          BANK 11
other       empty  12  CPU2_DIMM6          BANK 12

==== On-Board Devices =====================================
VGA
LAN1
LAN2
SATA

==== Upgradeable Slots ====================================

ID  Status    Type             Description
--- --------- ---------------- ----------------------------
10  in use    PCI Express      PCI-0A
28  in use    PCI Express      PCI-1C
44  in use    PCI Express      PCI-2C
60  available PCI Express      PCI-3C
43  available PCI Express      PCI-2B
59  in use    PCI Express      PCI-3B

psrinfo -v的结果是:

Status of virtual processor 0 as of: 03/30/2010 13:13:38
  on-line since 03/15/2010 16:06:31.
  The i386 processor operates at 2267 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 1 as of: 03/30/2010 13:13:38
  on-line since 03/15/2010 16:06:35.
  The i386 processor operates at 2267 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 2 as of: 03/30/2010 13:13:38
  on-line since 03/15/2010 16:06:35.
  The i386 processor operates at 2267 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 3 as of: 03/30/2010 13:13:38
  on-line since 03/15/2010 16:06:35.
  The i386 processor operates at 2267 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 4 as of: 03/30/2010 13:13:38
  on-line since 03/15/2010 16:06:35.
  The i386 processor operates at 2267 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 5 as of: 03/30/2010 13:13:38
  on-line since 03/15/2010 16:06:35.
  The i386 processor operates at 2267 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 6 as of: 03/30/2010 13:13:38
  on-line since 03/15/2010 16:06:35.
  The i386 processor operates at 2267 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 7 as of: 03/30/2010 13:13:38
  on-line since 03/15/2010 16:06:35.
  The i386 processor operates at 2267 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 8 as of: 03/30/2010 13:13:38
  on-line since 03/15/2010 16:06:35.
  The i386 processor operates at 2267 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 9 as of: 03/30/2010 13:13:38
  on-line since 03/15/2010 16:06:35.
  The i386 processor operates at 2267 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 10 as of: 03/30/2010 13:13:38
  on-line since 03/15/2010 16:06:35.
  The i386 processor operates at 2267 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 11 as of: 03/30/2010 13:13:38
  on-line since 03/15/2010 16:06:35.
  The i386 processor operates at 2267 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 12 as of: 03/30/2010 13:13:38
  on-line since 03/15/2010 16:06:35.
  The i386 processor operates at 2267 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 13 as of: 03/30/2010 13:13:38
  on-line since 03/15/2010 16:06:35.
  The i386 processor operates at 2267 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 14 as of: 03/30/2010 13:13:38
  on-line since 03/15/2010 16:06:35.
  The i386 processor operates at 2267 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 15 as of: 03/30/2010 13:13:38
  on-line since 03/15/2010 16:06:35.
  The i386 processor operates at 2267 MHz,
        and has an i387 compatible floating point processor.


memory info:
prtconf | grep Memory


例如:

prtconf | grep Memory的结果是:

Memory size: 2040 Megabytes

 

其他:

pkginfo -l
modinfo

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值