modified README.md +4 -4
| @@ -56,8 +56,8 @@ average short spikes away. |
| 56 | 56 | |
| 57 | 57 | ```sh |
| 58 | 58 | # Arch |
| 59 | | -sudo pacman -S atop |
| 60 | | -sudo systemctl enable --now atop.service atopacct.service atop-rotate.timer |
| 59 | +run0 pacman -S atop |
| 60 | +run0 systemctl enable --now atop.service atopacct.service atop-rotate.timer |
| 61 | 61 | ``` |
| 62 | 62 | |
| 63 | 63 | `atopacct.service` adds process accounting, so processes that exited during an |
| @@ -68,8 +68,8 @@ The default sample interval is 600s, which averages a two-minute spike into |
| 68 | 68 | near-invisibility. For chasing spikes, drop it to 60s: |
| 69 | 69 | |
| 70 | 70 | ```sh |
| 71 | | -sudo sed -i 's/^LOGINTERVAL=.*/LOGINTERVAL=60/' /etc/default/atop |
| 72 | | -sudo systemctl restart atop.service |
| 71 | +run0 sed -i 's/^LOGINTERVAL=.*/LOGINTERVAL=60/' /etc/default/atop |
| 72 | +run0 systemctl restart atop.service |
| 73 | 73 | ``` |
| 74 | 74 | |
| 75 | 75 | That is ~10x the samples; `LOGGENERATIONS` in the same file controls retention |
| @@ -56,8 +56,8 @@ average short spikes away. |
| 56 | | 56 | |
| 57 | ```sh | 57 | ```sh |
| 58 | # Arch | 58 | # Arch |
| 59 | -sudo pacman -S atop | 59 | +run0 pacman -S atop |
| 60 | -sudo systemctl enable --now atop.service atopacct.service atop-rotate.timer | 60 | +run0 systemctl enable --now atop.service atopacct.service atop-rotate.timer |
| 61 | ``` | 61 | ``` |
| 62 | | 62 | |
| 63 | `atopacct.service` adds process accounting, so processes that exited during an | 63 | `atopacct.service` adds process accounting, so processes that exited during an |
| @@ -68,8 +68,8 @@ The default sample interval is 600s, which averages a two-minute spike into |
| 68 | near-invisibility. For chasing spikes, drop it to 60s: | 68 | near-invisibility. For chasing spikes, drop it to 60s: |
| 69 | | 69 | |
| 70 | ```sh | 70 | ```sh |
| 71 | -sudo sed -i 's/^LOGINTERVAL=.*/LOGINTERVAL=60/' /etc/default/atop | 71 | +run0 sed -i 's/^LOGINTERVAL=.*/LOGINTERVAL=60/' /etc/default/atop |
| 72 | -sudo systemctl restart atop.service | 72 | +run0 systemctl restart atop.service |
| 73 | ``` | 73 | ``` |
| 74 | | 74 | |
| 75 | That is ~10x the samples; `LOGGENERATIONS` in the same file controls retention | 75 | That is ~10x the samples; `LOGGENERATIONS` in the same file controls retention |