minor fix
This commit is contained in:
parent
69224807da
commit
fd5a48eb31
@ -948,7 +948,7 @@ def get_victim_id(pid):
|
|||||||
|
|
||||||
|
|
||||||
def pid_to_state(pid):
|
def pid_to_state(pid):
|
||||||
""" ПЕРЕПИСАТЬ НАХРЕН - С БИН ЧТЕНИЕМ И НУЛЕВЫМ БУФЕРОМ==
|
"""
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
with open('/proc/' + pid + '/stat', 'rb') as f:
|
with open('/proc/' + pid + '/stat', 'rb') as f:
|
||||||
|
Loading…
Reference in New Issue
Block a user