Page MenuHomePhabricator

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

Authored by joshuaspence on May 19 2014, 11:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 18, 2:14 AM
Unknown Object (File)
Sun, Dec 15, 12:32 AM
Unknown Object (File)
Sun, Dec 8, 7:01 PM
Unknown Object (File)
Fri, Dec 6, 7:25 PM
Unknown Object (File)
Fri, Dec 6, 8:44 AM
Unknown Object (File)
Sun, Dec 1, 7:12 AM
Unknown Object (File)
Fri, Nov 29, 5:17 PM
Unknown Object (File)
Fri, Nov 29, 4: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
Branch
phd-args
Lint
Lint Passed
Unit
Tests Skipped
Build Status
Buildable 585
Build 585: [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).