由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - 奇怪的swap,一部分不见了
相关主题
help for g77How to open/edit a huge text file
[转载] Byte Swap Needed?请教几个问题!!
How to resize partitions on Solaris 9??为什么linux可以正确读二进制文件unixbu不行?
[转载] 远程备份的问题a question about cpio
Re: how to track page faults when allocainterview question
please helpAm I in trouble?
blade 2500 internal SCSI diskHELP: Why the disk load is always so high?!
easy problem (合集) coconuthow to mount slave disk on SCO?
相关话题的讨论汇总
话题: swap话题: free话题: 1048568话题: dev话题: disk
进入Unix版参与讨论
1 (共1页)
b***d
发帖数: 186
1
bash-3.00# swap -l
swapfile dev swaplo blocks free
/dev/zvol/dsk/rpool/swap 181,1 8 1048568 1048568
bash-3.00# swap -s
total: 358208k bytes allocated + 159532k reserved = 517740k used, 368716k
available
swap -l 显示free有1048568 blocks,就是524284k,而
swap -s 显示free就只有368716k了。帮助里说swap -s包含了swap in disk device
and physical memory。也就是说available的应该是free swap space in disk device
+ free swap space in physical memory。但是这里怎么还比disk上的free的都少?
我在另外一台系统里也发现这个问题:
bash-3.00# swap -l
swapfile dev swaplo blocks free
/dev/md/dsk/d10 85,10 16 16780208 16780208
bash-3.00# swap -s
total: 10233704k bytes allocated + 430448k reserved = 10664152k used,
615408k available
disk上8G的swap space都没用呢,swap -s的available就只有600多M了,那8g到哪里去
了?
1 (共1页)
进入Unix版参与讨论
相关主题
how to mount slave disk on SCO?Re: how to track page faults when alloca
Ask help about swap space ( Urgent )please help
Re: [转载] HELP:如何产生(0..N-1)共N个"各不相同"的随机数?要求算法最快blade 2500 internal SCSI disk
[转载] cxtermeasy problem (合集) coconut
help for g77How to open/edit a huge text file
[转载] Byte Swap Needed?请教几个问题!!
How to resize partitions on Solaris 9??为什么linux可以正确读二进制文件unixbu不行?
[转载] 远程备份的问题a question about cpio
相关话题的讨论汇总
话题: swap话题: free话题: 1048568话题: dev话题: disk