check process of tdm_reaper
This commit is contained in:
parent
48ec660d2d
commit
4289b16bab
7
makefile
7
makefile
@ -48,6 +48,13 @@ $(SRC).o : lib/$(SRC).cpp lib/$(SRC).hpp lib/tdm_datamodel.hpp
|
||||
clean :
|
||||
rm -f $(EXE) *.o
|
||||
|
||||
# --------------------------------------------------------------------------- #
|
||||
# check process
|
||||
|
||||
checkps :
|
||||
@ps aux | head -n1
|
||||
@ps aux | grep $(EXE) | grep -v "grep"
|
||||
|
||||
# --------------------------------------------------------------------------- #
|
||||
# python module
|
||||
#
|
||||
|
@ -4,6 +4,8 @@
|
||||
|
||||
#include <filesystem>
|
||||
#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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user