1、查看系统当前时间
root@solaris10:/var/adm # date Mon Aug 13 16:02:22 CST 2018
2、查看内核版本
root@solaris10:/var/adm # uname -a SunOS solaris10 5.10 Generic_141445-09 i86pc i386 i86pc
3、查看系统运行时间
root@solaris10:/var/adm # uptime 4:02pm up 11 day(s), 23:07, 1 user, load average: 0.00, 0.00, 0.00
4、查看系统是否为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、查看系统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、查看系统内存
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、查看系统分区
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、查看主机名
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
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。