启动进程
┌──[[email protected]]-[/proc/976]
└─$pgrep -la maxs
976 /usr/bin/maxscale
┌──[[email protected]]-[/proc/976]
└─$echo $(cat /proc/976/cmdline)
/usr/bin/maxscale
┌──[[email protected]]-[/proc/976]
└─$ll /proc/976/exe
lrwxrwxrwx 1 maxscale maxscale 0 10月 19 16:32 /proc/976/exe -> /usr/bin/maxscale
┌──[[email protected]]-[/proc/976]
└─$/usr/bin/maxscale
重启进程
┌──[[email protected]]-[/proc/976]
└─$pgrep -la maxs
┌──[[email protected]]-[/proc/976]
└─$kill -1 976
关闭进程
┌──[[email protected]]-[/proc/976]
└─$pgrep -la maxs
976 /usr/bin/maxscale
┌──[[email protected]]-[/proc/976]
└─$kill 976 ^C
┌──[[email protected]]-[/proc/976]
└─$kill -9 976 ^C
标签:976,github,关闭,vms152,重启,io,Linux,proc,liruilongs
From: https://www.cnblogs.com/liruilong/p/16812747.html