Libraries we used - TomLatin/Defense_Lab_Cyber_Ex1_MonitorServices GitHub Wiki
-
Platform: Provides information such as the system on which the program is currently running. In our program we used this directory to know on which platform the user is using Windows or Linux.
-
OS: to interact with the operating system. In our program we used this directory to find out if serviceList and statusLog files exist to perform operations on them.
-
Datetime: A class that allowed us to save time in Datetime objects and test a specific format. In our program we used variables of this kind to save dates with hours and check if the format in which we got the date was correct.
-
Psutil: Used to access system information and processing tools for the Windows utility directory. In our program we used this library to "get" the services running on the computer.
-
Subprocess: Used to access system information and processing tools, for the Linux utility library. In our program we used this library to "get" the services running on the computer.
-
Time: Provides various time-related functions. In our program we used it in the program to make a main sleep as the number of seconds the customer requested to sample.