diff options
Diffstat (limited to 'xpstree')
-rw-r--r-- | xpstree | 8 |
1 files changed, 8 insertions, 0 deletions
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;' + |