Add note about atop
This commit is contained in:
parent
f9113c8ade
commit
ce61a27f1f
1 changed files with 27 additions and 0 deletions
27
notebook/Linux/Tools/atop.md
Normal file
27
notebook/Linux/Tools/atop.md
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Advanced System & Process Monitor
|
||||||
|
|
||||||
|
```sh
|
||||||
|
atop 1
|
||||||
|
```
|
||||||
|
Monitor system resources with a 1 second interval.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
atop -w /path/to/log/file 60
|
||||||
|
```
|
||||||
|
Record performance stats to a given file once per minute.
|
||||||
|
> [!WARNING]
|
||||||
|
> Keep intervals reasonably long to prevent report files from growing too large over time.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
atop -r /path/to/file
|
||||||
|
```
|
||||||
|
Open a previously recorded log to evaluate its contents.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
atopsar -A -b 8:00 -e 12:00
|
||||||
|
```
|
||||||
|
Print performance reports for a given time span.
|
||||||
|
|
||||||
|
>[!HINT]
|
||||||
|
>Use the `z` key to pause atop and evaluate the current snapshot of system resoures.
|
||||||
|
>The update interval can be changed with the `i` key.
|
Loading…
Reference in a new issue