summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/ctdb_ops.py
diff options
context:
space:
mode:
authorkshithijiyer <kshithij.ki@gmail.com>2020-07-02 12:55:13 +0530
committerArthy Loganathan <aloganat@redhat.com>2020-07-08 10:33:19 +0000
commitccbb7003de9fd6f7a23ffe46ac014350ca569fff (patch)
treee172271e105bb713dc599ff629c0faaac9d192f6 /glustolibs-gluster/glustolibs/gluster/ctdb_ops.py
parenteab8ecef2fcea55e0819aa62d5b487b27acb90b7 (diff)
[Tool] Add tool to log memory and CPU usage
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>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/ctdb_ops.py')
0 files changed, 0 insertions, 0 deletions