Ad Widget

Collapse

Graph top 5 memory processes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abadanvolek
    Junior Member
    • Mar 2022
    • 1

    #1

    Graph top 5 memory processes

    I'm trying to display the top 5 memory usage processes in a graph. The problem is when I run:
    ps aux --sort -%mem | head -5 | awk {'print$4" "$11'} | sed -n 2,5p
    it outputs correctly:
    23.8 postgres:
    23.6 postgres:
    8.6 wabcc1
    4.2 hiscalcque

    But this information is displayed as string in Zabbix. My question is, how do I display this information in a graph? Zabbix sees all of this as string.
Working...