Solaries 系统维护命令

root@nwtgz # showrev
Hostname: nwtgz
Hostid: 83a0ea91
Release: 5.8
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain:
Kernel version: SunOS 5.8 Generic 117350-14 Oct 2004

 

root@nwtgz # prtconf
System Configuration:  Sun Microsystems  sun4u
Memory size: 2048 Megabytes
System Peripherals (Software Nodes):

SUNW,Sun-Fire-V240
    packages (driver not attached)
        SUNW,builtin-drivers (driver not attached)
        deblocker (driver not attached)
        disk-label (driver not attached)
        terminal-emulator (driver not attached)
        dropins (driver not attached)
        kbd-translator (driver not attached)
        obp-tftp (driver not attached)
        SUNW,i2c-ram-device (driver not attached)
        SUNW,fru-device (driver not attached)
        SUNW,asr (driver not attached)
        ufs-file-system (driver not attached)
    chosen (driver not attached)
    openprom (driver not attached)
        client-services (driver not attached)
    options, instance #0
    aliases (driver not attached)
    memory (driver not attached)
    virtual-memory (driver not attached)
    SUNW,UltraSPARC-IIIi (driver not attached)
    memory-controller, instance #0
    SUNW,UltraSPARC-IIIi (driver not attached)
    memory-controller, instance #1
    pci, instance #0
        network, instance #0
        network, instance #1
    pci, instance #1
        isa, instance #0
            flashprom (driver not attached)
            rtc (driver not attached)
            i2c, instance #0
                i2c-bridge (driver not attached)
                i2c-bridge (driver not attached)
                motherboard-fru-prom (driver not attached)
                chassis-fru-prom (driver not attached)
                power-supply-fru-prom (driver not attached)
                power-supply-fru-prom (driver not attached)
                dimm-spd (driver not attached)
                dimm-spd (driver not attached)
                dimm-spd (driver not attached)
                dimm-spd (driver not attached)
                rscrtc (driver not attached)
                nvram (driver not attached)
                idprom (driver not attached)
                gpio (driver not attached)
                gpio (driver not attached)
                gpio (driver not attached)
                gpio (driver not attached)
                gpio (driver not attached)
                gpio (driver not attached)
            power, instance #0
            serial, instance #0
            serial, instance #1
            rmc-comm, instance #0
        pmu, instance #0
            i2c (driver not attached)
            gpio, instance #0
        usb, instance #0
        ide, instance #0
            disk (driver not attached)
            cdrom (driver not attached)
            sd, instance #30
    pci, instance #2
        scsi, instance #0
            disk (driver not attached)
            tape (driver not attached)
            sd, instance #0
            sd, instance #1
            sd, instance #2
            sd, instance #3
            sd, instance #4 (driver not attached)
            sd, instance #5 (driver not attached)
            sd, instance #6 (driver not attached)
            sd, instance #7 (driver not attached)
            sd, instance #8 (driver not attached)
            sd, instance #9 (driver not attached)
            sd, instance #10 (driver not attached)
            sd, instance #11 (driver not attached)
            sd, instance #12 (driver not attached)
            sd, instance #13 (driver not attached)
            sd, instance #14 (driver not attached)
        scsi, instance #1
            disk (driver not attached)
            tape (driver not attached)
            sd, instance #15 (driver not attached)
            sd, instance #16 (driver not attached)
            sd, instance #17 (driver not attached)
            sd, instance #18 (driver not attached)
            sd, instance #19 (driver not attached)
            sd, instance #20 (driver not attached)
            sd, instance #21 (driver not attached)
            sd, instance #22 (driver not attached)
            sd, instance #23 (driver not attached)
            sd, instance #24 (driver not attached)
            sd, instance #25 (driver not attached)
            sd, instance #26 (driver not attached)
            sd, instance #27 (driver not attached)
            sd, instance #28 (driver not attached)
            sd, instance #29 (driver not attached)
    pci, instance #3
        network, instance #2
        network, instance #3
    pseudo, instance #0

 

root@nwtgz # mpstat
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  0    1   0   18     8    3  174    0   11    4    0   180    0   1   5  94
  1    1   0   17   416  312  212    0   11    2    0   143    0   0   5  95
 

root@nwtgz # iostat -En
c1t0d0          Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE  Product: ST373307LSUN72G  Revision: 0507 Serial No: 3HZ9KV2N00007518
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t1d0          Soft Errors: 7716 Hard Errors: 34 Transport Errors: 0
Vendor: SEAGATE  Product: ST373307LSUN72G  Revision: 0507 Serial No: 3HZ9KD9600007518
Size: 73.40GB <73400057856 bytes>
Media Error: 32 Device Not Ready: 0 No Device: 0 Recoverable: 7716
Illegal Request: 0 Predictive Failure Analysis: 0
c1t2d0          Soft Errors: 1637 Hard Errors: 26 Transport Errors: 1
Vendor: SEAGATE  Product: ST373307LSUN72G  Revision: 0507 Serial No: 3HZ9Q91Q00007522
Size: 73.40GB <73400057856 bytes>
Media Error: 24 Device Not Ready: 0 No Device: 1 Recoverable: 1637
Illegal Request: 0 Predictive Failure Analysis: 0
c1t3d0          Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE  Product: ST373307LSUN72G  Revision: 0507 Serial No: 3HZ9Q7KH00007522
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c0t0d0          Soft Errors: 0 Hard Errors: 2 Transport Errors: 0
Vendor: TEAC     Product: DV-28E-C         Revision: 1.4B Serial No:  
Size: 18446744073.71GB <-1 bytes>
Media Error: 0 Device Not Ready: 2 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0

root@nwtgz # swap -s
total: 582016k bytes allocated + 72672k reserved = 654688k used, 5180784k available

 

root@nwtgz # pkginfo -l SUNWypu
   PKGINST:  SUNWypu
      NAME:  NIS Server for Solaris (usr)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.8.0,REV=2000.01.08.18.12
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  NIS Server for Solaris 2.6 and up
    PSTAMP:  on28-patch20040727125011
  INSTDATE:  Dec 28 2004 15:14
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:       21 installed pathnames
                   5 shared pathnames
                   5 directories
                  16 executables
                 299 blocks used (approx)
 

 

/export/home/pas52mon>  psrinfo -v
Status of virtual processor 1 as of: 02/27/08 11:55:03
  on-line since 02/26/08 08:57:06.
  The sparcv9 processor operates at 1350 MHz,
        and has a sparcv9 floating point processor.
Status of virtual processor 3 as of: 02/27/08 11:55:03
  on-line since 02/26/08 08:57:05.
  The sparcv9 processor operates at 1350 MHz,
        and has a sparcv9 floating point processor.
Status of virtual processor 17 as of: 02/27/08 11:55:03
  on-line since 02/26/08 08:57:06.
  The sparcv9 processor operates at 1350 MHz,
        and has a sparcv9 floating point processor.
Status of virtual processor 19 as of: 02/27/08 11:55:03
  on-line since 02/26/08 08:57:06.
  The sparcv9 processor operates at 1350 MHz,
        and has a sparcv9 floating point processor.

 

/ue21/as5prog/script> psrinfo -v
Status of processor 0 as of: 02/27/08 11:58:30
  Processor has been on-line since 07/13/07 03:38:04.
  The sparcv9 processor operates at 450 MHz,
        and has a sparcv9 floating point processor.

 

root@nwtgz # psrinfo -v
Status of virtual processor 0 as of: 02/27/08 11:58:08
  on-line since 02/13/08 11:28:57.
  The sparcv9 processor operates at 1280 MHz,
        and has a sparcv9 floating point processor.
Status of virtual processor 1 as of: 02/27/08 11:58:08
  on-line since 02/13/08 11:28:56.
  The sparcv9 processor operates at 1280 MHz,
        and has a sparcv9 floating point processor.

 

 

/export/home/pas52mon> psrinfo -pv
The UltraSPARC-IV physical processor has 2 virtual processors (1, 17)
The UltraSPARC-IV physical processor has 2 virtual processors (3, 19)

 

root@nwtgz # route add default 192.168.198.254
add net default: gateway 192.168.198.254
root@nwtgz # netstat -rn     
Routing Table: IPv4
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
192.168.198.0        192.168.198.222       U        1   1493  bge0
224.0.0.0            192.168.198.222       U        1      0  bge0
default              192.168.198.254       UG       1      3 
127.0.0.1            127.0.0.1             UH       5    323  lo0
 

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值