xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

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, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2020-01-08 00:29  xgqfrms  阅读(266)  评论(5编辑  收藏  举报