lsof command in RHEL4
Hi
As per my understanding (i may be wrong in this) lsof command (list of open file) will give the information about open file in OS level.
when i do the command
lsof | wc -l
7840
and when i check
ulimit -n
I am getting 4096
as i was assuming that ulimit -n is the parameter which is controlling the max number of file which can be open at a time. and in my case ulimit -n output is less than lsof | wc -l
kindly correct me for this confusion.
thanks
Krishna