Commit 9aed2b01 authored by Muhammad Herdiansyah's avatar Muhammad Herdiansyah

Memory [Solaris]: Changed function name for consistency

parent f3bfd5a9
...@@ -1118,8 +1118,8 @@ get_memory() { ...@@ -1118,8 +1118,8 @@ get_memory() {
"Solaris") "Solaris")
mem_total="$(prtconf | awk '/Memory/ {print $3}')" mem_total="$(prtconf | awk '/Memory/ {print $3}')"
memfree="$(($(sar -r 1 1 | awk 'NR==5 {print $2}') / 1024))" mem_free="$(($(sar -r 1 1 | awk 'NR==5 {print $2}') / 1024))"
mem_used="$((mem_total - memfree))" mem_used="$((mem_total - mem_free))"
;; ;;
"Haiku") "Haiku")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment