GNU Pies – 程序调用与执行监督器
GNU Pies – Program Invocation and Execution Supervisor

原始链接: https://www.gnu.org.ua/software/pies/

Pies(发音为“p-yes”)代表程序调用和执行监督器。此工具启动并控制外部程序的执行,这些外部程序被称为组件。每个组件都是一个独立的程序,在前景中执行。启动时,Pies从其配置文件中读取组件列表,启动它们,并在后台保持运行,控制它们的执行。如果任何组件终止,Pies的默认操作是重新启动它。然而,它也可以被编程为执行各种其他操作,例如向系统管理员发送邮件通知,调用另一个外部程序等。GNU pies也可以用作init守护进程——启动过程中启动的第一个进程。配置可以作为传统的/etc/inittab文件或本地GNU pies配置文件提供,后者提供更大的灵活性。控制界面提供广泛的监控和管理功能。

## GNU Pies:一个新的进程监督器 GNU Pies 是一个新的进程调用和执行监督器,类似于 `monit` 或 `systemd-supervisord` 等工具。它发布频率较低(大约每四年一次),旨在管理和监控进程。 讨论的重点在于它在生态系统中的地位——它是 `systemd` 的替代品吗?又该如何比较?一些用户指出它的简单性和在容器内的实用性,特别是对于运行多个组件,如 Web 服务器和 PHP-FPM。 还有人强调 GNU 项目倾向于非常规的发音(“p-yes”与预期发音不同)。 对话还涉及创建此类工具的价值,一些人认为这在航空航天等专业行业中至关重要,因为需要定制解决方案。 存在关于 `systemd` 是否真的是一个单体,以及关于“Pies”这个名字在不同语言中具有不同含义的幽默观察(波兰语/乌克兰语中是“狗”,西班牙语中是“脚”)。
相关文章

原文

The name Pies (pronounced "p-yes") stands for Program Invocation and Execution Supervisor. This utility starts and controls execution of external programs, called components. Each component is a stand-alone program, which is executed in the foreground. Upon startup, pies reads the list of components from its configuration file, starts them, and remains in the background, controlling their execution. If any of the components terminates, the default action of Pies is to restart it. However, it can also be programmed to perform a variety of another actions such as, e.g. sending mail notifications to the system administrator, invoking another external program, etc.

GNU pies can also be used as init daemon — the first process started during booting. The configuration can be supplied both as a traditional /etc/inittab file or as a native GNU pies configuration file, which gives much more flexibility. The control interface provides extensive monitoring and management capabilities.

联系我们 contact @ memedata.com