Hi all,
I am looking for a tool which let me monitor memory consumption per process on CentOS 5/6. The tool should be able to save its history so I could see what amount of memory was consumed yesterday/week ago/etc by each process. Can you recommend anything like that ?
Best regards P.
You can use top in batch mode, -a sorts by memory, -d 20 updates every 20 seconds. adjust to your needs.
top -b -a -d 20 >> top.txt
If you are going to disconnect from the terminal, use nohup before top:
nohup top -b -a -d 20 >> top.txt
----- Message from przemolicc@poczta.fm --------- Date: Thu, 07 Aug 2014 16:14:12 +0200 From: przemolicc@poczta.fm Reply-To: CentOS mailing list centos@centos.org Subject: [CentOS] Per process memory monitoring tool To: centos@centos.org
Hi all,
I am looking for a tool which let me monitor memory consumption per process on CentOS 5/6. The tool should be able to save its history so I could see what amount of memory was consumed yesterday/week ago/etc by each process. Can you recommend anything like that ?
Best regards P.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
----- End message from przemolicc@poczta.fm -----
You also need to append & to the command.
(Sent from iPhone, so please accept my apologies in advance for any spelling or grammatical errors.)
On Aug 7, 2014, at 10:31 AM, Virilha centos@cheiraminhavirilha.com wrote:
You can use top in batch mode, -a sorts by memory, -d 20 updates every 20 seconds. adjust to your needs.
top -b -a -d 20 >> top.txt
If you are going to disconnect from the terminal, use nohup before top:
nohup top -b -a -d 20 >> top.txt
----- Message from przemolicc@poczta.fm --------- Date: Thu, 07 Aug 2014 16:14:12 +0200 From: przemolicc@poczta.fm Reply-To: CentOS mailing list centos@centos.org Subject: [CentOS] Per process memory monitoring tool To: centos@centos.org
Hi all,
I am looking for a tool which let me monitor memory consumption per process on CentOS 5/6. The tool should be able to save its history so I could see what amount of memory was consumed yesterday/week ago/etc by each process. Can you recommend anything like that ?
Best regards P.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
----- End message from przemolicc@poczta.fm -----
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I think "atop" is close to what you need.
HTH
-- Sent from the Delta quadrant using Borg technology!
Nux! www.nux.ro
----- Original Message -----
From: przemolicc@poczta.fm To: centos@centos.org Sent: Thursday, 7 August, 2014 3:14:12 PM Subject: [CentOS] Per process memory monitoring tool
Hi all,
I am looking for a tool which let me monitor memory consumption per process on CentOS 5/6. The tool should be able to save its history so I could see what amount of memory was consumed yesterday/week ago/etc by each process. Can you recommend anything like that ?
Best regards P.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos