Common tools for Linux system monitoring

Source: Internet
Author: User

common tools for Linux system monitoring

I. System core Toolkit (COREUTILS)

1./BIN/DF report The disk space usage of the system df-h display the disk partition fdisk-l

2./bin/uname Display System Information UNAME-SRVMO

Two. System Process Toolkit (PROCPS)

1./bin/ps Display system process ps-ef PS aux

2./USR/BIN/PGREP Filtering Display System process

3./usr/bin/free display of system memory usage

4./usr/bin/vmstat Reporting statistics for virtual memory

5./usr/bin/tload display the system average load on the terminal

6./usr/bin/uptime Display System Run time

7./usr/bin/top Dynamic Display System process tasks

8./usr/bin/watch to perform the specified command in full-screen mode on a recurring basis

Three. Show the process Open File Toolkit (lsof)

1./usr/sbin/lsof See which files, directories, and sockets are open by a running process

Four. User-to-Process Statistics Toolkit (PSACCT)

Brief information on 1./USR/BIN/AC login account

2./usr/bin/lastcomm Show commands that have been executed

3./usr/sbin/accton Turn process account logging on or off

4./usr/sbin/dump-acct the contents of the output Pacct file

5./usr/sbin/dump-utmp the contents of the output utmp file

Summary of 6./USR/SBIN/SA process account record information

Five. System Status Toolkit

The 1./usr/bin/iostat is used to output statistics for the CPU, I/O system, and disk partitions. can be used to analyze disk I/O, bandwidth and other information

The 2./usr/bin/mpstat is used to output various statistical information about the CPU. can be used to analyze the operation of the program in the kernel state and the user state.

3./usr/bin/sar is used to collect various state information of the system, and then monitor the state of the system at various time points.

4./USR/BIN/SADF display binary data collected by SAR in multiple formats

Six. System PCI Device Toolkit (pciutils)

1./SBIN/LSPCI displaying PCI devices

2./SBIN/SETPCI Configuring PCI Devices

3./sbin/update-pciids download a new version of the PCI ID list

Seven. System USB Device Toolkit (subutils)

1./SBIN/LSUSB Display USB Device

Common tools for Linux system monitoring

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.