In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to view performance indicators under Linux, the article is very detailed, has a certain reference value, interested friends must read it!
Hard disk view command df
The most common argument to the hard disk view command df is-h, which displays disk partition usage in an easy-to-read manner.
df -h Common Linux server performance indicators View method! Common Linux server performance indicators view method! df -h /root/#Displays the usage of the partition where the directory is located in a readable manner
Common Linux server performance indicators view method! Common Linux server performance indicators view method!
Other common parameters:
-a: Show all file systems
-B: Specify the block size when displayed
-H: Display in 1000 bytes
-i: Display index byte information
-k: Show only local file systems
-t: Show only file systems of the specified type
-T: Display file system type when outputting
- sync: Execute sync command before getting disk usage information
Memory query command free Common parameters:
-b: Displays memory usage in bytes
-k: Displays memory usage in kilobytes
-m: Displays memory usage in MB
-g: displays memory usage in gb
Common Linux server performance indicators view method! Common Linux server performance indicators view method!
-t: Display the sum of memory usage
Command to view IO usage iostat
Requires installation of sysstat package Parameters:
Common Linux server performance indicators view method! Common Linux server performance indicators view method!
-c: Show CPU status only
-d: Displays only the status of the storage device and cannot be used with-c
Common Linux server performance indicators view method! Common Linux server performance indicators view method!
-k: Displays read block information in KB
Common Linux server performance indicators view method! Common Linux server performance indicators view method!
-t: Display date
Common Linux server performance indicators view method! Common Linux server performance indicators view method! Command toptop to display process dynamics in real time
It can display the resource occupation status of each process in the system in real time
Common Linux server performance indicators view method! Common Linux server performance indicators view method!
-d: Change the update rate of the display
-q: display speed without any delay
-n: Number of updates, exit after completion
View process information command ps commonly used Linux server performance indicators View method! Common Linux server performance indicators view method! View port usage command netstat Common Linux server performance indicators View method! Common Linux server performance indicators view method!
Common parameters:
-a: Display all sockets in the connection
-p: Displays the program ID and program name of the socket being used
Common Linux server performance indicators view method! Common Linux server performance indicators view method!
-u: shows the connection status of udp transmission protocol
The above is "How to view performance indicators under Linux" all the content of this article, thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.