From ecee68db2cac66541f434a1e883efb11bb781f9f Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Tue, 25 Oct 2022 22:07:59 +0800 Subject: [PATCH] Add -O rss,vsz to "psm" command. --- .bashrc | 2 +- .zshrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index d4e5e65..a6b10c0 100644 --- a/.bashrc +++ b/.bashrc @@ -21,7 +21,7 @@ alias more="most" alias myip="curl -s https://httpbin.org/ip | jq .origin" alias o="xdg-open" alias psa="ps awx" -alias psm="ps -U $USER" +alias psm="ps -O rss,vsz -U $USER" alias psr="psu root" alias psu="ps -U" alias s="screen" diff --git a/.zshrc b/.zshrc index 9efa0e3..8d9f5db 100644 --- a/.zshrc +++ b/.zshrc @@ -19,7 +19,7 @@ alias "m=more" alias "more=most" alias "myip=curl -s https://httpbin.org/ip | jq .origin" alias "psa=ps aux" -alias "psm=ps -U $USER" +alias "psm=ps -O rss,vsz -U $USER" alias "psr=psu root" alias "psu=ps -U" alias "s=screen"