|
Adding tool to log memory and cpu of a given process.
usage: memory_and_cpu_logger.py [-h] [-p PROCESS_NAME] [-i INTERVAL]
[-c COUNT] [-t TESTNAME]
A tool to log memory usage of a given process
optional arguments:
-h, --help show this help message and exit
-p PROCESS_NAME, --process_name PROCESS_NAME
Name of process for which cpu and memory is to be
logged
-i INTERVAL, --interval INTERVAL
Time interval to wait between consecutive
logs(Default:60)
-c COUNT, --count COUNT
Number of times memory and CPU has to be logged
(Default:10)
-t TESTNAME, --testname TESTNAME
Test name for which memory is logged
Tasks to be done:
1.Add library run the tool for clients and servers.
2.Add base_class function to log all values.
3.Add library function to read csv files and
compute information.
Change-Id: I9e2e8825b103cf941c0a7e1f7eadadd65fc670d1
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|