Review of changes to be done before 5.0.0
Some major changes needed are:
-
Add ProcessInfo
class: we can make use of libproc2, or libprocess-cpp or perform a "raw" read of/proc/NNN
(NNN
are the process IDs). -
Review our code and decide if we really need the Disk
class (disk.cpp/disk.h). We should be able to replace it withStorageInfo
class. -
Since the public API does not expose CpuInfo
,DiskInfo
,MemoryInfo
, andNetworkInfo
classes, it would be nice if stopped installing these headers. -
Furthermore, we should remove SystemInfo
functions fromInfoManager
. -
As far as I understand, functions of fileutil.cpp/fileutil.h are of internal user of libcsys, and have not been used elsewhere. We should stop installing this file.