Python script called server_user_mon.py that can bench mark a user's footprint on a machine and generate line
Fantastic news! We've Found the answer you've been seeking!
Question:
Python script called server_user_mon.py that can bench mark a user's footprint on a machine and generate line graphs. The script should work as follows:
- It should query the server, and then construct an xlsx file containing all of the users logged in and their footprint on the server.
Username | Total PIDs | Total CPU Time | Total Real Memory Usage |
|
|
|
|
The script should be run as follows
$python server_user_mon.py all
where all means to query all users logged onto the server.
can be Seneca Matrix
hint1: use openpyxl
hint2: you can run the script from a remote machine and transfer the necessary data if any libraries are missing on Matrix
Related Book For
Principles Of Information Security
ISBN: 9780357506431
7th Edition
Authors: Michael E. Whitman, Herbert J. Mattord
Posted Date: