solaris查看主机信息

来源:互联网 发布:it technician 编辑:程序博客网 时间:2024/05/16 05:53

bash-2.03#  isainfo -kv                          查看32位还是64位(instruction set architecture)
64-bit sparcv9 kernel modules

bash-2.03# iostat -E

dad0     Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Model: Maxtor 91021U2   Revision: FA520860 Serial No: G206B5QC        
Size: 10.25GB <10245021696 bytes>
Media Error: 0 Device Not Ready: 0  No Device: 0 Recoverable: 0
Illegal Request: 0
sd0      Soft Errors: 0 Hard Errors: 2 Transport Errors: 0
Vendor:    LG    Product: CD-ROM CRD-8322B Revision: 1.05 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
bash-2.03#
bash-2.03#
bash-2.03#
bash-2.03# uname -X
System = SunOS
Node = super
Release = 5.8
KernelID = Generic_108528-29
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1

bash-2.03#
bash-2.03#
bash-2.03#
bash-2.03#
bash-2.03# psrinfo -v 0
Status of virtual processor 0 as of: 02/22/09 16:57:16
  on-line since 02/22/09 16:51:42.
  The sparcv9 processor operates at 440 MHz,
        and has a sparcv9 floating point processor.
bash-2.03#
bash-2.03#
bash-2.03# netstat -np

Net to Media Table: IPv4
Device   IP Address               Mask      Flags   Phys Addr
------ -------------------- --------------- ----- ---------------
hme0   192.168.0.100        255.255.255.255       00:16:41:e4:93:48
rf2    224.0.0.1            255.255.255.255       01:00:5e:00:00:01
rf1    224.0.0.1            255.255.255.255       01:00:5e:00:00:01
rf0    224.0.0.1            255.255.255.255       01:00:5e:00:00:01
hme0   224.0.0.1            255.255.255.255       01:00:5e:00:00:01
hme0   224.0.0.2            255.255.255.255       01:00:5e:00:00:02
rf0    224.0.0.2            255.255.255.255       01:00:5e:00:00:02
rf1    224.0.0.2            255.255.255.255       01:00:5e:00:00:02
rf2    224.0.0.2            255.255.255.255       01:00:5e:00:00:02
rf1    192.168.8.229        255.255.255.255 SP    00:14:78:4f:e9:bb
rf2    192.168.8.231        255.255.255.255 SP    00:14:78:04:0c:24
hme0   192.168.0.200        255.255.255.255 SP    08:00:20:b3:5f:19
rf0    192.168.1.200        255.255.255.255 SP    00:14:78:3a:4a:2f
hme0   192.168.8.198        255.255.255.255 SP    08:00:20:b3:5f:19
rf2    224.0.0.0            240.0.0.0       SM    01:00:5e:00:00:00
rf1    224.0.0.0            240.0.0.0       SM    01:00:5e:00:00:00
rf0    224.0.0.0            240.0.0.0       SM    01:00:5e:00:00:00
hme0   224.0.0.0            240.0.0.0       SM    01:00:5e:00:00:00
bash-2.03#
bash-2.03#
bash-2.03#
bash-2.03# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t0d0s0    6850701 2387081 4395113    36%    /
/proc                      0       0       0     0%    /proc
fd                         0       0       0     0%    /dev/fd
mnttab                     0       0       0     0%    /etc/mnttab
swap                  902392      16  902376     1%    /var/run
swap                  902392      16  902376     1%    /tmp
/dev/dsk/c0t0d0s7    2464750       9 2415446     1%    /export/home
bash-2.03#
bash-2.03#
bash-2.03#
bash-2.03# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <Maxtor 91021U2 cyl 19850 alt 2 hd 16 sec 63>
         /pci@1f,0/pci@1,1/ide@3/dad@0,0
Specify disk (enter its number): 0
selecting c0t0d0
[disk formatted, no defect list found]
Warning: Current Disk has mounted partitions.


FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        show       - translate a disk address
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> quit
bash-2.03#
bash-2.03#
bash-2.03# isainfo
sparcv9 sparc
bash-2.03#
bash-2.03# prtconf
System Configuration:  Sun Microsystems  sun4u
Memory size: 512 Megabytes
System Peripherals (Software Nodes):

SUNW,Ultra-5_10
    packages (driver not attached)
        terminal-emulator (driver not attached)
        deblocker (driver not attached)
        obp-tftp (driver not attached)
        disk-label (driver not attached)
        SUNW,builtin-drivers (driver not attached)
        sun-keyboard (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)
    pci, instance #0
        pci, instance #0
            ebus, instance #0
                auxio (driver not attached)
                power, instance #0
                SUNW,pll (driver not attached)
                se, instance #0
                su, instance #0
                su, instance #1
                ecpp (driver not attached)
                fdthree, instance #0
                eeprom (driver not attached)
                flashprom (driver not attached)
                SUNW,CS4231 (driver not attached)
            network, instance #0
            SUNW,m64B, instance #0
            ide, instance #0
                disk (driver not attached)
                cdrom (driver not attached)
                dad, instance #0
                sd, instance #0
        pci, instance #1
            ethernet, instance #0
            ethernet, instance #1
            ethernet, instance #2
    SUNW,UltraSPARC-IIi (driver not attached)
    pseudo, instance #0
bash-2.03#
bash-2.03#
原创粉丝点击