Memory [Solaris]: Changed function name for consistency
This commit is contained in:
parent
f3bfd5a9f5
commit
9aed2b0103
4
neofetch
4
neofetch
|
@ -1118,8 +1118,8 @@ get_memory() {
|
|||
|
||||
"Solaris")
|
||||
mem_total="$(prtconf | awk '/Memory/ {print $3}')"
|
||||
memfree="$(($(sar -r 1 1 | awk 'NR==5 {print $2}') / 1024))"
|
||||
mem_used="$((mem_total - memfree))"
|
||||
mem_free="$(($(sar -r 1 1 | awk 'NR==5 {print $2}') / 1024))"
|
||||
mem_used="$((mem_total - mem_free))"
|
||||
;;
|
||||
|
||||
"Haiku")
|
||||
|
|
Reference in New Issue