Page 1 of 1
Centos7 - Memory usage graphs
Posted: Thu Dec 03, 2015 10:00 pm
by labasus
Hi,
Memory usage graphs are empty (without activities), but others are working fine.
Re: Centos7 - Memory usage graphs (RESOLVED)
Posted: Sun Dec 06, 2015 1:46 pm
by labasus
After some searching I've found the solution, just edit /usr/local/vesta/bin/v-update-sys-rrd-mem and replace with "head -n2"
# Parsing data
if [ "$period" = 'daily' ]; then
mem=$(free -m)
used=$(echo "$mem" |awk '{print $3}'|head -n2 |tail -n1)
free=$(echo "$mem" |awk '{print $4}'|head -n2 |tail -n1)
swap=$(echo "$mem" |awk '{print $3}'|tail -n1)
Re: Centos7 - Memory usage graphs
Posted: Sun Dec 13, 2015 1:54 pm
by taliptako
I have same problem and i tried these codes but Vestacp shows i have 1 gb memort but i have 512 mb memory.
labasus wrote:After some searching I've found the solution, just edit /usr/local/vesta/bin/v-update-sys-rrd-mem and replace with "head -n2"
# Parsing data
if [ "$period" = 'daily' ]; then
mem=$(free -m)
used=$(echo "$mem" |awk '{print $3}'|head -n2 |tail -n1)
free=$(echo "$mem" |awk '{print $4}'|head -n2 |tail -n1)
swap=$(echo "$mem" |awk '{print $3}'|tail -n1)
Re: Centos7 - Memory usage graphs
Posted: Sun Dec 13, 2015 10:35 pm
by taliptako
What is this mean ? I'm getting 1 million requests ?
Re: Centos7 - Memory usage graphs
Posted: Mon Dec 14, 2015 7:43 pm
by labasus
Please start new post...