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
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
12.rctl
13.prtvtoc /dev/rdsk/c0t0d0s0
14.format > >inquiry
15.iostat -E
16.more /opt/SUNWexplo/bin/diskinfo.sparc(i386)
古月石 于 2006-10-01 17:31:12发表:
谢谢楼主分享!!!