We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Centos7 - Memory usage graphs
Centos7 - Memory usage graphs
Hi,
Memory usage graphs are empty (without activities), but others are working fine.
Memory usage graphs are empty (without activities), but others are working fine.
Re: Centos7 - Memory usage graphs (RESOLVED)
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)
# 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
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
What is this mean ? I'm getting 1 million requests ?
Re: Centos7 - Memory usage graphs
Please start new post...