Piske pwosesis MySQL sou sistèm Linux yo ka pafwa plante, epi pou enstale ak konfigire pwogram siveyans MONIT la, ou bezwen jwenn aksè nan pidfile pwosesis sistèm MySQL la , men pèsonn pa konnen ki kote oswa kijan pou jwenn pidfile sa a, m ap pataje enfòmasyon sa a isit la!
De kòmandman SSH sa yo ka wè pwosesis mysql la:
ps -ef|grep mysqldwatch -n 1 "ps -ef | grep mysql"
SSH retounen rezilta rechèch yo jan sa a:
root 6206 1 0 16:19 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/centos-ufo.pid
mysql 6280 6206 3 16:19 ? 00:00:22 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --log-error=/var/lib/mysql/centos-ufo.err --pid-file=/var/lib/mysql/centos-ufo.pid
root 6691 1844 0 16:29 pts/0 00:00:00 grep mysqldEspere ke atik "Ki kote fichye pid pwosesis baz done MySQL la ye? Kòmand pou fè rechèch sou fichye pid MySQL la" ki pataje sou blog Chen Weiliang la ( https://www.chenweiliang.com/ ) ap itil ou.
Pa ezite pataje lyen atik sa a: https://www.chenweiliang.com/cwl-438.html
