linux bash shell & lsof & grep & ps
lsof
list all open files
# lsof & grep
$ lsof -Pi | grep LISTEN
ps & grep
# ps & grep
$ ps -ef | grep node
$ ps -ef | grep nginx
refs
https://linux.die.net/man/8/lsof
https://www.howtogeek.com/426031/how-to-use-the-linux-lsof-command/
https://www.howtoforge.com/linux-lsof-command/
https://www.jellythink.com/archives/449
https://www.cnblogs.com/peida/archive/2013/02/26/2932972.html
https://www.cnblogs.com/ggjucheng/archive/2012/01/08/2316599.html
xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!