diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-06-04 22:57:26 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-06-04 22:57:26 +0200 |
commit | 07e3120280f47ea48fdc935edab9a82cf61308ac (patch) | |
tree | 0c73b9d847dd3bdc07cae45345d2c1a2f67d69e4 /xpstree | |
parent | 0f2ee339ae133e7de9045d3c7d480335a8144cd7 (diff) | |
download | xtools-07e3120280f47ea48fdc935edab9a82cf61308ac.tar.gz xtools-07e3120280f47ea48fdc935edab9a82cf61308ac.tar.xz xtools-07e3120280f47ea48fdc935edab9a82cf61308ac.zip |
add xpstree
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;' + |