linux bash shell & lsof & grep & ps
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/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/12164461.html
未经授权禁止转载,违者必究!