mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-26 15:31:55 +00:00
Add Aspersa tools, their tests, and util/test-bash-tool.
Update and simplify copyright notices.
This commit is contained in:
12
t/pt-mysql-summary/parse-mysqld-instances-01
Executable file
12
t/pt-mysql-summary/parse-mysqld-instances-01
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
#parse_mysqld_instances
|
||||
|
||||
cat <<EOF > $1
|
||||
Port Data Directory Socket
|
||||
===== ========================== ======
|
||||
3306 /var/lib/mysql /var/run/mysqld/mysqld.sock
|
||||
12345 /tmp/12345/data /tmp/12345/mysql_sandbox12345.sock
|
||||
12346 /tmp/12346/data /tmp/12346/mysql_sandbox12346.sock
|
||||
EOF
|
||||
|
||||
cp samples/ps-mysqld-001.txt /tmp/aspersa
|
Reference in New Issue
Block a user