1.查看CPU的信息
[oracle@WZY ~]$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 480 @ 2.67GHz
stepping : 5
cpu MHz : 2660.069
cache size : 3072 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
……
……
2.查看内存信息
[oracle@WZY ~]$ cat /proc/meminfo
MemTotal: 1034664 kB
MemFree: 91668 kB
Buffers: 47860 kB
Cached: 641972 kB
SwapCached: 0 kB
Active: 382744 kB
Inactive: 508940 kB
HighTotal: 131008 kB
HighFree: 1932 kB
LowTotal: 903656 kB
LowFree: 89736 kB
SwapTotal: 4128760 kB
SwapFree: 4128760 kB
Dirty: 120 kB
Writeback: 0 kB
AnonPages: 201824 kB
Mapped: 141544 kB
……
……
3.查看文件的使用情况
[oracle@WZY ~]$ df -ha
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
16G 4.5G 11G 31% /
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
devpts 0 0 0 - /dev/pts
/dev/sda1 99M 13M 82M 14% /boot
tmpfs 506M 0 506M 0% /dev/shm
/dev/sdb1 20G 5.0G 14G 27% /u01/app/oracle
none 0 0 0 - /proc/sys/fs/binfmt_misc
none 0.0K 0.0K 0.0K - /proc/fs/vmblock/mountPoint
sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs
4.查看磁盘IO情况
[oracle@WZY ~]$ iostat -x
Linux 2.6.18-238.el5 (edbjr2p1) 10/15/2014
avg-cpu: %user %nice %system %iowait %steal %idle
1.79 0.04 1.66 7.60 0.00 88.91
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
sda 17.48 16.00 8.82 4.16 701.00 161.30 66.42 0.78 59.99 7.70 9.99
sda1 0.99 0.00 0.09 0.00 2.19 0.01 22.52 0.00 10.63 8.99 0.09
sda2 16.47 16.00 8.71 4.16 698.50 161.29 66.82 0.78 60.44 7.73 9.95
sdb 12.02 6.19 4.84 2.26 371.70 61.21 60.94 0.13 18.90 11.59 8.23
sdb1 11.96 6.19 4.80 2.26 370.85 61.21 61.15 0.13 18.98 11.62 8.21
dm-0 0.00 0.00 24.84 20.16 697.17 161.29 19.07 11.37 252.54 2.20 9.92
dm-1 0.00 0.00 0.13 0.00 1.08 0.00 8.00 0.00 12.66 1.28 0.02
5.查看当前文件夹下文件大小
[oracle@WZY ORCL]$ du -sh *
768K adump
792K bdump
8.0K cdump
1.1M udump