fix typo
This commit is contained in:
parent
fbd430c0e9
commit
5b58e0655e
@ -136,7 +136,7 @@ optional arguments:
|
|||||||
path to the config file, default values:
|
path to the config file, default values:
|
||||||
./nohang.conf, /etc/nohang/nohang.conf
|
./nohang.conf, /etc/nohang/nohang.conf
|
||||||
-cc CONFIG, --check-config CONFIG
|
-cc CONFIG, --check-config CONFIG
|
||||||
ckeck and print config
|
check and print config
|
||||||
```
|
```
|
||||||
|
|
||||||
## How to configure nohang
|
## How to configure nohang
|
||||||
|
6
nohang
6
nohang
@ -979,7 +979,7 @@ def zram_stat(zram_id):
|
|||||||
Get zram state.
|
Get zram state.
|
||||||
|
|
||||||
zram_id: str zram block-device id
|
zram_id: str zram block-device id
|
||||||
returns bytes diskcize, str mem_used_total
|
returns bytes disksize, str mem_used_total
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
disksize = rline1('/sys/block/' + zram_id + '/disksize')
|
disksize = rline1('/sys/block/' + zram_id + '/disksize')
|
||||||
@ -1079,7 +1079,7 @@ def get_pid_list():
|
|||||||
"""
|
"""
|
||||||
pid_list = []
|
pid_list = []
|
||||||
for pid in os.listdir('/proc'):
|
for pid in os.listdir('/proc'):
|
||||||
if os.path.exists('/proc/' + pid + '/exe') is True:
|
if os.path.exists('/proc/' + pid + '/exe'):
|
||||||
pid_list.append(pid)
|
pid_list.append(pid)
|
||||||
return pid_list
|
return pid_list
|
||||||
|
|
||||||
@ -2268,7 +2268,7 @@ optional arguments:
|
|||||||
path to the config file, default values:
|
path to the config file, default values:
|
||||||
./nohang.conf, /etc/nohang/nohang.conf
|
./nohang.conf, /etc/nohang/nohang.conf
|
||||||
-cc CONFIG, --check-config CONFIG
|
-cc CONFIG, --check-config CONFIG
|
||||||
ckeck and print config"""
|
check and print config"""
|
||||||
|
|
||||||
|
|
||||||
SC_CLK_TCK = os.sysconf(os.sysconf_names['SC_CLK_TCK'])
|
SC_CLK_TCK = os.sysconf(os.sysconf_names['SC_CLK_TCK'])
|
||||||
|
2
nohang.1
2
nohang.1
@ -46,7 +46,7 @@ Nohang is a highly configurable daemon for Linux which is able to correctly prev
|
|||||||
./nohang.conf, /etc/nohang/nohang.conf
|
./nohang.conf, /etc/nohang/nohang.conf
|
||||||
|
|
||||||
-cc CONFIG, --check-config CONFIG
|
-cc CONFIG, --check-config CONFIG
|
||||||
ckeck and print config
|
check and print config
|
||||||
|
|
||||||
.SH HOW TO CONFIGURE
|
.SH HOW TO CONFIGURE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user