mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
Merge pull request #843 from Skamasle/patch-6
Fix bug, fail display results whit some locales.
This commit is contained in:
commit
137f2580ea
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ get_srv_state() {
|
|||
|
||||
# Calculating memory usage
|
||||
mem=$(echo "$pids" |awk '{sum += $3} END {print sum/1024 }')
|
||||
mem=$(printf "%.0f\n" $mem)
|
||||
mem=$(echo "${mem%%.*}")
|
||||
|
||||
# Searching pid file
|
||||
pid_file=''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue