Update readme
This commit is contained in:
parent
3acf6844d5
commit
3f42bf746f
@ -79,7 +79,7 @@ To use `PSI`:
|
|||||||
- VmRSS is about 10 - 12 MiB instead of the settings, about 10 MiB by default.
|
- VmRSS is about 10 - 12 MiB instead of the settings, about 10 MiB by default.
|
||||||
- CPU usage depends on the level of available memory and monitoring intensity.
|
- CPU usage depends on the level of available memory and monitoring intensity.
|
||||||
|
|
||||||
## How to install nohang
|
## How to install
|
||||||
|
|
||||||
To install the latest version:
|
To install the latest version:
|
||||||
```bash
|
```bash
|
||||||
@ -140,7 +140,7 @@ optional arguments:
|
|||||||
check and print config
|
check and print config
|
||||||
```
|
```
|
||||||
|
|
||||||
## How to configure nohang
|
## How to configure
|
||||||
|
|
||||||
The program can be configured by editing the [config file](https://github.com/hakavlad/nohang/blob/master/nohang.conf). The configuration includes the following sections:
|
The program can be configured by editing the [config file](https://github.com/hakavlad/nohang/blob/master/nohang.conf). The configuration includes the following sections:
|
||||||
|
|
||||||
@ -285,15 +285,12 @@ Process with highest badness (found in 55 ms):
|
|||||||
## Logging
|
## Logging
|
||||||
|
|
||||||
To view the latest entries in the log (for systemd users):
|
To view the latest entries in the log (for systemd users):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo journalctl -eu nohang
|
$ sudo journalctl -eu nohang
|
||||||
```
|
```
|
||||||
See also `man journalctl`.
|
|
||||||
|
|
||||||
You can also enable `separate_log` in the config to logging in `/var/log/nohang/nohang.log`.
|
You can also enable `separate_log` in the config to logging in `/var/log/nohang/nohang.log`.
|
||||||
|
|
||||||
|
|
||||||
## Additional tools: oom-sort, psi-top, psi-monitor
|
## Additional tools: oom-sort, psi-top, psi-monitor
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user