Linux: View File handle usage, linux: View File handle

Source: Internet
Author: User

Linux: View File handle usage, linux: View File handle

Linux 3.2.0-23-generic (linux)    09/08/2014      _x86_64_        (8 CPU)02:01:55 PM dentunusd   file-nr  inode-nr    pty-nr02:02:05 PM     38465      1568     25731         402:02:15 PM     38465      1568     25728         402:02:25 PM     38465      1536     25723         4Average:        38465      1557     25727         4


Output description:

 

Kbmemfree: this value is basically the same as the free value in the free command, so it does not include the buffer and cache space.

 

Kbmemused: this value is basically the same as the used value in the free command, so it includes the buffer and cache space.

 

% Memused: this value is a percentage of kbmemused and total memory (excluding swap.

 

Kbbuffers and kbcached: These two values are buffer and cache in the free command.

 

Kbcommit: Ensure the memory required by the current system, that is, the memory required to ensure no overflow (RAM + swap ).

 

% Commit: this value is a percentage of kbcommit and total memory (including swap ).



How does one view the opened file handle in linux?

Ls-al ls-I

Linux handle count

First, determine the PID of the java program, pidof java
Then go to the/proc/'pidof Java'/fd directory and check the number of opened file handles in wc-l.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.