From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [herd] Have status display services as a bulleted list. Date: Thu, 24 Nov 2016 17:16:18 +0100 Message-ID: <87shqg4zvx.fsf@gnu.org> References: <87oa15j4cq.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9whG-00042l-2Z for guix-devel@gnu.org; Thu, 24 Nov 2016 11:16:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9whB-0001L5-3Y for guix-devel@gnu.org; Thu, 24 Nov 2016 11:16:26 -0500 In-Reply-To: <87oa15j4cq.fsf@dustycloud.org> (Christopher Allan Webber's message of "Wed, 23 Nov 2016 15:03:49 -0600") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Christopher Allan Webber Cc: guix-devel@gnu.org Christopher Allan Webber skribis: > I don't know about you, but I am totally unable to read the > "herd status" line as it exists in the current state. I mean, I love > sexps, but even I don't like a completely flat and ungreppable list > printed to stdout. Agreed! > *** New output *** > > cwebber@oolong:~/devel/shepherd$ sudo ./herd -s /var/run/shepherd/socket = status > Started: > + file-system-/run/systemd > + xorg-server > + file-system-/sys/fs/cgroup/cpuacct > + file-system-/mnt/debian > + syslogd > + term-tty1 > + root-file-system > + file-system-/sys/fs/cgroup/blkio > + avahi-daemon Works for me! I=E2=80=99m just wondering if there are ideas we could/should follow more closely the output of =E2=80=98systemctl status=E2=80=99. IIRC= , it displays a couple of lines for each service; for instance, we could display the =E2=80=9Crunning=E2=80=9D value and dependencies of each service, indented = below its name. WDYT? Would that make sense? Ludo=E2=80=99.