3 final class PhabricatorDaemonManagementStatusWorkflow
4 extends PhabricatorDaemonManagementWorkflow
{
6 protected function didConstruct() {
9 ->setSynopsis(pht('Show daemon processes on this host.'));
12 public function execute(PhutilArgumentParser
$args) {
13 $process_refs = $this->getOverseerProcessRefs();
16 $instance = $this->getInstance();
17 if ($instance !== null) {
21 'There are no running daemon processes for the current '.
27 pht('There are no running daemon processes.'));
33 $table = id(new PhutilConsoleTable())
37 'title' => pht('PID'),
40 'title' => pht('Command'),
44 foreach ($process_refs as $process_ref) {
47 'pid' => $process_ref->getPID(),
48 'command' => $process_ref->getCommand(),