lsof | grep -e '^java.* REG ' | grep ' dtstage ' | awk '{print $9}' | sort | uniq -d -c | sort -n
Here's a quick demo of 'sort -n'... see how the results are different if you remove the '-n':
echo " 1\n.5" | sort -n
Tech and other mechanisms I use to cope.
lsof | grep -e '^java.* REG ' | grep ' dtstage ' | awk '{print $9}' | sort | uniq -d -c | sort -n
echo " 1\n.5" | sort -n
No comments:
Post a Comment