- Slides for this session (from Percona Live Santa Clara 2017)
- DBAs, A Priesthood No More - Silvia Botros
- Ozar's Hierarchy of Database Needs - Brent Ozar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PGID=$(pgrep -f ${CONFIG:-backup_driver.py} | xargs ps -opgid --no-headers | tail -1 | tr -d '[[:space:]]') && ps -ww -opid,ppid,pgid,state,time,cmd --forest -g $PGID | sed 's^/usr/local/percona-backup/bin/^^g' && read -r -p "Are you sure? [y/N] " response; if [[ $response =~ ^(yes|y)$ ]]; then sudo kill -9 -- -${PGID}; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for PGID in $(pgrep -f ${CONFIG:-backup_driver.py} | xargs ps -opgid --no-headers | sort | uniq | tr -d '[ ]'); do ps -ww -opid,ppid,pgid,state,time,cmd --forest -g $PGID | sed 's^/usr/local/percona-backup/bin/^^g'; done |
I hereby claim:
- I am dankow on github.
- I am dankow (https://keybase.io/dankow) on keybase.
- I have a public key whose fingerprint is 2C01 74D8 C55D 33D1 4A73 2982 7616 D1D9 4C84 472F
To claim this, I am signing this object: