码迷,mamicode.com
首页 > 其他好文 > 详细

solaris 10系统配置工具

时间:2015-10-17 23:39:31      阅读:267      评论:0      收藏:0      [点我收藏+]

标签:

bash-3.2# prtdiag    报告一般系统信息
System Configuration: VMware, Inc. VMware Virtual Platform
BIOS Configuration: Phoenix Technologies LTD 6.00 06/02/2011

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

Version                          Location Tag
-------------------------------- --------------------------
Pentium(R) III                   CPU socket #0
Pentium(R) III                   CPU socket #1

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

Type    Status Set Device Locator      Bank Locator
------- ------ --- ------------------- --------------------
DRAM    in use 0   RAM slot #0         RAM slot #0
DRAM    in use 0   RAM slot #1         RAM slot #1
DRAM    in use 0   RAM slot #2         RAM slot #2
DRAM    in use 0   RAM slot #3         RAM slot #3
DRAM    in use 0   RAM slot #4         RAM slot #4
DRAM    in use 0   RAM slot #5         RAM slot #5
DRAM empty 0 RAM slot #6 RAM slot #6 DRAM empty 0 RAM slot #7 RAM slot #7 DRAM empty 0 RAM slot #8 RAM slot #8 DRAM empty 0 RAM slot #9 RAM slot #9 DRAM empty 0 RAM slot #10 RAM slot #10 DRAM empty 0 RAM slot #11 RAM slot #11 DRAM empty 0 RAM slot #12 RAM slot #12 DRAM empty 0 RAM slot #13 RAM slot #13 DRAM empty 0 RAM slot #14 RAM slot #14 DRAM empty 0 RAM slot #15 RAM slot #15 DRAM empty 0 RAM slot #16 RAM slot #16 DRAM empty 0 RAM slot #17 RAM slot #17 DRAM empty 0 RAM slot #18 RAM slot #18 DRAM empty 0 RAM slot #19 RAM slot #19 DRAM empty 0 RAM slot #20 RAM slot #20 DRAM empty 0 RAM slot #21 RAM slot #21 DRAM empty 0 RAM slot #22 RAM slot #22 DRAM empty 0 RAM slot #23 RAM slot #23 DRAM empty 0 RAM slot #24 RAM slot #24 DRAM empty 0 RAM slot #25 RAM slot #25 DRAM empty 0 RAM slot #26 RAM slot #26 DRAM empty 0 RAM slot #27 RAM slot #27 DRAM empty 0 RAM slot #28 RAM slot #28 DRAM empty 0 RAM slot #29 RAM slot #29 DRAM empty 0 RAM slot #30 RAM slot #30 DRAM empty 0 RAM slot #31 RAM slot #31 DRAM empty 0 RAM slot #32 RAM slot #32 DRAM empty 0 RAM slot #33 RAM slot #33 DRAM empty 0 RAM slot #34 RAM slot #34 DRAM empty 0 RAM slot #35 RAM slot #35 DRAM empty 0 RAM slot #36 RAM slot #36 DRAM empty 0 RAM slot #37 RAM slot #37 DRAM empty 0 RAM slot #38 RAM slot #38 DRAM empty 0 RAM slot #39 RAM slot #39 DRAM empty 0 RAM slot #40 RAM slot #40 DRAM empty 0 RAM slot #41 RAM slot #41 DRAM empty 0 RAM slot #42 RAM slot #42 DRAM empty 0 RAM slot #43 RAM slot #43 DRAM empty 0 RAM slot #44 RAM slot #44 DRAM empty 0 RAM slot #45 RAM slot #45 DRAM empty 0 RAM slot #46 RAM slot #46 DRAM empty 0 RAM slot #47 RAM slot #47 DRAM empty 0 RAM slot #48 RAM slot #48 DRAM empty 0 RAM slot #49 RAM slot #49 DRAM empty 0 RAM slot #50 RAM slot #50 DRAM empty 0 RAM slot #51 RAM slot #51 DRAM empty 0 RAM slot #52 RAM slot #52 DRAM empty 0 RAM slot #53 RAM slot #53 DRAM empty 0 RAM slot #54 RAM slot #54 DRAM empty 0 RAM slot #55 RAM slot #55 DRAM empty 0 RAM slot #56 RAM slot #56 DRAM empty 0 RAM slot #57 RAM slot #57 DRAM empty 0 RAM slot #58 RAM slot #58 DRAM empty 0 RAM slot #59 RAM slot #59 DRAM empty 0 RAM slot #60 RAM slot #60 DRAM empty 0 RAM slot #61 RAM slot #61 DRAM empty 0 RAM slot #62 RAM slot #62 DRAM empty 0 RAM slot #63 RAM slot #63 ==== On-Board Devices ===================================== VMware SVGA II ES1371 ==== Upgradeable Slots ==================================== ID Status Type Description --- --------- ---------------- ---------------------------- 0 unknown ISA ISA Slot J8 0 unknown ISA ISA Slot J9 0 unknown ISA ISA Slot J10 1 in use PCI PCI Slot J11 2 in use PCI PCI Slot J12 3 in use PCI PCI Slot J13 4 available PCI PCI Slot J14

 

报告虚拟处理器是否起用:psrinfo

bash-3.2# psrinfo -p     (一个物理处理器)
1

bash-3.2# psrinfo   (两个虚拟处理器)    
  0  已在运行  自 10/17/2015 19:25:38
  1  已在运行  自 10/17/2015 19:25:40
bash-3.2# psrinfo -v
  虚拟处理器 0 在下列时间的状态:10/17/2015 22:49:15
  自 10/17/2015 19:25:38 开始已在运行。
  i386 处理器以 2800 MHz 运行,
  而且有 i387 compatible 浮点数处理器

  虚拟处理器 1 在下列时间的状态:10/17/2015 22:49:15
  自 10/17/2015 19:25:40 开始已在运行。
  i386 处理器以 2800 MHz 运行,
  而且有 i387 compatible 浮点数处理器

 

bash-3.2# psrinfo  -s    0

 1     
bash-3.2# psrinfo  -s    1

1

-------------------------------------------------------------
Displays  1  if  the  specified processor  is  fully  on-line.

Displays  0   if the    specified    processor    is     non-interruptible,  spare,  off-line, faulted or powered off.

 

管理虚拟处理器

psradm [-F] -f|-n|-i|-s [-v] processor_id ...

psradm -a -f|-n|-i [-v]

 

psradm    -i      1       虚拟处理器1不处理中断

psradm   -n      1        启用1号处理器

psradm    -f      1        不启用1号处理器

 

solaris 10系统配置工具

标签:

原文地址:http://www.cnblogs.com/zengkefu/p/4888558.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!