update readme

This commit is contained in:
Alexey Avramov 2019-11-24 06:38:28 +09:00
parent c50aa06a0d
commit 52dfeb9b45

View File

@ -111,7 +111,7 @@ $ sudo systemctl enable --now nohang
#### To install on Debian and Ubuntu please make a deb package. #### To install on Debian and Ubuntu please make a deb package.
To install the latest version on any distro: #### To install the latest version on any distro:
```bash ```bash
$ git clone https://github.com/hakavlad/nohang.git $ git clone https://github.com/hakavlad/nohang.git
$ cd nohang $ cd nohang
@ -132,9 +132,9 @@ $ sudo systemctl enable nohang-desktop
$ sudo systemctl start nohang-desktop $ sudo systemctl start nohang-desktop
``` ```
To enable and start on systems without systemd please make a PR to fix Makefile. #### To enable and start on systems without systemd please make a PR to fix Makefile.
To uninstall: #### To uninstall:
```bash ```bash
$ sudo make uninstall $ sudo make uninstall
``` ```
@ -471,7 +471,7 @@ some 0.00 0.18 0.30 | full 0.00 0.18 0.30 /system.slice/systemd-log
``` ```
</details> </details>
### psi-monitor ### psi2log
It needs `Linux` >= 4.20 with `CONFIG_PSI=y`. It needs `Linux` >= 4.20 with `CONFIG_PSI=y`.
@ -479,8 +479,8 @@ It needs `Linux` >= 4.20 with `CONFIG_PSI=y`.
<summary>Output example</summary> <summary>Output example</summary>
``` ```
$ psi-monitor $ psi2log
Starting psi-monitor Starting psi2log
target: SYSTEM_WIDE target: SYSTEM_WIDE
period: 2 period: 2
------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------
@ -502,8 +502,8 @@ full memory 2.68 7.69 2.56
----------- ------ ------ ------ ----------- ------ ------ ------
some io 20.24 26.90 8.61 some io 20.24 26.90 8.61
full io 18.80 23.16 7.35 full io 18.80 23.16 7.35
$ psi-monitor -t /user.slice -l pm.log $ psi2log -t /user.slice -l pm.log
Starting psi-monitor Starting psi2log
target: /user.slice target: /user.slice
period: 2 period: 2
log file: pm.log log file: pm.log
@ -534,7 +534,8 @@ full io 0.54 7.52 6.80
## Contribution ## Contribution
Use cases, feature requests and any questions are [welcome](https://github.com/hakavlad/nohang/issues). - Use cases, feature requests and any questions are [welcome](https://github.com/hakavlad/nohang/issues).
- Pull requests in `dev` branch are welcome.
## Changelog ## Changelog