From 439ab65f579fddf2c8ecfc9857a2304334a54d04 Mon Sep 17 00:00:00 2001 From: staticsafe Date: Mon, 9 Jan 2012 13:46:18 -0500 Subject: [PATCH] Added alias to display top 10 programs sorted by memory usage. --- .zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 6820bf2..a20ac99 100644 --- a/.zshrc +++ b/.zshrc @@ -23,4 +23,5 @@ setopt inc_append_history alias rmdir='rm -r' alias sl='ls' alias octalperm="stat -c '%A %a %n' *" -alias myip="wget -qO- ifconfig.me/ip" \ No newline at end of file +alias myip="wget -qO- ifconfig.me/ip" +alias memoryhog="ps aux | sort -nk +4 | tail" \ No newline at end of file