溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

Solaris 10基本命令操作

發(fā)布時(shí)間:2020-06-30 22:24:16 來(lái)源:網(wǎng)絡(luò) 閱讀:2634 作者:John_Lu08 欄目:系統(tǒng)運(yùn)維

1、查看系統(tǒng)當(dāng)前時(shí)間

root@solaris10:/var/adm # date
Mon Aug 13 16:02:22 CST 2018

2、查看內(nèi)核版本

root@solaris10:/var/adm # uname -a
SunOS solaris10 5.10 Generic_141445-09 i86pc i386 i86pc

3、查看系統(tǒng)運(yùn)行時(shí)間

root@solaris10:/var/adm # uptime
  4:02pm  up 11 day(s), 23:07,  1 user,  load average: 0.00, 0.00, 0.00

4、查看系統(tǒng)是否為64bit

root@solaris10:/var/adm # isainfo -v
64-bit amd64 applications
        pclmulqdq aes sse4.2 sse4.1 ssse3 popcnt tscp cx16 sse3 sse2 sse fxsr
        mmx cmov amd_sysc cx8 tsc fpu
32-bit i386 applications
        pclmulqdq aes sse4.2 sse4.1 ssse3 popcnt tscp cx16 sse3 sse2 sse fxsr
        mmx cmov sep cx8 tsc fpu

5、查看系統(tǒng)cpu

root@solaris10:/var/adm # psrinfo -v
Status of virtual processor 0 as of: 08/13/2018 16:03:27
  on-line since 08/01/2018 16:55:31.
  The i386 processor operates at 2300 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 1 as of: 08/13/2018 16:03:27
  on-line since 08/01/2018 16:55:31.
  The i386 processor operates at 2300 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 2 as of: 08/13/2018 16:03:27
  on-line since 08/01/2018 16:55:32.
  The i386 processor operates at 2300 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 3 as of: 08/13/2018 16:03:27
  on-line since 08/01/2018 16:55:32.
  The i386 processor operates at 2300 MHz,
        and has an i387 compatible floating point processor.

6、查看系統(tǒng)內(nèi)存

root@solaris10:/var/adm # prtconf
System Configuration:  Sun Microsystems  i86pc
Memory size: 8192 Megabytes
System Peripherals (Software Nodes):
 
i86pc
    scsi_vhci, instance #0
    isa, instance #0
        i8042, instance #0
            keyboard, instance #0
            mouse, instance #0
        motherboard (driver not attached)
        fdc, instance #0
            fd, instance #0
    pci, instance #0
        pci15ad,1976 (driver not attached)
        pci8086,7191, instance #0
        pci15ad,1976 (driver not attached)
        pci-ide, instance #0
            ide (driver not attached)
            ide, instance #1
                sd, instance #1
        pci15ad,1976 (driver not attached)
        pci15ad,740 (driver not attached)
        display, instance #0
        pci15ad,1976, instance #0
            sd, instance #0
        pci15ad,790, instance #1
            pci15ad,750, instance #0
            pci1274,1371, instance #0 (driver not attached)
        pci15ad,7a0, instance #0
        pci15ad,7a0, instance #1
        pci15ad,7a0, instance #2
        pci15ad,7a0, instance #3
        pci15ad,7a0, instance #4
        pci15ad,7a0, instance #5
        pci15ad,7a0, instance #6
        pci15ad,7a0, instance #7
        pci15ad,7a0, instance #8
        pci15ad,7a0, instance #9
        pci15ad,7a0, instance #10
        pci15ad,7a0, instance #11
        pci15ad,7a0, instance #12
        pci15ad,7a0, instance #13
        pci15ad,7a0, instance #14
        pci15ad,7a0, instance #15
        pci15ad,7a0, instance #16
        pci15ad,7a0, instance #17
        pci15ad,7a0, instance #18
        pci15ad,7a0, instance #19
        pci15ad,7a0, instance #20
        pci15ad,7a0, instance #21
        pci15ad,7a0, instance #22
        pci15ad,7a0, instance #23
        pci15ad,7a0, instance #24
        pci15ad,7a0, instance #25
        pci15ad,7a0, instance #26
        pci15ad,7a0, instance #27
        pci15ad,7a0, instance #28
        pci15ad,7a0, instance #29
        pci15ad,7a0, instance #30
        pci15ad,7a0, instance #31
    iscsi, instance #0
    pseudo, instance #0
    options, instance #0
    agpgart, instance #0 (driver not attached)
    objmgr, instance #0
    xsvc, instance #0
    acpi (driver not attached)
    used-resources (driver not attached)
    cpus, instance #0
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)

7、查看系統(tǒng)分區(qū)

root@solaris10:/var/adm # df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c1t0d0s0      6.4G   3.5G   2.9G    55%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   6.9G   844K   6.9G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                       6.4G   3.5G   2.9G    55%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   6.9G    40K   6.9G     1%    /tmp
swap                   6.9G    28K   6.9G     1%    /var/run
/dev/dsk/c1t0d0s7       13G    13M    13G     1%    /export/home

8、查看swap

root@solaris10:/var/adm # swap -l
swapfile             dev  swaplo blocks   free
/dev/dsk/c1t0d0s1   32,1       8 1076344 1076344

9、查看主機(jī)名

root@solaris10:/ # hostname
solaris10

10、查看ip地址

root@solaris10:/ # ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
        inet 172.16.251.130 netmask ffffff00 broadcast 172.16.251.255
        ether 0:c:29:44:3b:b9


向AI問(wèn)一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI