Skip to content

Instantly share code, notes, and snippets.

@ryanaslett
Created December 2, 2016 18:20
Show Gist options
  • Save ryanaslett/fc0685965ff1194d2fc03ded98738a16 to your computer and use it in GitHub Desktop.
Save ryanaslett/fc0685965ff1194d2fc03ded98738a16 to your computer and use it in GitHub Desktop.
root@db6:/var/lib/mysql# kill 10142
root@db6:/var/lib/mysql# ps auxwwww |grep mysql
root 10142 0.0 0.0 21864 3552 ? S 18:00 0:00 /bin/bash /usr/bin/mysqld_safe
mysql 13615 81.0 6.6 120122304 8763384 ? Rl 18:18 0:04 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --skip-log-error --open-files-limit=65535 --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
root 13616 0.0 0.0 23720 2528 ? S 18:18 0:00 logger -t mysqld -p daemon.error
root 13704 0.0 0.0 12732 2224 pts/2 R+ 18:18 0:00 grep mysql
root@db6:/var/lib/mysql# kill 10142 13615 13616
root@db6:/var/lib/mysql# ps auxwwww |grep mysql
root 10142 0.0 0.0 21868 3556 ? S 18:00 0:00 /bin/bash /usr/bin/mysqld_safe
mysql 13615 86.1 0.0 0 0 ? Zl 18:18 0:26 [mysqld] <defunct>
mysql 13791 160 2.4 80093876 3200584 ? R 18:19 0:01 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --skip-log-error --open-files-limit=65535 --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
root 13792 0.0 0.0 23720 2484 ? S 18:19 0:00 logger -t mysqld -p daemon.error
root 13798 0.0 0.0 12732 2120 pts/2 S+ 18:19 0:00 grep mysql
root@db6:/var/lib/mysql#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment