Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit 144d602

Browse files
robinbowesBrice Figureau
authored andcommitted
Add command line option to enable process list
1 parent 1da062b commit 144d602

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ On all platform, the configuration is done with command line arguments:
8282
-s|--slave check slave
8383
-b|--heartbeat DB.TABLE table for maatkit mk-heartbeat
8484
--oid OID registering OID
85+
-l|--process-list|--procs
86+
enable the MySQL process list
8587
-i|--refresh refresh interval in seconds
8688

8789
You can specify the mysql connection parameters in a config file using my.cnf format, like this:

mysql-agent

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,6 +1007,7 @@ sub run
10071007
'slave|s!',
10081008
'innodb|i!',
10091009
'oid|o',
1010+
'procs|l|process-list!',
10101011
'refresh|r=i',
10111012
'daemon_pid|daemon-pid=s',
10121013
'heartbeat|b=s',
@@ -1095,6 +1096,7 @@ __END__
10951096
-b, --heartbeat DB.TABLE table for checking slave lag with mk-hearbeat
10961097
-i, --innodb read innodb settings
10971098
-o OID, --oid=OID registering OID
1099+
-l, --process-list, --procs enable the process list
10981100
-r INT, --refresh=INT set refresh interval to INT (seconds)
10991101
--daemon-pid=FILE write PID to FILE instead of $default{pid}
11001102
-n, --no-daemon do not detach and become a daemon
@@ -1157,6 +1159,10 @@ check innodb details
11571159
11581160
registering OID
11591161
1162+
=item B<-l, --process-list, --procs>
1163+
1164+
enable the process list
1165+
11601166
=item B<-r INT, --refresh=INT>
11611167
11621168
refresh interval in seconds

0 commit comments

Comments
 (0)