We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62dd230 commit d223cf2Copy full SHA for d223cf2
mamonsu/plugins/pgsql/plugin.py
@@ -1,4 +1,3 @@
1
-import psutil
2
from mamonsu.lib.plugin import Plugin, PluginDisableException
3
from .pool import Pooler
4
@@ -43,6 +42,7 @@ def get_num_of_children_pids():
43
42
data = line.split()
44
if data[0] == "PPid:":
45
ppid = data[1]
+ import psutil
46
try:
47
parent = psutil.Process(int(ppid))
48
except psutil.NoSuchProcess:
0 commit comments