[Linux] I tried to summarize the command of resource confirmation system

Recently, I started learning LPIC201, but since there are many resource confirmation commands, I decided to summarize them.

sar command

sar [Option] [Display interval (seconds) [Number of times]] Converts the binary data collected by the sadc command into text format and displays various information.

option meaning
-u Show CPU usage
-P number or ALL Show specified CPU usage
-r Show physical memory usage
-S Show swap space usage
-b Disc I/Show the status of O
-n DEV Display information on sent / received packets on the network interface
-n EDEV Displays information about transmission / reception error packets on the network interface
-f file name Specify the log file to retrieve the data

ss command

ss [option] Display information about network status. An alternative to netstat.

option meaning
-a Show all sockets
-n Display address and port numerically
-t Show tcp
-u Show udp

Other

command meaning
w View logged-in users and their process information
mpstat Shows CPU usage on multiprocessor systems
vmstat Displays detailed information on physical memory and swap area, as well as process and CPU statistics.
iostat Disc I/Display O information and CPU usage
netstat Display information about network status
free Display memory and swap area usage
pidstat Display the operating status of each running process
uptime Display system uptime and average load
top CPU and memory usage status for each process is updated and displayed at regular intervals.
htop Power-up version of top command
iotop Disc I/Display O information for each process

At the end

There are many commands with similar meanings and it is difficult to remember ... I will update it as I learn new commands!

Recommended Posts

[Linux] I tried to summarize the command of resource confirmation system
I tried to summarize the umask command
[Linux] I tried to verify the secure confirmation method of FQDN (CentOS7)
I tried to summarize the basic form of GPLVM
I tried to summarize the string operations of Python
[Machine learning] I tried to summarize the theory of Adaboost
I tried to summarize the graphical modeling.
I tried to summarize the frequently used implementation method of pytest-mock
I tried to touch the API of ebay
I tried to correct the keystone of the image
LeetCode I tried to summarize the simple ones
I tried to predict the price of ETF
I tried to vectorize the lyrics of Hinatazaka46!
I tried to summarize the logical way of thinking about object orientation.
I tried to summarize the Linux commands used by beginner engineers today-Part 1-
I tried to summarize how to use matplotlib of python
I tried to summarize the settings for various databases of Django (MySQL, PostgreSQL)
I tried adding system calls and scheduler to Linux
I tried to reintroduce Linux
I tried to visualize the spacha information of VTuber
I tried to erase the negative part of Meros
I tried to summarize SparseMatrix
I didn't understand the Resize of TensorFlow so I tried to summarize it visually.
I tried to classify the voices of voice actors
[Linux] I learned LPIC lv1 in 10 days and tried to understand the mechanism of Linux.
I want to use Linux commands at the command prompt! Use Linux commands at the command prompt instead of Git Bash
I tried to find the entropy of the image with python
[Horse Racing] I tried to quantify the strength of racehorses
[First COTOHA API] I tried to summarize the old story
I tried to get the location information of Odakyu Bus
I tried to find the average of the sequence with TensorFlow
I tried to summarize the code often used in Pandas
[Python] I tried to visualize the follow relationship of Twitter
I tried to summarize the commands often used in business
I tried to fight the Local Minimum of Goldstein-Price Function
I tried to summarize how to use the EPEL repository again
[linux] kill command to kill the process
I tried to move the ball
I tried to estimate the interval.
I tried to rewrite the WEB server of the normal Linux programming 1st edition with C ++ 14
Implementation of recommendation system ~ I tried to find the similarity from the outline of the movie using TF-IDF ~
I tried to get the index of the list using the enumerate function
I tried to automate the watering of the planter with Raspberry Pi
I tried to build the SD boot image of LicheePi Nano
How to output the output result of the Linux man command to a file
I tried to summarize the commands used by beginner engineers today
I tried to expand the size of the logical volume with LVM
I used the worldcup command to check the outcome of the World Cup.
I tried to improve the efficiency of daily work with Python
I tried to visualize the common condition of VTuber channel viewers
I tried to summarize Python exception handling
I tried the asynchronous server of Django 3.0
I tried to recognize the wake word
[Slack api + Python] I tried to summarize the methods such as status confirmation and message sending
Python3 standard input I tried to summarize
[Linux] How to use the echo command
How to use the Linux grep command
I tried to estimate the pi stochastically
I tried to touch the COTOHA API
I tried to summarize the contents of each package saved by Python pip in one line
I tried to summarize Ansible modules-Linux edition