summary refs log tree commit diff
path: root/xpstree
blob: d49d590f5f2e2c1938befcf296fdc70f99837c0d (plain) (blame)
1
2
3
4
5
6
7
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;'