LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CPU & I/O memory usage (https://www.linuxquestions.org/questions/linux-newbie-8/cpu-and-i-o-memory-usage-4175535833/)

simaaaa 03-05-2015 07:24 AM

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???

veerain 03-05-2015 07:59 AM

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.

simaaaa 03-05-2015 09:45 AM

Quote:

Originally Posted by veerain (Post 5327287)
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

veerain 03-05-2015 11:33 PM

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'.


All times are GMT -5. The time now is 03:16 AM.