Linux monitor (files, processes, network connections...) in C++