Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Running status Statistics of the system using sar Command of linux

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Xiaobian to share with you the use of linux sar command system running status statistics, I hope you read this article after the harvest, let us discuss it together!

The sar command is a system health statistics tool under Linux that displays specified operating system status counters to standard output devices.

The sar tool samples the current state of the system and calculates data and scales to represent the current operating state of the system. Its characteristic is that it can continuously sample the system and obtain a large number of sampling data. Both the sampled data and the results of the analysis can be stored in files, consuming very little system resources.

Syntax format: sar [parameter]

Common parameters:

-R shows memory status-b shows I/O rate-B shows page change status-d shows status of each block device-i Time between status information refreshes-u shows CPU utilization

Reference Example

Use the-R parameter to display memory information:

[root@linuxcool ~]# sar -R

Use the-b parameter to display the I/O rate:

[root@linuxcool ~]# sar -R

Use the-u parameter to display CPU utilization:

[root@linuxcool ~]# sar -u After reading this article, I believe you have a certain understanding of the running status statistics of the sar command system using linux. If you want to know more about it, welcome to pay attention to the industry information channel. Thank you for reading!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report