9.39. The tungsten_show_processlist Script

The tungsten_show_processlist is a read-only script which will show the output from tungsten show processlist on all available Connectors.

This requires the mysql command-line client and a running manager for cctrl to poll.

tungsten_show_processlist [ -a, --all  ] [ -d, --debug  ] [ -f, --filter  ] [ -g, --grep  ] [ -h, --help  ] [ -m, --manager  ] [ -p, --port  ] [ -v, --verbose  ]

Where:

Table 9.74. tungsten_show_processlist Command-line Options

OptionDescription
--all, -aDisplay disconnected users
--debug, -d(-d implies -v also) Debug mode is VERY chatty, avoid it unless you really need it.
--filter, -fSpecify field/regex pairs as field=regex separated by pipe symbols, like this: --filter 'User=app_user|db=db7.*'. Available Fields: connector, DataSource, Id, User, Host, db, Command, Time, State, Info
--grep, -gFilter by regex on entire line, case insensitive only
--help, -h
--manager, -mSpecify maanager host for cctrl to poll. Default: localhost
--port, -pProvide the connector port number
--verbose, -v