Show HN: Proc-CLI – 一个面向代理的进程与端口管理命令行工具
Show HN: Proc-CLI – An agent-friendly CLI tool for process and port management

原始链接: https://proc-cli.com/

相同的任务,无需记住 lsof 需要哪些标志,也不必把 PID 管道传给 kill。 端口 3000 上是什么?lsof -i :3000 -P -n proc on :3000 为什么它在那里?lsof -i :3000,然后 ps -o ppid= 向上追溯 proc why :3000 释放端口 lsof -t -i:3000 | xargs kill && sleep 1 && lsof -i:3000 proc free :3000 等待它退出 while ps aux | grep node | grep -v grep; do sleep 5; done proc wait node 暂停进程 kill -STOP $(pgrep node) proc freeze node 查找残留物 无标准工具 proc orphans --in .

黑客新闻 新 | 过去 | 评论 | 提问 | 展示 | 工作 | 提交 登录 Show HN: Proc-CLI – 一个代理友好的进程与端口管理 CLI 工具 ( proc-cli.com ) 6 分 by yazeedaloyoun 1 小时前 | 隐藏 | 过去 | 收藏 | 讨论 帮助 考虑申请 YC 的 2027 冬季批次!申请开放至 11 月 2 日。 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

The same jobs, without remembering which flags lsof needs or piping PIDs into kill.

What's on port 3000?lsof -i :3000 -P -nproc on :3000

Why is it there?lsof -i :3000, then ps -o ppid= up the chainproc why :3000

Free the portlsof -t -i:3000 | xargs kill && sleep 1 && lsof -i:3000proc free :3000

Wait for it to exitwhile ps aux | grep node | grep -v grep; do sleep 5; doneproc wait node

Pause a processkill -STOP $(pgrep node)proc freeze node

Find leftoversNo standard toolproc orphans --in .

联系我们 contact @ memedata.com