LinuxQuestions.org
Help answer threads with 0 replies.
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 09-28-2009, 05:50 AM   #1
aryan1
Member
 
Registered: Jul 2009
Posts: 50

Rep: Reputation: 16
Question process benchmarking


Hi All,

I want to measure the performance of a user-defined daemon over several sample runs in terms of its average CPU/Memory usage and running time.

I am using Ubuntu 9.04.

I would prefer a console-based benchmarking software capable of providing info about the above measurements (CPU/Memory usage and running time) over a sample run since I will need to write a shell script which will execute the user-defined daemon with different inputs and collect the statistics into a single file.

Thanks.
 
Old 09-28-2009, 07:25 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,873

Rep: Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600
For a start, there's the 'time' cmd http://linux.die.net/man/7/time and in Linux also the gnu extended version, usually referenced as \time.
Other toptions includes writing a wrapper in another lang eg Perl and using hi-res timers and even extracting various measures from the kernel, using the modules available from search.cpan.org.
 
  


Reply


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
LXer: This Week: Benchmarking, Benchmarking, & IGDNG LXer Syndicated Linux News 0 08-16-2009 10:50 PM
Benchmarking TL_CLD Slackware 3 10-16-2007 08:42 AM
Benchmarking DM or WM justanothersteve Linux - Desktop 3 08-08-2006 09:27 AM
Benchmarking goldfish_memory Linux - General 1 11-18-2005 12:45 PM
benchmarking iptables markraem Linux - Networking 0 07-19-2004 08:57 PM

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

All times are GMT -5. The time now is 06:10 PM.

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