Unix and Linux Discussions Tagged with mysql |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
7 |
24,513 |
Programming |
|
|
|
1 |
16,994 |
What is on Your Mind? |
|
|
|
45 |
60,000 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
19,435 |
Programming |
|
|
|
18 |
15,822 |
What is on Your Mind? |
|
|
|
14 |
16,539 |
What is on Your Mind? |
|
|
|
31 |
19,703 |
What is on Your Mind? |
|
|
|
3 |
9,758 |
What is on Your Mind? |
|
|
|
1 |
14,957 |
What is on Your Mind? |
|
|
|
1 |
7,914 |
UNIX for Beginners Questions & Answers |
|
|
|
27 |
85,204 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
19,699 |
Shell Programming and Scripting |
|
|
|
8 |
4,853 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
53,163 |
What is on Your Mind? |
|
|
|
12 |
3,140 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,593 |
Shell Programming and Scripting |
|
|
|
0 |
3,020 |
What is on Your Mind? |
|
|
|
12 |
4,154 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
5,181 |
What is on Your Mind? |
|
|
|
1 |
7,761 |
Web Development |
|
|
|
4 |
18,990 |
Web Development |
|
|
|
4 |
3,824 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,086 |
Programming |
|
|
|
2 |
3,398 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,720 |
What is on Your Mind? |
|
|
|
0 |
8,183 |
Cybersecurity |
|
|
|
0 |
11,695 |
Web Development |
|
|
|
2 |
2,218 |
Shell Programming and Scripting |
|
|
|
4 |
27,356 |
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,549 |
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)