diff options
author | Fabian Schillinger | 2010-07-09 21:18:44 +0200 |
---|---|---|
committer | Fabian Schillinger | 2010-07-09 21:18:44 +0200 |
commit | 5acd0590258e9335cf4d3b1910a517efccd22a3e (patch) | |
tree | 5c2a127249fac6f8ba15d132c2cd6ef00e6a577f /src/pvs.cpp | |
parent | Building rpms is now supported. On Debian based systems you need the rpm pack... (diff) | |
download | pvs-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.cpp | 12 |
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 |