Talk:Resource Limits

From Linux-VServer

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