Looking for tips for graphing CPU and memory output collected from top output of Linux box

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
soniya
Posts: 7
Joined: Sun Feb 18, 2024 1:03 pm

Looking for tips for graphing CPU and memory output collected from top output of Linux box

Post by soniya »

Any pointers or steps on how to graph CPU and memory output collected over time (example: 3 days) from top output of Linux box .
macan
Cacti Pro User
Posts: 898
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Looking for tips for graphing CPU and memory output collected from top output of Linux box

Post by macan »

you don't need parse top output. Data are in snmp (UCD-SNMP-MIB). Create generic snmp oid graph for any of these OIDs:
snmpwalk -v2c -c your_community -On 127.0.0.1 .1.3.6.1.4.1.2021.10.1.3

Howto create graph is described here
http://docs.cacti.net/Graph-a-Single-SNMP-OID.md
Let the Cacti grow!
macan
Cacti Pro User
Posts: 898
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Looking for tips for graphing CPU and memory output collected from top output of Linux box

Post by macan »

in UCD is everything what you want:
https://www.circitor.fr/Mibs/Html/U/UCD-SNMP-MIB.php
Let the Cacti grow!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest