mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 17:09:21 +00:00
Memory [Solaris]: Changed function name for consistency
This commit is contained in:
4
neofetch
4
neofetch
@@ -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")
|
||||||
|
Reference in New Issue
Block a user