Page MenuHomePhabricator

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

Authored by joshuaspence on May 19 2014, 11:00 PM.
Tags
None
Referenced Files
F15437803: D9208.id.diff
Tue, Mar 25, 9:38 PM
F15433109: D9208.id21919.diff
Mon, Mar 24, 9:25 PM
F15411754: D9208.id21921.diff
Wed, Mar 19, 9:43 AM
F15397826: D9208.id.diff
Sun, Mar 16, 10:29 PM
F15395771: D9208.diff
Sun, Mar 16, 9:41 AM
F15390163: D9208.id21871.diff
Sat, Mar 15, 5:57 AM
F15388204: D9208.id21870.diff
Sat, Mar 15, 3:28 AM
F15386110: D9208.id21872.diff
Sat, Mar 15, 12:03 AM
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
Lint
Lint Skipped
Unit
Tests Skipped

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).