[CentOS] Seeing rlimits on CentOS 4

Tue Dec 6 18:08:32 UTC 2011
Stephen Harris <lists at spuddy.org>

This is probably something any SA should know... but I don't!

On CentOS 5 I can see what a process's current soft and hard
limits are; /proc/<pid>/limits

However this isn't in the C4 kernel.  Is there any easy way of determining
what the process rlimit values are?

% uname -a ; cat /etc/redhat-release
Linux c4 2.6.20.7 #3 Sun May 2 16:30:15 EDT 2010 i686 i686 i386 GNU/Linux
CentOS release 4.8 (Final)

(yes, I know this machine should be updated, but...)


-- 

rgds
Stephen