Three years of drinking ice-AI-linux-05 Linux process

Source: Internet
Author: User

1:top command to view CPU usage. (because top is a real-time refresh, memory consumption is larger)

P: In descending order of CPU usage

M: In descending order of memory utilization

2:free command to view memory usage

Free-m in units of M

Free-h in G

3: Common Process monitoring commands

3.1 PS aux

3.2 grep Filter

Filtering the INIT process

PS aux | grep ' Init

Reverse Match-V

Kill the Process Kill

pkill-9 + "process name" kills process based on process name

Background process

Firefox &: Representing background processes

Jobs: Viewing background processes

FG% Number: Background program transferred to foreground process

Pstree

Three years of drinking ice-AI-linux-05 Linux process

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.