Linux System Management-Process management-system Resource View

Source: Internet
Author: User

01. Monitoring System Resource Command = Vmstat [refresh delay Refresh]

Example: Vmstat 2 3: Refresh 2 seconds, refresh 3 times

02, boot-time kernel detection information = DMESG | grep CPU

03. View Memory Usage status = Free-m

04. View CPU Information = Cat/proc/cpuinfo

05. Display system start time and average load (top first row) = Uptime

06. View system and kernel related information = uname [options]

Options:

-A: View all relevant information about the system;

-r: View kernel version

-S: View kernel name

07. Determine the current system's number of bits = File/bin/ls

08, the current Linux system release Version = Lsb_release-a

09. List the information of the process call or open File = = lsof [Options]

Options:

-C string: Only files opened with a process beginning with a string are listed

-u user name: List only files opened by a user's process

-P PID: Lists files opened by a PID process

Linux System Management-Process management-system Resource View

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.