Talk:Resource Limits: Difference between revisions
From Linix VServer
Jump to navigationJump to search
(New page: 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 * ...) |
(No difference)
|
Latest revision as of 22:12, 7 March 2008
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