Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2002 11:41:44 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Juli Mallett <jmallett@FreeBSD.org>
Cc:        Thomas Quinot <thomas@cuivre.fr.eu.org>, current@FreeBSD.ORG
Subject:   Re: Looking for comments on a new utility...
Message-ID:  <3D064468.D1B1F2C6@mindspring.com>
References:  <20020611051517.A87966@FreeBSD.ORG> <20020611143957.A17613@melusine.cuivre.fr.eu.org> <20020611063348.A97611@FreeBSD.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help
Juli Mallett wrote:
> >      |-omniNames---omniNames---3*[omniNames]
> 
> That seems frighteningly useless to me though.  Seems a bit like a number of
> utilities I've seen from the Linux camp which take useful functionality and
> mask it behind something that looks good.  What exactly can you get from
> that kind of output?
> 
> > with the following being printed if you ask for pids ('-p'):
> >
> >       |-omniNames(313)---omniNames(335)-+-omniNames(336)
> >       |                                 |-omniNames(338)
> >       |                                 `-omniNames(345)
> 
> That output's pretty useful, on the other hand, but it seems overly difficult
> to do that sort of formatting without kludging everything with a lot of
> conditionals and rather than simple recursion, something more complex.

Theres a program in -ports.

If you insist on doing it, though, look at the output of
"w -d" (yeah, I have a vested interest in it, but it's still
pretty cool).

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D064468.D1B1F2C6>