diff --git a/Software/Development/OperatingSystem/Linux/User/Linux_性能分析工具.md b/Software/Development/OperatingSystem/Linux/User/Linux_性能分析工具.md index 120e770..bb3caac 100644 --- a/Software/Development/OperatingSystem/Linux/User/Linux_性能分析工具.md +++ b/Software/Development/OperatingSystem/Linux/User/Linux_性能分析工具.md @@ -59,7 +59,41 @@ iostat sar ``` -## 5.Others +## 5.Glances + +```bash +pacman -S glances +``` + +### 5.1.Standalone Mode + +```bash +glances +``` + +### 5.2.Client/Server Mode + +```bash +# Server +glances -s [-B
] [-p ] +# Client +glances -c [-p ] +``` + +### 5.3.Web Server Mode + +```bash +pacman -S python-bottle +glances -s [-B
] [-p ] [--username] [--password] +``` + +To change the refresh rate of the page, just add the period in seconds at the end of the URL. For example, to refresh the page every 10 seconds: + +```blk +http://@server:61208/10 +``` + +## 6.Others ```bash dstat