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到哪里去
了? |
|