Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

lsof command in RHEL4

KrishnaAgnihotriAug 16 2011 — edited Aug 16 2011
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 13 2011
Added on Aug 16 2011
3 comments
422 views