Linux System Resource Management

Source: Internet
Author: User

PS aux view All processes

User This process is generated by the

PID Process ID

%cpu the percentage of CPU resources that the process consumes

%MEM the percentage of physical memory that the process occupies

VSZ This process consumes the virtual memory size in kilobytes

RSS This process consumes the physical memory size, in kilobytes

TTY the process runs at that terminal. Where tty1-7 represents the local console terminal, Tty1-6 is the local character interface terminal, Tty7 is a graphics terminal. PTS/0-255 represents a virtual terminal

STAT process status. Common run by R, s sleep, t stop, s contains child processes, + is located in the background

Start the process startup time

Time the process consumes CPU hours

Command name to generate this process

Vmstat [Refresh delay refresh Count] Monitor system resources

Uptime Displays the system start time and average load, which is the first line of the top command

Free-m View Memory usage status (in megabytes)

Kill-l viewing the available process signals

Example: kill-1 PID Restart process

Kill-9 PID forced shutdown process

Pkill-t kick the user according to the terminal number

Jobs-l Show background worker process and PID

FG work number restores the background paused work to the foreground execution

DMESG kernel detection information when booting

Cat/proc/cpuinfo Viewing CPU information

Uname-a viewing system and kernel-related information

File/bin/ls judging the number of system bits

Lsb_release-a viewing the System release version

Lsof list The file information that the process opens or uses

-C string lists only files opened with a process beginning with a string

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

-p PID lists files opened by a PID process

Linux System Resource Management

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.