How to query the maximum file handle in linux


 description

Under Linux, the ulimit command can be used to view the maximum number of file handles that a single process can open.

File handle: It is an index created by the kernel to efficiently manage the opened file, which is used to refer to the opened file.

 command

ulimit -n

 parameter

-n : Used to reference or set the current limit on the number of file handles

 result

1024
Was this helpful?

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.