Talk:Resource Limits

From Linux-VServer

Revision as of 23:12, 7 March 2008 by 82.67.65.112 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note on getting one's system page size: GNU libc comes with the 'getconf' command, simply invoke: getconf PAGE_SIZE. Example in bash: mb=$((1024*1024 / `getconf PAGE_SIZE`)) echo $((100 * $mb) > /etc/vservers/my/rlimit/rss

Personal tools