Solaris 与系统信息有关的操作命令(转)[@more@]Solaris 与系统信息有关的操作命令
administrate command
1.iostat -c 1 10
2.kstat
3./usr/platform/sun4u/sbin/prtdiag >hwinfo.dat
4.prtconf |grep Memory
5.psrinfo
6.mpstat 5
system calls
1.meminfo
2.struct statvfs fsbuf
statvfs("/root",&fsbuf)
return fsbuf.f_bavail
3.pcsample (cpu)
4.times
5.ustat
6.getcpuid
7.gethostid
8.getloadavg
9.truncate
10./proc
11.setrlimit
12.rctl
13.prtvtoc /dev/rdsk/c0t0d0s0
14.format > >inquiry
15.iostat -E
16.more /opt/SUNWexplo/bin/diskinfo.sparc(i386)
administrate command
1.iostat -c 1 10
2.kstat
3./usr/platform/sun4u/sbin/prtdiag >hwinfo.dat
4.prtconf |grep Memory
5.psrinfo
6.mpstat 5
system calls
1.meminfo
2.struct statvfs fsbuf
statvfs("/root",&fsbuf)
return fsbuf.f_bavail
3.pcsample (cpu)
4.times
5.ustat
6.getcpuid
7.gethostid
8.getloadavg
9.truncate
10./proc
11.setrlimit
12.rctl
13.prtvtoc /dev/rdsk/c0t0d0s0
14.format > >inquiry
15.iostat -E
16.more /opt/SUNWexplo/bin/diskinfo.sparc(i386)
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10617731/viewspace-959088/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10617731/viewspace-959088/