Friday 21 August 2015

how to check user limits in shell initialization scripts in RHEL ?

We can see user oracle has these resource limits set in /etc/security/limits.conf:
oracle    soft  nproc  2047         -->      4096
oracle    hard  nproc  16384
oracle    soft  nofile  1024          -->     4096
oracle    hard  nofile  65536
Does this user also have some limits changed in his shell initialization scripts? We can check it with a command like this from the users account:
$ cat /proc/$$/limits
# cat /proc/sys/fs/file-nr
# ps auxm|wc

No comments:

Post a Comment