Common commands for Linux and Unix system optimization

Source: Internet
Author: User
Tags dmesg
Dmesg displays kernel information, when a module loaded in the hardware or kernel has a problem, some useful information can be provided. top: display the actual CPU usage. sar is used to collect, report, and save system information. iostat is displayed after the system is started. average CPU time, disk Subsystem usage v...

 

Dmesg displays kernel information. some useful information can be provided when a module loaded in the hardware or kernel has a problem.

 

Top: displays the actual CPU usage

 

Sar is used to collect, report, and store system information.

 

Iostat displays the average CPU time and disk subsystem usage after the system is started.

 

Vmstat monitors process, memory, page I/O blocks, CPU, and other information

 

Mpstat monitors the status of each CPU in multiple CPU systems

 

Ulimit-a controls resource usage

 

Pmap displays the number of memory used by processes.

 

Lsof displays the files used by the process

 

Free-m display memory usage

Related Article

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.