Linux process Real-time monitoring-htop

Source: Internet
Author: User

For Linux process management commonly used is top, but the top command display results are not very intuitive, find information more difficult, in addition to top also use PS to view the system process, but PS has a disadvantage, the command shows only the system process when running the command, not the real-time state.

In Linux management there is a more user-friendly real-time monitoring software htop, the software on top for some beautification, can be installed through the Repoforge Yum source.

Htop

Run the Htop command:

# Htop

Results:

As you can see, the results are very beautiful.

Parameters

-C--no-color using a monochrome color scheme

-D--delay=delay Setting delay update time in seconds

-H--help Display htop command Help information

-U--user=username only shows a procedure for a given user

-P--pid=pid,pid ... Show only the given PIDs

-S--sort-key column to sort by

-v–version displaying version information

Shortcut keys

The following is the function of F1~F10 and the corresponding letter shortcut keys.

Shortcut Key Function Key Description Chinese description
H? F1 Invoke Htop Help View Htop Usage Instructions
S F2 Htop Setup Menu Htop settings
/ F3 Search for a Process Search process
\ F4 Incremental Process Filtering Incremental process Filter
T F5 Tree View Show tree structure
<, > F6 Sort by a column Select the Sort method
[ F7 Nice-(change priority) The nice value can be reduced so that the priority of the corresponding process can be increased
] F8 Nice + (change priority) You can increase the nice value so that you can lower the priority of the corresponding process
K F9 Kill a Process Signals can be passed to the process
Q F10 Quit Htop End Htop

Tips

1, support keyboard up and down switch the selected process

2, support the mouse to select column header sorting

3, support press SPACEBAR to mark the current process

4. Support mouse click to select Process

Linux process Real-time monitoring-htop

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.