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
7.prstat
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)
阅读(743) | 评论(0) | 转发(0) |