From 5698f5c6ce61d68b0950626a61a8e488b411adf0 Mon Sep 17 00:00:00 2001 From: LAN-TW <lantw44@gmail.com> Date: Wed, 1 May 2013 23:16:32 +0800 Subject: bash_include: GNU/Hurd 顯示記憶體用量的方式與 GNU/Linux 相同 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bash_include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash_include') diff --git a/bash_include b/bash_include index f4581fb..12531df 100644 --- a/bash_include +++ b/bash_include @@ -1033,7 +1033,7 @@ function keep_sudo_credential () function get_memory_info () { case "`uname`" in - "Linux") + "Linux"|"GNU") local meminfoline="`free -m | \grep -i mem`" local swapinfoline="`free -m | \grep -i swap`" local memtotal="`echo "$meminfoline" | awk '{print $2}'`" -- cgit