How to capture performance data in Linux

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Memory usage

while : ;do date;echo "================";ps -eo pid,pmem,rss,comm --sort rss|egrep "PID|java" |tail -12;echo "=================";sleep 5;done

top example

nohup top -b -d 2 | egrep --color=auto "top|Task|Cpu|Mem|Swap|PID|elastic" >> top.out &

Leave a Reply

avatar
3000
  Subscribe  
Notify of