LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-19-2011, 03:02 AM   #1
indiajoe
Member
 
Registered: Jan 2009
Location: India
Distribution: Porteus atma
Posts: 84

Rep: Reputation: 21
Question Tracking memory and CPU usage of a software


Hi,
How can I keep a record of the memory usage of a particular software?
The software I have in mind is firefox. All I want to do is to record the memory and cpu usage in regular intervals of time.
htop (top) revels that firefox runs with many PIDs. So, is there a single command to keep track of the complete PIDs of firefox. If there exists a command to check the total usage at an instant I can write a script to run it periodically..
-Cheers
indiajoe
 
Old 04-19-2011, 09:29 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,934
Blog Entries: 5

Rep: Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751
There is a commercial product called Measureware that lets one tie processes/applications together to get performance history on them. (It is from HP).

On checking for Open Source recommendations like Measureware I found this one:
http://collectl.sourceforge.net/

I haven't used it myself but it looks like it might fit your need (or be a bit of overkill).
 
Old 04-20-2011, 05:18 AM   #3
indiajoe
Member
 
Registered: Jan 2009
Location: India
Distribution: Porteus atma
Posts: 84

Original Poster
Rep: Reputation: 21
Thanks a lot..
It would have been nice, if any command which is already present in every distro could be used.
-indiajoe
 
Old 04-26-2011, 11:07 AM   #4
markseger
Member
 
Registered: Jul 2003
Posts: 241

Rep: Reputation: 25
"It would have been nice, if any command which is already present in every distro could be used."

this really sums up why I wrote collectl. there aren't any consistent tools for monitoring system counters. there are certainly plenty of tools, but they all do it differently. some log to files, some don't. some provide timestamps, some don't. some show instance level data, some don't.

so while collectl isn't on all distros it certainly runs on all and it DOES do everything consistently, or at least tries to wherever it can.

-mark
 
1 members found this post helpful.
  


Reply

Tags
firefox, memory, usage


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU and memory usage?? msmeenamani Linux - Newbie 3 02-22-2009 01:49 AM
cpu and memory usage graziano1968 Linux - General 1 04-21-2007 06:49 AM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 05:55 AM


All times are GMT -5. The time now is 05:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration