Linux Programming Learning: Linux operations must-have system tools

Source: Internet
Author: User
Tags cpu usage

XXX education, the exclusive creation of "Linux Cloud computing architect course". This is the exclusive all-stack Linux operations course, including "public cloud + private cloud + automated operation and maintenance +python operation and development" and other core development technologies, including "private Cloud Course" is the most complete counterparts. It is noteworthy that the private cloud is the highest paid in the operations industry.

What's more, XXX education Linux Operations course content, or by the 29th Red Hat certified architect in China, is written by him and another industry big Tang teacher together. Curriculum content closely to the front line, real-time dynamic update, strength to build Linux operations industry leader.

1, acct or PSACCT

Acct also called PSACCT (depending on whether you use Apt-get or yum) to monitor all user-executed commands, including CPU time and memory consumption. Once the installation is complete, you can use the command SA to view the statistics.

2, Whowatch

Like acct, this tool monitors all the users on the system and allows you to see in real time the commands they are executing and the processes they are running. It outputs all the processes in a tree-like structure so you can see exactly what's going on.

3, Strace

Strace is used to diagnose, debug, and monitor the process of mutual invocation between programs. The most common practice is to use the Strace printing system to invoke the list of programs, which can see whether the program is executed as expected.

4. DTrace

DTrace can be said to be Strace's eldest brother. It dynamically tracks instructions that run in real time with the instrumented code. It allows you to drill down into its performance and diagnose faults. However, it is not simple, there are more than 1200 books on this topic.

5, Webmin

Webmin is a WEB-based system management tool. It does not require manual editing of UNIX configuration files, allowing you to manage your system remotely. It has a pair of monitoring modules for connecting it.

6. Stat

Stat is a built-in tool for displaying status information for files and file systems. It shows when the file was modified, accessed, or changed.

7, Ifconfig

Ifconfig is a built-in tool for configuring network interfaces. Most network monitoring tools use Ifconfig to set the network card into chaotic mode to capture all packets. You can manually perform ifconfig eth0 Promisc into chaos mode, using Ifconfig Eth0-promisc to return to normal mode.

8, Ulimit

Ulimit is a built-in tool that monitors system resources and can limit any monitoring resources to be exceeded. For example, to do a forkxxx, if the use of ULIMIT properly configured will be completely unaffected.

9, CPULimit

CPULimit is a small tool used to monitor and limit the CPU usage of the process. It can be used to keep the CPU usage of the batch job in a certain range.

10, LSHW

LSHW is a small built-in tool that can extract detailed information about the native hardware configuration. It can output the CPU version and motherboard configuration. W is a built-in command to display information about the currently logged-on user and the processes they are running.

11, Lsof

Lsof is a built-in tool that allows you to list all open files and network connections. From there you can see which process the file was opened on, based on the process name to find its specific user, or to kill all processes belonging to a user.

Linux Programming Learning: Linux operations must-have system tools

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.