.TH "MYSQLPROCGREP" "1" "May 09, 2012" "1.0.3" "MySQL Utilities" .SH NAME mysqlprocgrep \- Search MySQL servers for processes matching a pattern . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .\" Man page generated from reStructeredText. . .SH SYNOPSIS .sp .nf .ft C mysqlprocgrep [options] .ft P .fi .SH DESCRIPTION .sp This utility scans the process lists for the servers specified using instances of the \fI\-\-server\fP option and selects those that match the conditions specified using the \fI\%--age\fP and \fB\-\-match\-xxx\fP options. For a process to match, all conditions given must match. The utility then either prints the selected processes (the default) or executes certain actions on them. .sp If no \fI\%--age\fP or \fB\-\-match\-xxx\fP options are given, the utility selects all processes. .sp The \fB\-\-match\-xxx\fP options correspond to the columns in the \fBINFORMATION_SCHEMA.PROCESSLIST\fP table. For example, \fI\%--match-command\fP specifies a matching condition for \fBPROCESSLIST.COMMAND\fP column values. There is no \fB\-\-match\-time\fP option. To specify a condition based on process time, use \fI\%--age\fP. .sp Processes that can be seen and killed are subject to whether the account used to connect to the server has the \fBPROCESS\fP and \fBSUPER\fP privileges. Without \fBPROCESS\fP, the account cannot see processes belonging to other accounts Without \fBSUPER\fP, the account cannot kill processes belonging to other accounts .sp To specify how to display output, use one of the following values with the \fI\-\-format\fP option: .INDENT 0.0 .TP .B \fBgrid\fP (default) Display output in grid or table format like that of the \fBmysql\fP monitor. .TP .B \fBcsv\fP Display output in comma\-separated values format. .TP .B \fBtab\fP Display output in tab\-separated format. .TP .B \fBvertical\fP Display output in single\-column format like that of the \fB\eG\fP command for the \fBmysql\fP monitor. .UNINDENT .SH OPTIONS .sp \fBmysqlprocgrep\fP accepts the following command\-line options: .INDENT 0.0 .TP .B \-\-help Display a help message and exit. .UNINDENT .INDENT 0.0 .TP .B \-\-age=