LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2015, 08:24 AM   #1
simaaaa
LQ Newbie
 
Registered: Mar 2015
Posts: 2

Rep: Reputation: Disabled
Post CPU & I/O memory usage


I have this question which give me a file.tar.gz which include a calculator file and want to extract and run it
in the output it wants to show
1)cpu avg usage
2)total time taken to run
3)memory and I/O usage
can anyone help???

Last edited by simaaaa; 03-05-2015 at 08:25 AM.
 
Old 03-05-2015, 08:59 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Is the calculator file a executable?

And you mean while installing it from the tar file it executes and shows the quantities you posted?

A little clarification is needed or will help.
 
Old 03-05-2015, 10:45 AM   #3
simaaaa
LQ Newbie
 
Registered: Mar 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by veerain View Post
Is the calculator file a executable?

And you mean while installing it from the tar file it executes and shows the quantities you posted?

A little clarification is needed or will help.


the file while run
and yes it is executes
the output is needed and i should to estimate
it need to run some command in terminal but im not familier with needed command

Last edited by simaaaa; 03-05-2015 at 10:47 AM.
 
Old 03-06-2015, 12:33 AM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
You can use shell script as executable.

Use uptime, vmstat, and time command to get the needed outputs.

Quote:
2)total time taken to run
Clarify 'time taken to run what'.
 
  


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
Operating System thread level monitoring & memory, CPU usage on service with OpenNMS jitenderana Linux - Newbie 7 11-06-2012 10:07 AM
CPU & memory usage tech_usr Linux - General 1 09-04-2008 11:58 AM
Can we monitor CPU & Memory usage of Windows boxes through RRDtool on Linux (RHEL 3)? sandeepgupte Linux - Software 1 09-19-2007 11:35 AM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 05:45 AM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 06:55 AM


All times are GMT -5. The time now is 10:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration