我在不同的时间在Solaris 10服务器上为交换内存(/ tmp文件系统)获取不同的df -h输出。我找不到实际的原因,我也很困惑怎么会这样呢?
我在不同时间获得这些输出。
1) w0110Da04 ins / apps / ins> df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 9.9G 1.5G 8.3G 16% /
/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 508M 1.0M 507M 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/dev/dsk/c1t0d0s3 20G 4.2G 15G 22% /usr
/usr/lib/libc/libc_hwcap2.so.1
20G 4.2G 15G 22% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
/dev/dsk/c1t0d0s4 20G 7.3G 12G 38% /var
***swap 578M 71M 507M 13% /tmp***
swap 507M 32K 507M 1% /var/run
/dev/dsk/c1t1d0s0 135G 101G 33G 76% /int01
/dev/dsk/c1t2d0s0 135G 6.9G 126G 6% /int02
/dev/dsk/c1t0d0s5 20G 637M 19G 4% /apps
/dev/dsk/c1t0d0s6 15G 7.4G 7.2G 51% /export/home
LDAP 244G 57G 187G 24% /LDAP
Here, /tmp has total size 578 MB. But in the second output below, I have:
2) root@***w0110Da04*** # df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 9.9G 1.5G 8.3G 16% /
/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 28G 1.0M 28G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/dev/dsk/c1t0d0s3 20G 4.2G 15G 22% /usr
/usr/lib/libc/libc_hwcap2.so.1
20G 4.2G 15G 22% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
/dev/dsk/c1t0d0s4 20G 7.3G 12G 38% /var
***swap 29G 707M 28G 3% /tmp***
swap 28G 36K 28G 1% /var/run
/dev/dsk/c1t1d0s0 135G 103G 30G 78% /int01
/dev/dsk/c1t2d0s0 135G 6.9G 126G 6% /int02
/dev/dsk/c1t0d0s5 20G 637M 19G 4% /apps
/dev/dsk/c1t0d0s6 15G 7.4G 7.2G 51% /export/home
LDAP 244G 56G 188G 23% /LDAP
这里,/ tmp的总大小为29GB。
两者都是交换记忆,那么同一台服务器的大小差异如何,但在不同的时间,总交换大小也是如此?
请帮忙。
答案 0 :(得分:-1)
Mby你的openldap或某个应用程序使用tmp目录?试试ls -laerth / tmp