`

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
 

分享到:
评论

相关推荐

    Solaris日常维护命令

    以上命令是Solaris日常维护的基础,熟练掌握这些命令有助于高效地管理Solaris系统。此外,对于网络配置的变更,通常还需要编辑相应的配置文件(如`/etc/hostname.bge1`)来持久化设置。在进行任何系统级别的操作时,...

    solaris 系统维护指南

    ### Solaris系统维护指南 #### 一、Open Boot Promoter (OBP) 相关命令 **1.1 检测系统SCSI设备连接状况** - **命令**: `ok probe-scsi-all` - **功能**: 此命令用于检测Solaris系统的SCSI设备连接状况。SCSI...

    Solaris10常用命令指南

    Solaris 10 作为一个 Unix 操作系统,提供了许多有用的命令来管理和维护系统。以下是 Solaris 10 中一些常用的命令: 基本命令 1. ls 命令:显示文件名,等同于 DOS 下的 dir 命令。命令格式:ls [option] file。...

    solaris系统ok状态下的命令

    ### Solaris系统OK状态下的命令详解 在Solaris系统中,OK状态是指系统处于一个特殊的启动阶段,在这个阶段用户可以通过OpenBoot PROM(预启动ROM)命令来管理系统的启动过程和其他相关配置。以下是对给定文件中的...

    unix 基本命令 基本知识 维护大全

    而"SUN系统维护命令大全.txt"则可能列出了大量的Sun Solaris系统维护命令,包括性能监控、故障排查和系统优化等。 熟悉并熟练掌握这些Unix命令和Sun Solaris特性对于任何IT专业人员来说都是至关重要的,特别是在...

    solaris常用系统命令

    ### Solaris常用系统命令知识点详解 #### 一、`showrev` 命令 - **功能**: `showrev` 命令用于显示Solaris系统的版本信息。...掌握这些命令不仅有助于日常的系统维护和故障排查,还能提高工作效率。

    solaris系统维护.doc手册

    【Solaris系统维护详解】 Solaris,作为一款由Sun Microsystems开发的UNIX操作系统,因其稳定性、安全性和高效性而被广泛应用于企业级服务器环境。对于初次接触或者需要进行系统维护的IT人员来说,理解和掌握...

    Solaris操作系统常用命令

    - **功能**: Solaris系统中的帮助手册,通常称为“man pages”,可以在系统中随时调用,用于解释Solaris系统及其命令的使用方法。 - **使用示例**: `man ls` 可以查看`ls`命令的详细使用方法。 #### 2. ls - **功能...

    Oracle SUN Solaris 系统用户手册(包含系统常规维护)

    Solaris用户手册,solaris常规系统维护命令,小白必备

    Solaris的中文命令

    本篇将详细探讨"Solaris的中文命令"这一主题,帮助用户更好地理解和掌握在Solaris系统中进行日常操作的方法。 一、Solaris系统简介 Solaris是一款广泛应用于企业级服务器的操作系统,以其稳定性和安全性著称。它...

    Solaris系统管理和维护

    【Solaris系统管理和维护】是针对初学者的全面教程,涵盖了Solaris操作系统的多个核心方面。以下是关于这个主题的详细知识点: 1. **软件环境和UNIX常用命令**: - **软件组成**:Solaris系统由硬件(HW)、内核...

    Solaris的中文命令参考手册

    《Solaris的中文命令参考手册》是一份专为使用Solaris操作系统用户提供的指南,它包含了大量关于Solaris系统中常用命令的中文解释和使用方法。这份手册旨在帮助用户更好地理解和操作Solaris系统,提高工作效率。 在...

    Solaris 系统管理完整版

    在Solaris系统中,超级用户状态是通过`su`命令实现的,允许普通用户临时提升权限至root级别,执行需要特权的操作。通过执行`su -`命令并输入root密码,可以完全切换到root环境,包括root用户的环境变量。 **1.1.1 ...

    Solaris系统命令中英对照.doc

    这只是 Solaris 系统命令中的一部分,实际上还有很多其他命令,如网络管理、安全管理、系统性能监控、软件包管理等等,这些命令共同构成了 Solaris 系统管理的强大工具集,使得管理员能够有效地维护和优化系统。...

    solaris常用的19个命令

    - **功能**: 使用`man`命令查询Solaris系统中任何命令的帮助文档。这是一个非常强大的工具,可以帮助用户深入了解每个命令的功能、参数、使用示例等。 - **语法**: `man &lt;命令名&gt;` - **例子**: 若要查询`ls`命令的...

    Solaris+系统管理命令及相关技术中英文对照.doc

    17. **chroot**: 更改命令执行时的根目录,常用于安全隔离和系统维护。 这只是Solaris系统管理命令的一小部分,实际上,Solaris提供了众多工具和命令来满足各种复杂的系统管理需求。了解和掌握这些命令,对于有效地...

    Solaris 系统管理指南

    通过以上内容,我们可以了解到Solaris系统管理指南主要围绕Solaris操作系统的系统管理工具展开,涵盖了从基本管理命令到高级管理工具的使用方法。这对于Solaris系统的日常维护和管理具有重要的指导意义。无论是对于...

    Solaris系统管理员手册

    运行级别0表示系统关机,而运行级别1则是单用户模式,主要用于系统维护和故障修复。查看当前运行级别可以用`runlevel`命令,而切换运行级别则需用到`init`命令配合相应的运行级别号。在多用户模式下,如运行级别3或5...

    SOLARIS常用命令

    根据给定的文件信息,以下是对SOLARIS操作系统中常用命令的知识点详细解析: ### SOLARIS常用命令解析 #### 1. man &lt;要查的命令名字&gt; `man`命令用于查阅SOLARIS中任何命令的详细帮助文档。通过输入`man`后跟上想...

    Solaris 10 系统维护

    ### Solaris 10 系统维护管理基础知识点 #### 一、系统监控 系统监控是Solaris 10日常维护的重要组成部分,旨在确保系统的稳定性和高效性。通过监控可以实时掌握系统的负载和性能,及时发现并解决问题。下面详细...

Global site tag (gtag.js) - Google Analytics