Skip to content

ZH CN Process Tagging

Billy.Zheng edited this page Apr 14, 2026 · 1 revision

进程标签

进程标签允许你给新启动或重启出来的实例附加一个字符串,方便后续识别。最常见的用途,是记录你当前正在部署的应用版本。例如:

procodile start -t 189f7ca

一旦设置了 tag,在这个 tag 生效期间启动或重启出来的实例都会带上它。通常建议在 startrestart 命令中都传入这个参数。

procodile status 中也能看到这些 tag,这可以帮助你识别那些在正常操作中没有及时退出的旧进程或残留进程。对于定时进程来说,只有在某个定时实例实际运行时,这个 tag 才会显示出来。

Clone this wiki locally