LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-21-2009, 04:02 AM   #1
Grawp
LQ Newbie
 
Registered: Apr 2007
Posts: 10

Rep: Reputation: 0
How to measure maximum memory usage of XYZ application?


How to measure maximum memory usage of XYZ application in GNU/Linux systems? I have an application for processing some information from text files. Its average runtime is about 4ms so running a script which is looking for memory usage from 'ps' is not an option.
Any help is appreciated.
sorry for my english
 
Old 02-21-2009, 08:46 AM   #2
tokico
Member
 
Registered: Jan 2009
Posts: 49

Rep: Reputation: 18
Quote:
Originally Posted by Grawp View Post
How to measure maximum memory usage of XYZ application in GNU/Linux systems? I have an application for processing some information from text files. Its average runtime is about 4ms so running a script which is looking for memory usage from 'ps' is not an option.
Any help is appreciated.
sorry for my english
I think if you use:

Code:
./XYZ.sh & ps aux | grep XYZ
you will get what you want, because the & sign means that ps and grep are run at the same time. Assuming it's XYZ. ;D
 
  


Reply



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
tool to measure cpu/memory usage by a process saritha Linux - Software 1 10-08-2007 06:16 AM
Linux Application Disk and Memory Usage kushalag Linux - Software 4 08-03-2007 06:26 PM
[SOLVED] How to _accurately_ measure memory usage? rhimbo Linux - Kernel 10 02-21-2007 10:00 PM
How much memory is application XYZ using? BrianK Linux - General 3 11-03-2006 08:30 AM
measure memory usage unosoft Linux - Software 1 10-07-2003 06:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:29 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration