check process of tdm_reaper

This commit is contained in:
Mario Fink 2021-01-19 20:43:45 +01:00
parent 48ec660d2d
commit 4289b16bab
2 changed files with 11 additions and 0 deletions

View File

@ -48,6 +48,13 @@ $(SRC).o : lib/$(SRC).cpp lib/$(SRC).hpp lib/tdm_datamodel.hpp
clean : clean :
rm -f $(EXE) *.o rm -f $(EXE) *.o
# --------------------------------------------------------------------------- #
# check process
checkps :
@ps aux | head -n1
@ps aux | grep $(EXE) | grep -v "grep"
# --------------------------------------------------------------------------- # # --------------------------------------------------------------------------- #
# python module # python module
# #

View File

@ -4,6 +4,8 @@
#include <filesystem> #include <filesystem>
#include <regex> #include <regex>
#include <thread>
#include <chrono>
// ------------------------------------------------------------------------- // // ------------------------------------------------------------------------- //
@ -239,6 +241,8 @@ int main(int argc, char* argv[])
// } // }
} }
std::this_thread::sleep_for(std::chrono::milliseconds(10000));
return 0; return 0;
} }