I am trying to run command “ulimit -n
” & pasting its output to a text file on Linux Servers, its running fine but that output which its creating is not matching at all with user created file or system entries.
ulimit -n referring the ulimit entries in file /etc/security/limits.conf
which is -
-
hard nofile 8040
-
soft nofile 8040
When I am running ulimit -n
with root privilege using my ID manually on linux box its generating output of “8040
” but whenever I am running it from Bigfix its generating output “1024
”
So just want to check if anyone experiencing or experienced same scenario or was able to understand why this is happening ?
Below are the methods which I used to run it with different ways but no luck.
*Appendfile
*Creatfile
*Sh script directly
And more interesting, even when I am running bigfix created appendfile/creatfile shell script manually that creating output of 8040