diff options
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | xpstree | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/README b/README index 3753a2a..253c219 100644 --- a/README +++ b/README @@ -23,6 +23,7 @@ https://github.com/voidlinux/xbps xnew PKG - create XBPS template template xnodev - list not installed -devel packages for installed packages xoptdiff [-q] [PKGS...] - show template options which differ from binary package + xpstree - display tree view of xbps-src processes xq [-R] PKGS... - query information about XBPS package xrevbump MESSAGE TEMPLATES... - increase template revision and commit xsrc PKG - list source files for XBPS template diff --git a/xpstree b/xpstree new file mode 100644 index 0000000..d49d590 --- /dev/null +++ b/xpstree @@ -0,0 +1,8 @@ +#!/bin/sh +# xpstree - display tree view of xbps-src processes + +ps -o pid,etime,cmd -H xww | + sed -n 's, , ,; + s, [^ ]* /void-packages/xbps-src,xbps-src,p; + s, [^ ]* /void-packages/.*/build.sh \([^ ]*\).*,\1,p;' + |