Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 lines (6 sloc) 222 Bytes
#!/bin/bash
ps -eo size,pid,user,command --sort -size | \
grep "$1" | \
grep -v grep | \
awk '{ hr=$1/1024 ; printf("%-6s %9.2f Mb %s ",$2,hr,$3) } { for (x=4;x<=NF;x++) { printf("%s ",$x) } print "" }' | \
alt