• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

RRDs system-processor.rrd

Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
1 Posts 1 Posters 1.3k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    Michael Sh.
    last edited by Nov 1, 2010, 1:53 PM

    Hi,
    I think need to add “-b” or “-n” option for top, because sometimes escape control codes for terminal break parsing of top output.
    /etc/inc/rrd.inc l:559

    
    /* the CPU stats gathering function. */
    $rrdupdatesh .= "`$top -b -d 2 -s 1 0 | $awk '{gsub(/%/, \"\")} BEGIN { \\\n";
    
    
    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received