aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bash_include3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash_include b/bash_include
index ae2de55..3147fb0 100644
--- a/bash_include
+++ b/bash_include
@@ -1319,6 +1319,9 @@ function get_memory_info ()
echo "Swap devices"
swapctl -lk
;;
+ *solaris*)
+ top -n | sed -n -e 5p
+ ;;
*)
echo "Unsupported operating system."
;;