

park
Pause a process and free its TCP port. Resume later.
什么是 park?
Freeze a running server and free its TCP port — without killing it. Resume later with the same PID, memory, and state. park reaches inside the target process and injects close(fd) via ptrace (Linux) or Mach thread injection (macOS) to release the listening socket. Resume recreates the listener at the same fd number. Works with uvicorn, FastAPI, Flask, python http.server, and more. Single binary, no deps. Install: curl -fsSL https://raw.githubusercontent.com/mr-vaibh/park/main/install.sh | sh
截图
?
还没有评论,来抢沙发吧!
X 上关于 park 的真实讨论
去 X 发帖

