LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CPU utilization memory in MB in Ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/cpu-utilization-memory-in-mb-in-ubuntu-4175585460/)

jisan 07-25-2016 05:23 AM

CPU utilization memory in MB in Ubuntu
 
could anyone tell me how to check how much Memory in MB is needed to open a webpage www.yahoo.com in Ubuntu machine. I need total calculation but not in percantage.

pan64 07-25-2016 06:25 AM

you can check the used memory of the browser before and after opening that page.

jisan 07-25-2016 06:36 AM

is there any way to calculate this from command line?

pan64 07-25-2016 06:50 AM

calculate what? the content of a generated page on a remote server? The only way is to get/download it, and measure the memory usage. But probably someone has a better idea.

hydrurga 07-25-2016 06:55 AM

Quote:

Originally Posted by jisan (Post 5580909)
could anyone tell me how to check how much Memory in MB is needed to open a webpage www.yahoo.com in Ubuntu machine. I need total calculation but not in percantage.

Out of pure interest, can I ask why you want to want/need to do this? Your reason may have an impact on the solution.

jisan 07-25-2016 07:09 AM

I am intersted to know how much memory(RAM) is used while we open a page in the browser.Is there any command that can show total memory is used in MB?I can use htop command. But it shows only in percentage of memory(RAM) with many process.

hydrurga 07-25-2016 07:38 AM

Quote:

Originally Posted by jisan (Post 5580957)
I am intersted to know how much memory(RAM) is used while we open a page in the browser.Is there any command that can show total memory is used in MB?I can use htop command. But it shows only in percentage of memory(RAM) with many process.

The top command provides you information on the memory used/consumed by each process in KB. You can use the e command within top to cycle through viewing the memory info in KB/MB/GB/PB.


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