2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

3 Commits

Author SHA1 Message Date
Mark Gurevich
47c02f43f4 Support xcat-core builds on CentOS8 2022-05-12 14:38:12 -04:00
Bin Xu
66f31ff35d Make dbstat.py script could run by itself. 2017-10-13 10:03:57 +08:00
chenglch
db37fd5dc0 Add script to analyze the db performance of xcat command (#3899)
This patch add a python script to calculate the time and the call
times from the command log file and syslog file.

Note: To get the correct data, the `dbtracelevel` option in site
table should be set to 4

implement: #3713

Support option:
```
usage: dbstats [--clusterlog CLUSTERLOG] [--commandlog COMMANDLOG] [-n NUM]
               [-c COMMAND]

Optional arguments:
  --clusterlog CLUSTERLOG
                        The syslog file of xcat.
  --commandlog COMMANDLOG
                        The command log file of xcat.
  -n NUM, --num NUM     The recent count of commands to analyze
  -c COMMAND, --command COMMAND
                        The specified command to track
```
2017-09-14 17:36:54 +08:00