witr - 一个显示各种占用的命令行小工具
Github推荐刷到的,一个简单的命令行工具,可以用于显示某个端口占用,pid信息。
说实话还是挺有用的,有时候会忘记lsof怎么写,和其他的pid,进程名支持。
pranshuparmar/witr: Why is this running?

安装方法
用推荐的安装脚本即可
curl -fsSL https://raw.githubusercontent.com/pranshuparmar/witr/main/install.sh | bash用法
显示进程名:
witr node
witr nginx显示端口:
witr --port 5000显示PID:
witr --pid 14233以上用法以本文最后更新时间为准。
Comments