Unix and Linux Discussions Tagged with mysql |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
7 |
24,517 |
Programming |
|
|
|
1 |
16,997 |
What is on Your Mind? |
|
|
|
45 |
60,005 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
19,436 |
Programming |
|
|
|
18 |
15,827 |
What is on Your Mind? |
|
|
|
14 |
16,542 |
What is on Your Mind? |
|
|
|
31 |
19,707 |
What is on Your Mind? |
|
|
|
3 |
9,759 |
What is on Your Mind? |
|
|
|
1 |
14,957 |
What is on Your Mind? |
|
|
|
1 |
7,914 |
UNIX for Beginners Questions & Answers |
|
|
|
27 |
85,206 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
19,699 |
Shell Programming and Scripting |
|
|
|
8 |
4,853 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
53,167 |
What is on Your Mind? |
|
|
|
12 |
3,141 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,593 |
Shell Programming and Scripting |
|
|
|
0 |
3,021 |
What is on Your Mind? |
|
|
|
12 |
4,157 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
5,182 |
What is on Your Mind? |
|
|
|
1 |
7,762 |
Web Development |
|
|
|
4 |
18,991 |
Web Development |
|
|
|
4 |
3,825 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,087 |
Programming |
|
|
|
2 |
3,398 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,723 |
What is on Your Mind? |
|
|
|
0 |
8,184 |
Cybersecurity |
|
|
|
0 |
11,700 |
Web Development |
|
|
|
2 |
2,218 |
Shell Programming and Scripting |
|
|
|
4 |
27,359 |
Web Development |
|
|
|
3 |
3,666 |
Shell Programming and Scripting |
|
|
|
1 |
5,073 |
Programming |
|
|
|
2 |
6,941 |
Linux |
|
|
|
2 |
4,106 |
Shell Programming and Scripting |
|
|
|
4 |
3,383 |
Shell Programming and Scripting |
|
|
|
3 |
3,006 |
Shell Programming and Scripting |
|
|
|
7 |
7,531 |
Shell Programming and Scripting |
|
|
|
4 |
3,550 |
Web Development |
|
|
|
2 |
3,310 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,803 |
Programming |
|
|
|
6 |
5,364 |
Programming |
PMDAMYSQL(1) Performance Co-Pilot PMDAMYSQL(1)
NAME
pmdamysql - MySQL database PMDA
DESCRIPTION
pmdamysql is a Performance Co-Pilot PMDA which extracts live performance data from a running MySQL database.
INSTALLATION
pmdamysql uses a configuration file from (in this order):
o /etc/pcpdbi.conf
o $PCP_PMDAS_DIR/mysql/mysql.conf
This file can contain overridden values (Perl code) for the settings listed at the start of pmdamysql.pl, namely:
o database name (see DBI(3) for details)
o database user name
o database pass word
Once this is setup, you can access the names and values for the mysql performance metrics by doing the following as root:
# cd $PCP_PMDAS_DIR/mysql
# ./Install
If you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/mysql
# ./Remove
pmdamysql is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is
installed or removed.
Binary Status values in text
Some of the status values are in the form of YES/NO or ON/OFF.
Since these cannot be intepreted by tools like PMIE, they have been duplicated with a _num extension and the values of 1 (YES/ON) or 0
(NO/OFF).
Eg:
o mysql.slave_status.slave_io_running
o mysql.slave_status.slave_io_running_num
FILES
/etc/pcpdbi.conf
configuration file for all PCP database monitors
$PCP_PMDAS_DIR/mysql/mysql.conf
configuration file for pmdamysql
$PCP_PMDAS_DIR/mysql/Install
installation script for the pmdamysql agent
$PCP_PMDAS_DIR/mysql/Remove
undo installation script for the pmdamysql agent
$PCP_LOG_DIR/pmcd/mysql.log
default log file for error messages from pmdamysql
SEE ALSO
pmcd(1), pmdadbping.pl(1) and DBI(3). # vi: sw=4 ts=4 et:
3.8.10 Performance Co-Pilot PMDAMYSQL(1)