summaryrefslogtreecommitdiffstats
path: root/src/pvs.cpp
diff options
context:
space:
mode:
authorFabian Schillinger2010-07-09 21:18:44 +0200
committerFabian Schillinger2010-07-09 21:18:44 +0200
commit5acd0590258e9335cf4d3b1910a517efccd22a3e (patch)
tree5c2a127249fac6f8ba15d132c2cd6ef00e6a577f /src/pvs.cpp
parentBuilding rpms is now supported. On Debian based systems you need the rpm pack... (diff)
downloadpvs-5acd0590258e9335cf4d3b1910a517efccd22a3e.tar.gz
pvs-5acd0590258e9335cf4d3b1910a517efccd22a3e.tar.xz
pvs-5acd0590258e9335cf4d3b1910a517efccd22a3e.zip
first commit to test git
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