aboutsummaryrefslogtreecommitdiff
path: root/mkshrc
diff options
context:
space:
mode:
Diffstat (limited to 'mkshrc')
-rw-r--r--mkshrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkshrc b/mkshrc
index efd0824..e00f898 100644
--- a/mkshrc
+++ b/mkshrc
@@ -327,6 +327,7 @@ set_my_title() {
}
_sys_memory() {
+ [ -e $(which vmstat) ] && return
if [ `uname` = "Linux" ] ; then
vmstat | tail -n1 | awk '{print $4/1024}' | sed -e's/\..*$//g'
elif [ `uname` = "FreeBSD" ] ; then