LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-25-2016, 05:23 AM   #1
jisan
LQ Newbie
 
Registered: Jul 2016
Posts: 3

Rep: Reputation: Disabled
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.
 
Old 07-25-2016, 06:25 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,790

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
you can check the used memory of the browser before and after opening that page.
 
Old 07-25-2016, 06:36 AM   #3
jisan
LQ Newbie
 
Registered: Jul 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
is there any way to calculate this from command line?
 
Old 07-25-2016, 06:50 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,790

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
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.
 
Old 07-25-2016, 06:55 AM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by jisan View Post
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.
 
Old 07-25-2016, 07:09 AM   #6
jisan
LQ Newbie
 
Registered: Jul 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
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.
 
Old 07-25-2016, 07:38 AM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by jisan View Post
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.
 
  


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: Memory and CPU Utilization by a particular Process/Command in Linux/UNIX LXer Syndicated Linux News 0 05-30-2013 04:32 AM
How to retrieve CPU, Disk and Memory utilization in linux userspace code NilesBor Linux - Kernel 2 06-17-2009 08:27 AM
process memory,CPU utilization kbarani Linux - Software 1 01-07-2009 03:50 AM
cpu and memory utilization laxmi_cs Linux - General 2 08-29-2005 04:06 PM
CPU & memory utilization rgerhards Linux - Newbie 2 12-03-2003 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:33 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