plstree

display ls or ps output as directory or process trees
Log | Files | Refs | README

commit 831aad5bc57de1c9fc9dba8b50c96db340d4cfcd
parent a63a660200ed35ebc2239079585d896a0d6ecde8
Author: Josuah Demangeon <mail@josuah.net>
Date:   Fri, 20 Apr 2018 12:29:24 +0200

examples are more suited to the website than the man page

Diffstat:
MREADME | 30------------------------------
Mlstree.1 | 19-------------------
Mpstree.1 | 19-------------------
3 files changed, 0 insertions(+), 68 deletions(-)

diff --git a/README b/README @@ -10,21 +10,6 @@ DESCRIPTION The lstree list the content of dir recursively and format the output into a tree with details from ls -l. -EXAMPLES - drwxr-xr-x 3 josuah wheel 512 Apr 16 22:18 |- auth - -rw-r--r-- 1 josuah wheel 5 Apr 16 22:18 | |- authdom - -rw-r--r-- 1 josuah wheel 6 Apr 16 22:18 | |- authid - -rw-r--r-- 1 josuah wheel 3 Apr 16 22:18 | |- badusers - drwxr-xr-x 5 josuah wheel 512 Apr 16 22:18 | `- users - drwxr-xr-x 2 josuah wheel 512 Apr 16 22:18 | |- bootes - -rw-r--r-- 1 josuah wheel 5 Apr 16 22:18 | | |- expire - -rw-r--r-- 1 josuah wheel 2 Apr 16 22:18 | | `- status - drwxr-xr-x 2 josuah wheel 512 Apr 16 22:18 | `- sys - -rw-r--r-- 1 josuah wheel 5 Apr 16 22:18 | |- expire - -rw-r--r-- 1 josuah wheel 2 Apr 16 22:18 | `- status - -rwxr-xr-x 1 josuah wheel 112 Apr 16 22:18 |- pass - -rwxr-xr-x 1 josuah wheel 677 Apr 16 22:18 `- run - SEE ALSO find(1), lr(1), pstree(1), tree(1) @@ -51,21 +36,6 @@ DESCRIPTION uses the output of the ps(1) command as described by POSIX, and therefore do not require a procfs(5) to be mounted at proc. -EXAMPLES - USER TTY PID STAT COMMAND - root ttyC1 52639 S |- runsvdir - root ?? 7250 Ss | |- runsv - root ?? 3235 S | | |- svlogd - root ?? 55053 I | | `- tcpserver - root ?? 35659 Ss | |- runsv - root ?? 13780 I | | |- quark - nobody ?? 31140 I | | | `- quark - root ?? 19006 S | | `- svlogd - root ?? 60341 Ss | `- runsv - root ?? 24271 S | `- svlogd - root ttyC1 65863 Is+p |- getty - root ttyC2 42115 Is+p `- getty - SEE ALSO lstree(1), ps(1) diff --git a/lstree.1 b/lstree.1 @@ -25,25 +25,6 @@ recursively and format the output into a tree with details from .Nm ls Fl l . . . -.Sh EXAMPLES -. -.Bd -literal -offset 6n -drwxr-xr-x 3 josuah wheel 512 Apr 16 22:18 |- auth --rw-r--r-- 1 josuah wheel 5 Apr 16 22:18 | |- authdom --rw-r--r-- 1 josuah wheel 6 Apr 16 22:18 | |- authid --rw-r--r-- 1 josuah wheel 3 Apr 16 22:18 | |- badusers -drwxr-xr-x 5 josuah wheel 512 Apr 16 22:18 | `- users -drwxr-xr-x 2 josuah wheel 512 Apr 16 22:18 | |- bootes --rw-r--r-- 1 josuah wheel 5 Apr 16 22:18 | | |- expire --rw-r--r-- 1 josuah wheel 2 Apr 16 22:18 | | `- status -drwxr-xr-x 2 josuah wheel 512 Apr 16 22:18 | `- sys --rw-r--r-- 1 josuah wheel 5 Apr 16 22:18 | |- expire --rw-r--r-- 1 josuah wheel 2 Apr 16 22:18 | `- status --rwxr-xr-x 1 josuah wheel 112 Apr 16 22:18 |- pass --rwxr-xr-x 1 josuah wheel 677 Apr 16 22:18 `- run -.Ed -. -. .Sh SEE ALSO . .Xr find 1 , diff --git a/pstree.1 b/pstree.1 @@ -31,25 +31,6 @@ to be mounted at .Pa proc . . . -.Sh EXAMPLES -. -.Bd -literal -offset 6n - USER TTY PID STAT COMMAND - root ttyC1 52639 S |- runsvdir - root ?? 7250 Ss | |- runsv - root ?? 3235 S | | |- svlogd - root ?? 55053 I | | `- tcpserver - root ?? 35659 Ss | |- runsv - root ?? 13780 I | | |- quark - nobody ?? 31140 I | | | `- quark - root ?? 19006 S | | `- svlogd - root ?? 60341 Ss | `- runsv - root ?? 24271 S | `- svlogd - root ttyC1 65863 Is+p |- getty - root ttyC2 42115 Is+p `- getty -.Ed -. -. .Sh SEE ALSO . .Xr lstree 1 ,