SMOLNET PORTAL home about changes
iadd a real README (not from the man pages) - plstree - ps and ls displayed as a tree	Err	bitreich.org	70
hgit clone git://bitreich.org/plstree git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/plstree	URL:git://bitreich.org/plstree git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/plstree	bitreich.org	70
1Log	/scm/plstree/log.gph	bitreich.org	70
1Files	/scm/plstree/files.gph	bitreich.org	70
1Refs	/scm/plstree/refs.gph	bitreich.org	70
1Tags	/scm/plstree/tag	bitreich.org	70
1README	/scm/plstree/file/README.gph	bitreich.org	70
i---	Err	bitreich.org	70
1commit 8ad9fb53fc342737d2ab544be348a01353c8c73d	/scm/plstree/commit/8ad9fb53fc342737d2ab544be348a01353c8c73d.gph	bitreich.org	70
1parent 6bb600c443072c795242155b40d04d4b721a1baa	/scm/plstree/commit/6bb600c443072c795242155b40d04d4b721a1baa.gph	bitreich.org	70
hAuthor: Josuah Demangeon <mail@josuah.net>	URL:mailto:mail@josuah.net	bitreich.org	70
iDate:   Tue, 12 Jun 2018 23:06:03 +0200	Err	bitreich.org	70
i	Err	bitreich.org	70
iadd a real README (not from the man pages)	Err	bitreich.org	70
i	Err	bitreich.org	70
iDiffstat:	Err	bitreich.org	70
i  M Makefile                            |       3 ---	Err	bitreich.org	70
i  M README                              |      93 ++++++++++++++++++-------------	Err	bitreich.org	70
i	Err	bitreich.org	70
i2 files changed, 54 insertions(+), 42 deletions(-)	Err	bitreich.org	70
i---	Err	bitreich.org	70
1diff --git a/Makefile b/Makefile	/scm/plstree/file/Makefile.gph	bitreich.org	70
i@@ -3,9 +3,6 @@ MAN1        = ltree.1 ptree.1	Err	bitreich.org	70
i 	Err	bitreich.org	70
i all:	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-README: $(MAN1)	Err	bitreich.org	70
i-        mandoc -T ascii $(MAN1) | col -bx >$@	Err	bitreich.org	70
i-	Err	bitreich.org	70
i install:	Err	bitreich.org	70
i         mkdir -p $(PREFIX)/bin	Err	bitreich.org	70
i         cp $(BIN) $(PREFIX)/bin	Err	bitreich.org	70
1diff --git a/README b/README	/scm/plstree/file/README.gph	bitreich.org	70
i@@ -1,56 +1,71 @@	Err	bitreich.org	70
i-LTREE(1)                    General Commands Manual                   LTREE(1)	Err	bitreich.org	70
i+trees	Err	bitreich.org	70
i+================================================================================	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-NAME	Err	bitreich.org	70
i-     ltree - list a tree of a directory with details	Err	bitreich.org	70
i+*plstree* is an collection of awk scripts to display trees, such as process	Err	bitreich.org	70
i+trees (pstree) or a directory tree (lstree).	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-SYNOPSIS	Err	bitreich.org	70
i-     ltree [dir]	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-DESCRIPTION	Err	bitreich.org	70
i-     The ltree list the content of dir recursively and format the output into	Err	bitreich.org	70
i-     a tree with details from ls -l.	Err	bitreich.org	70
i+pstree	Err	bitreich.org	70
i+--------------------------------------------------------------------------------	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-     If dir is not provided, the current working directory is listed.	Err	bitreich.org	70
i+It reads from the ps(1) command, so it is portable if there is POSIX awk(1) and	Err	bitreich.org	70
i+ps(1).  Busybox's ps is not fully POSIX but it still works.	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-SEE ALSO	Err	bitreich.org	70
i-     find(1), lr(1), ls(1), ptree(1), tree(1)	Err	bitreich.org	70
i+         USER     TTY        PID STAT  COMMAND	Err	bitreich.org	70
i+         root     ??           1 Is    init	Err	bitreich.org	70
i+         josuah   ??       90253 S     ├─ abduco	Err	bitreich.org	70
i+         josuah   ttypb    77909 Ss+   │  └─ vis	Err	bitreich.org	70
i+         josuah   ttypb     4072 S+p   │     └─ ksh	Err	bitreich.org	70
i+         josuah   ttypb     6615 S+p   │        └─ awk	Err	bitreich.org	70
i+         josuah   ttypb    61142 R+p/2 │           └─ ps	Err	bitreich.org	70
i+         josuah   ttyp2    53904 I     ├─ enchive	Err	bitreich.org	70
i+         josuah   ttyp8    48679 S     └─ runsvdir	Err	bitreich.org	70
i+         josuah   ??       38166 Is       ├─ runsv	Err	bitreich.org	70
i+         josuah   ??       74922 I        │  ├─ svlogd	Err	bitreich.org	70
i+         josuah   ??       62834 Ip       │  └─ ssh-agent	Err	bitreich.org	70
i+         josuah   ??       87618 Is       ├─ runsv	Err	bitreich.org	70
i+         josuah   ??       10571 I        │  ├─ svlogd	Err	bitreich.org	70
i+         josuah   ??       21319 S        │  └─ btpd	Err	bitreich.org	70
i+         josuah   ??       18961 Is       ├─ runsv	Err	bitreich.org	70
i+         josuah   ??       51149 I        │  ├─ svlogd	Err	bitreich.org	70
i+         josuah   ??       59400 S        │  └─ qemu-system-x86_	Err	bitreich.org	70
i+         josuah   ??       14126 Ss       └─ runsv	Err	bitreich.org	70
i+         josuah   ??       99171 I           └─ svlogd	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-     list files, recursively: https://github.com/chneukirchen/lr,	Err	bitreich.org	70
i+It have been tested with OpenBSD and busybox awk and ps.	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-AUTHORS	Err	bitreich.org	70
i-     Josuah Demangeon <mail@josuah.net>	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-OpenBSD 6.3                     April 19, 2018                     OpenBSD 6.3	Err	bitreich.org	70
i+lstree	Err	bitreich.org	70
i+--------------------------------------------------------------------------------	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-------------------------------------------------------------------------------	Err	bitreich.org	70
i+It reads from the find(1) and ls(1) commands and display it as a tree along	Err	bitreich.org	70
i+with the details from ls:	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-PTREE(1)                    General Commands Manual                   PTREE(1)	Err	bitreich.org	70
i+        -rw-r--r--   1 josuah  wheel       50 Apr 13 08:39  ├─ .gitignore	Err	bitreich.org	70
i+        -rw-r--r--   1 josuah  wheel      683 Apr 19 13:12  ├─ Makefile	Err	bitreich.org	70
i+        drwxr-xr-x   2 josuah  wheel      512 Apr 19 01:59  ├─ bin	Err	bitreich.org	70
i+        -rw-r--r--   1 josuah  wheel      142 Apr 19 00:18  │  ├─ agenda	Err	bitreich.org	70
i+        -rwxr-xr-x   1 josuah  wheel      891 Apr 19 01:59  │  ├─ git	Err	bitreich.org	70
i+        -rwxr-xr-x   1 josuah  wheel      111 Apr 19 01:00  │  ├─ html	Err	bitreich.org	70
i+        -rwxr-xr-x   1 josuah  wheel      463 Apr 19 00:18  │  ├─ man	Err	bitreich.org	70
i+        -rwxr-xr-x   1 josuah  wheel      235 Apr 19 00:19  │  ├─ page	Err	bitreich.org	70
i+        -rwxr-xr-x   1 josuah  wheel      379 Apr 19 00:19  │  └─ stat	Err	bitreich.org	70
i+        drwxr-xr-x   2 josuah  wheel      512 Apr 19 15:41  └─ code	Err	bitreich.org	70
i+        -rw-r--r--   1 josuah  wheel     1062 Apr 19 01:35     ├─ iomenu.md	Err	bitreich.org	70
i+        -rw-r--r--   1 josuah  wheel     2492 Apr 19 15:41     └─ trees.md	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-NAME	Err	bitreich.org	70
i-     ptree - list process tree as a tree	Err	bitreich.org	70
i+The parsing of ls is simple and mostly safe: to find the path name, it looks	Err	bitreich.org	70
i+for ' ./', which has no chance to occur ever on ls detail output.	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-SYNOPSIS	Err	bitreich.org	70
i-     ptree	Err	bitreich.org	70
i+It have been tested with OpenBSD and busybox awk and ps.	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-DESCRIPTION	Err	bitreich.org	70
i-     The ptree utility list all processes with child-parent relationship	Err	bitreich.org	70
i-     displayed as a tree, along with aditionnal details.  The ptree utility	Err	bitreich.org	70
i-     uses the output of the ps(1) command as described by POSIX, and therefore	Err	bitreich.org	70
i-     do not require a procfs(5) to be mounted at proc.	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-EXAMPLE	Err	bitreich.org	70
i-     View the process list in a pager without wrapping lines:	Err	bitreich.org	70
i-           ptree | less -S	Err	bitreich.org	70
i+tree	Err	bitreich.org	70
i+--------------------------------------------------------------------------------	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-SEE ALSO	Err	bitreich.org	70
i-     ltree(1), ps(1)	Err	bitreich.org	70
i+The *tree* script is also provided as an example for generating a tree from a	Err	bitreich.org	70
i+find-style list.	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-     Small utilities that use the /proc filesystem:	Err	bitreich.org	70
i-     http://psmisc.sourceforge.net,	Err	bitreich.org	70
i+It reads a find-style text and convert it to a tree:	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-     Minimal Homepage of pstree : http://www.thp.uni-duisburg.de/pstree/	Err	bitreich.org	70
i-	Err	bitreich.org	70
i-AUTHORS	Err	bitreich.org	70
i-     Josuah Demangeon <mail@josuah.net>	Err	bitreich.org	70
i-	Err	bitreich.org	70
i-OpenBSD 6.3                     April 19, 2018                     OpenBSD 6.3	Err	bitreich.org	70
i+        % find . │ ./tree	Err	bitreich.org	70
.
Response: text/plain
Original URLgopher://bitreich.org/0/scm/plstree/commit/8ad9fb53fc3427...
Content-Typetext/plain; charset=utf-8