【原】sun sorlaris查看配置

作者:david_zhang@sh 【转载时请以超链接形式标明文章】

链接:http://www.cnblogs.com/david-zhang-index/archive/2012/05/14/2498909.html

1,查询总内存

1 UBDSOUTAPP1 /export/home/mms 4>prtconf | grep Memory

2 Memory size: 4096 Megabytes

3 内存:4096 Megabytes

2,查询cpu个数

1 UBDSOUTAPP1 /export/home/mms 6>mpstat

2 CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl

3   0 1073   0    4   484  143  524   12   28  720   65  7371    2   5   0  93

4   1 1062   0    4   339  248  604   42   28  754   66  6910    2   5   0  93

5 返回2行说明有2个cup

2.1查看cpu的主频

 1 UBDSOUTAPP1 /export/home/mms 7>psrinfo -v

 2 Status of virtual processor 0 as of: 05/11/2012 17:50:00

 3   on-line since 08/24/2011 12:25:14.

 4   The i386 processor operates at 2660 MHz,

 5         and has an i387 compatible floating point processor.

 6 Status of virtual processor 1 as of: 05/11/2012 17:50:00

 7   on-line since 08/24/2011 12:25:15.

 8   The i386 processor operates at 2660 MHz,

 9         and has an i387 compatible floating point processor.

10 主频:2660 MHz

2.2查看cpu的信息

 1 UBDSOUTAPP1 /export/home/mms 1>prtdiag -v | more

 2 System Configuration: VMware, Inc. VMware Virtual Platform

 3 BIOS Configuration: Phoenix Technologies LTD 6.00 09/22/2009

 4 

 5 ==== Processor Sockets ====================================

 6 

 7 Version                          Location Tag

 8 -------------------------------- --------------------------

 9 Pentium(R) Pro                   CPU socket #0

10 Pentium(R) Pro                   CPU socket #1

11 

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

13 

14 Type    Status Set Device Locator      Bank Locator

15 ------- ------ --- ------------------- --------------------

16 DRAM    in use 0   RAM slot #0         RAM slot #0

17 DRAM    empty  0   RAM slot #1         RAM slot #1

18 DRAM    empty  0   RAM slot #2         RAM slot #2

19 DRAM    empty  0   RAM slot #3         RAM slot #3

20 DRAM    empty  0   RAM slot #4         RAM slot #4

21 DRAM    empty  0   RAM slot #5         RAM slot #5

22 DRAM    empty  0   RAM slot #6         RAM slot #6

23 DRAM    empty  0   RAM slot #7         RAM slot #7

24 DRAM    empty  0   RAM slot #8         RAM slot #8

25 DRAM    empty  0   RAM slot #9         RAM slot #9

26 DRAM    empty  0   RAM slot #10        RAM slot #10

27 DRAM    empty  0   RAM slot #11        RAM slot #11

28 DRAM    empty  0   RAM slot #12        RAM slot #12

29 DRAM    empty  0   RAM slot #13        RAM slot #13

30 DRAM    empty  0   RAM slot #14        RAM slot #14

31 

32 ==== On-Board Devices =====================================

33 VMware SVGA II

34 ES1371

35 

36 ==== Upgradeable Slots ====================================

37 

38 ID  Status    Type             Description

39 --- --------- ---------------- ----------------------------

40 0   unknown   ISA              ISA Slot J8

41 0   unknown   ISA              ISA Slot J9

42 0   unknown   ISA              ISA Slot J10

43 1   in use    PCI              PCI Slot J11

44 2   in use    PCI              PCI Slot J12

45 3   in use    PCI              PCI Slot J13

46 4   available PCI              PCI Slot J14

3,查看硬盘大小

 1 UBDSOUTAPP1 /export/home/mms 8>iostat -E

 2 sd0       Soft Errors: 0 Hard Errors: 0 Transport Errors: 0

 3 Vendor: VMware   Product: Virtual disk     Revision: 1.0  Serial No:

 4 Size: 64.42GB <64424508928 bytes>

 5 Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0

 6 Illegal Request: 8 Predictive Failure Analysis: 0

 7 sd1       Soft Errors: 0 Hard Errors: 0 Transport Errors: 0

 8 Vendor: NECVMWar Product: VMware IDE CDR10 Revision: 1.00 Serial No:

 9 Size: 0.00GB <0 bytes>

10 Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0

11 Illegal Request: 2 Predictive Failure Analysis: 0

12 sd2       Soft Errors: 0 Hard Errors: 0 Transport Errors: 0

13 Vendor: VMware   Product: Virtual disk     Revision: 1.0  Serial No:

14 Size: 85.90GB <85899345408 bytes>

15 Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0

16 Illegal Request: 6 Predictive Failure Analysis: 0

17 有两块硬盘sd0:64.42GB sd2:85.90GB

4,查看内核

1 UBDSOUTAPP1 /export/home/mms 10>isalist -v

2 amd64 pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86

3 内核:64位

5,查看网卡

1 UBDSOUTAPP1 /export/home/mms 16>ifconfig -a

2 lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1

3         inet 127.0.0.1 netmask ff000000

4 vmxnet3s0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2

5         inet 192.168.1.15 netmask ffffff00 broadcast 192.168.1.255

6 网卡名:vmxnet3s0

6.查看操作系统版本

6.1

1 UBDSOUTAPP1 /export/home/mms 8>more /etc/release

2                        Solaris 10 10/09 s10x_u8wos_08a X86

3            Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.

4                         Use is subject to license terms.

5                            Assembled 16 September 2009

6.2

1 UBDSOUTAPP1 /export/home/mms 9>showrev

2 Hostname: UBDSOUTAPP1

3 Hostid: b980357

4 Release: 5.10

5 Kernel architecture: i86pc

6 Application architecture: i386

7 Hardware provider:

8 Domain:

9 Kernel version: SunOS 5.10 Generic_142901-13

由上可以看出该系统为Sun Sparc平台的5.10系统。

6.3查看操作系统位数

1 UBDSOUTAPP1 /export/home/mms 11>isainfo -v

2 64-bit amd64 applications

3         pclmulqdq aes sse4.2 sse4.1 ssse3 popcnt tscp cx16 sse3 sse2 sse fxsr

4         mmx cmov amd_sysc cx8 tsc fpu

5 32-bit i386 applications

6         pclmulqdq aes sse4.2 sse4.1 ssse3 popcnt tscp cx16 sse3 sse2 sse fxsr

7         mmx cmov sep cx8 tsc fpu

如果是运行在32位模式下, 则有如下输出:
32-bit sparc applications
如果是运行在64位模式下, 则有如下输出:
64-bit sparcv9 applications
32-bit sparc applications

你可能感兴趣的:(Sorl)