Page MenuHomePhabricator

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

Authored by joshuaspence on May 19 2014, 11:00 PM.
Tags
None
Referenced Files
F15505350: D9208.id21871.diff
Tue, Apr 15, 2:29 AM
F15484897: D9208.diff
Wed, Apr 9, 8:52 PM
F15483435: D9208.id21871.diff
Wed, Apr 9, 12:15 PM
F15470423: D9208.id21919.diff
Fri, Apr 4, 9:59 PM
F15458570: D9208.id21919.diff
Mon, Mar 31, 4:56 AM
F15458337: D9208.id21870.diff
Sun, Mar 30, 11:05 PM
F15458139: D9208.id21872.diff
Sun, Mar 30, 9:06 PM
F15456801: D9208.id21871.diff
Sun, Mar 30, 12:19 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
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).