Tru64 Unix
1752772 會員
4756 線上
108789 解決方案
發表新文章

How we can find swap detail info

 
watermelonyu
教授

How we can find swap detail info

我們swapon -s 看到 Reserved space 被使用率,該如何可以得知何著Process Reserved 呢?
5則回覆 5
watermelonyu
教授

How we can find swap detail info

Tru64 has two paging modes, lazy and conservative. Conservative means

that paging space is allocated as memory is allocated, guaranteeing that there is always somewhere to page to

所以user loging進來,執行程式allocaate memory 同樣會去swap sapce allocate 一塊空間

不然你就改為lazy mode
watermelonyu
教授

How we can find swap detail info

如何改為lazy mode :

default system setting "vm-swap-eager=1" for swap reserved. You could change it to "0" in /etc/sysconfigtab then rebooting.
watermelonyu
教授

How we can find swap detail info

watermelonyu
教授

How we can find swap detail info

thanks for your response!

但是,如何能清楚得到在Reserved space內是有哪些Process 有Reserve swap 空間!
watermelonyu
教授

How we can find swap detail info

ps aux

VSZ 就是有用到virtual memory