Page MenuHomePhabricator

Show daemon arguments with `./bin/phd status`.
ClosedPublic

Authored by joshuaspence on May 19 2014, 11:00 PM.
Tags
None
Referenced Files
F14006612: D9208.id21872.diff
Mon, Oct 28, 2:09 PM
F14001200: D9208.id21870.diff
Fri, Oct 25, 5:06 AM
F13995437: D9208.id21872.diff
Wed, Oct 23, 12:51 PM
F13982353: D9208.id21921.diff
Sat, Oct 19, 10:37 PM
F13978236: D9208.id21872.diff
Oct 18 2024, 10:14 PM
F13971880: D9208.id.diff
Oct 17 2024, 3:50 PM
F13971807: D9208.diff
Oct 17 2024, 3:25 PM
F13967329: D9208.id21871.diff
Oct 16 2024, 12:56 PM
Subscribers

Details

Summary

Fixes T4735. When running ./bin/phd, show daemon arguments.

Test Plan
./bin/phd status
PID  	Started                 	Daemon                                            Arguments
12711	May 20 2014, 9:02:52 AM 	PhabricatorRepositoryPullLocalDaemon              []
12716	May 20 2014, 9:02:52 AM 	PhabricatorGarbageCollectorDaemon                 []
12733	May 20 2014, 9:02:53 AM 	PhabricatorTaskmasterDaemon                       []
12768	May 20 2014, 9:02:53 AM 	PhabricatorTaskmasterDaemon                       []
12775	May 20 2014, 9:02:53 AM 	PhabricatorTaskmasterDaemon                       []
12780	May 20 2014, 9:02:54 AM 	PhabricatorTaskmasterDaemon                       []
12838	May 20 2014, 9:02:54 AM 	PhabricatorFactDaemon                             []
13436	May 20 2014, 9:03:23 AM 	PhabricatorRepositoryPullLocalDaemon              ["X","--not","Y"]

Diff Detail

Repository
rP Phabricator
Branch
phd-args
Lint
Lint Passed
Unit
Tests Skipped
Build Status
Buildable 586
Build 586: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Show daemon arguments with `./bin/phd status`..
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
joshuaspence edited edge metadata.

json_encode the arguments

Reduce the width of the "Daemon" column.

As with D9205, maybe csprintf + readable argument? I'm onboard with this if that sounds like a pain.

joshuaspence edited edge metadata.

Use csprintf('%LR', $daemon->getArgv()) instead of json_encode($daemon->getArgv()).

epriestley edited edge metadata.
This revision is now accepted and ready to land.May 20 2014, 11:47 PM
epriestley updated this revision to Diff 21921.

Closed by commit rPeba11238b921 (authored by @joshuaspence, committed by @epriestley).