Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion RHEL/CentOS
  • Search

Centos7 - Memory usage graphs

RHEL/CentOS related topics
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
labasus
Posts: 11
Joined: Mon Nov 23, 2015 9:07 pm

Centos7 - Memory usage graphs
  • Quote

Post by labasus » Thu Dec 03, 2015 10:00 pm

Hi,
Memory usage graphs are empty (without activities), but others are working fine.
Top

labasus
Posts: 11
Joined: Mon Nov 23, 2015 9:07 pm

Re: Centos7 - Memory usage graphs (RESOLVED)
  • Quote

Post by labasus » Sun Dec 06, 2015 1:46 pm

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)
Top

taliptako
Posts: 13
Joined: Sun Dec 13, 2015 10:32 am

Re: Centos7 - Memory usage graphs
  • Quote

Post by taliptako » Sun Dec 13, 2015 1:54 pm

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)
Top

taliptako
Posts: 13
Joined: Sun Dec 13, 2015 10:32 am

Re: Centos7 - Memory usage graphs
  • Quote

Post by taliptako » Sun Dec 13, 2015 10:35 pm

Image

What is this mean ? I'm getting 1 million requests ?
Top

labasus
Posts: 11
Joined: Mon Nov 23, 2015 9:07 pm

Re: Centos7 - Memory usage graphs
  • Quote

Post by labasus » Mon Dec 14, 2015 7:43 pm

Please start new post...
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “RHEL/CentOS”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password