summaryrefslogtreecommitdiffstats
path: root/src/pvs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pvs.cpp')
-rw-r--r--src/pvs.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/pvs.cpp b/src/pvs.cpp
index 2069e36..1531c3d 100644
--- a/src/pvs.cpp
+++ b/src/pvs.cpp
@@ -176,6 +176,18 @@ void PVS::onCommand(PVSMsg cmdMessage)
unlock();
return;
}
+ if (ident.compare("SHOWPROCESSES") == 0)
+ {
+ // show processes
+ // ConsoleLog writeNetwork(system("ps -f -N -U root"));
+ // emit showMessage("SHOWPROCESSES", "proce", true);
+ return;
+ }
+ if (ident.compare("KILLPROCESS") == 0)
+ {
+ // do stuff if process has to be killed
+ return;
+ }
#ifdef never
// prototype