Update readme

This commit is contained in:
Alexey Avramov 2020-12-31 22:35:43 +09:00
parent f8c7b96663
commit 0f0fa31422

View File

@ -61,10 +61,10 @@ Of course, you can also [download more RAM](https://downloadmoreram.com/), tune
- `kill -INT $PID` (you can override the signal sent to the victim, $PID will be replaced by the victim's PID). - `kill -INT $PID` (you can override the signal sent to the victim, $PID will be replaced by the victim's PID).
- GUI notifications: - GUI notifications:
- Notification of corrective actions taken and displaying the name and PID of the victim; - Notification of corrective actions taken and displaying the name and PID of the victim;
- Low memory warnings (displays available memory). - Low memory warnings.
- [zram](https://www.kernel.org/doc/Documentation/blockdev/zram.txt) support (`mem_used_total` as a trigger); - [zram](https://www.kernel.org/doc/Documentation/blockdev/zram.txt) support (`mem_used_total` as a trigger);
- [PSI](https://lwn.net/Articles/759658/) ([pressure stall information](https://facebookmicrosites.github.io/psi/)) support; - [PSI](https://lwn.net/Articles/759658/) ([pressure stall information](https://facebookmicrosites.github.io/psi/)) support;
- Easy configuration with a commented [config file](https://github.com/hakavlad/nohang/blob/master/conf/nohang/nohang.conf.in). - Easy setup with configuration files ([nohang.conf](https://github.com/hakavlad/nohang/blob/master/conf/nohang/nohang.conf.in), [nohang-desktop.conf](https://github.com/hakavlad/nohang/blob/master/conf/nohang/nohang-desktop.conf.in)).
## Demo ## Demo
@ -114,13 +114,13 @@ To show GUI notifications (optional):
## How to install ## How to install
#### To install on Fedora 30+: #### To install on Fedora:
```bash ```bash
$ sudo dnf install nohang-desktop $ sudo dnf install nohang-desktop
$ sudo systemctl enable --now nohang-desktop.service $ sudo systemctl enable --now nohang-desktop.service
``` ```
#### To install on CentOS 7 and RHEL 8: #### To install on RHEL 7 and RHEL 8:
nohang is avaliable in [EPEL repos](https://fedoraproject.org/wiki/EPEL). nohang is avaliable in [EPEL repos](https://fedoraproject.org/wiki/EPEL).
```bash ```bash
@ -129,8 +129,6 @@ $ sudo systemctl enable nohang.service
$ sudo systemctl start nohang.service $ sudo systemctl start nohang.service
``` ```
Also for RPM-based Linux distributions (Fedora, RHEL, openSUSE) there is a [Copr package](https://copr.fedorainfracloud.org/coprs/atim/nohang/).
#### For Arch Linux there's an [AUR package](https://aur.archlinux.org/packages/nohang-git/) #### For Arch Linux there's an [AUR package](https://aur.archlinux.org/packages/nohang-git/)
Use your favorite [AUR helper](https://wiki.archlinux.org/index.php/AUR_helpers). For example, Use your favorite [AUR helper](https://wiki.archlinux.org/index.php/AUR_helpers). For example,