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.
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.