Ad slot: top

SPL

Linux Memory Usage

Description

Submitted by SplunkNinja

The following Splunk Search will show memory usage on a linux machine over a period of time using timechart:
1 6
index=os sourcetype=top pctMEM=*| transaction host _time | streamstats window=1 global=f sum(pctMEM) as MEM | timechart latest(MEM) by host

Comments

1 total

GR
Greg
9/8/2017

Thats too heavy, why not use vmstat?\r\nindex=os sourcetype=vmstat | timechart avg(memUsedPct) as \"Memory Used %\" by host

Leave a comment

You must log in to post a comment.

Ad slot: bottom