Skip to contentSkip to conversation

actual memory size

DISCUSSION Mehran Rezaei 3 participants 4 messages Jul 31, 2002

lore
Share & tools
lore
#0 lore raw

Hello,

Is anyone aware of a shell command that tells you the size of physical memory used in your computer?
Any help is appreciated.
So long,

Mehran

#1 lore raw

There are a number of possibilities.
Most likely you are looking for:

cat /proc/meminfo

which tells you what the machine itself was told about mem. You can also use:

top

which amongst other things also gives you the mem info.

Sincerely,

Dr. Karsten Jeppesen
VP of Technology
Total Impact
<[email protected]> Phn: (805) 987-8704 Fax: (805) 484-9469
----------------------------------------------------------------------
Satellite Safety Tip #14:
If you see a bright streak in the sky coming at you, duck.
----------------------------------------------------------------------

Quoted 14 lines

Hello,

Is anyone aware of a shell command that tells you the size of physical memory used in your computer?
Any help is appreciated.
So long,

Mehran

-
To unsubscribe from this list: send the line "unsubscribe linux-gcc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Mehran Rezaei

There are a number of possibilities.
Most likely you are looking for:

cat /proc/meminfo

which tells you what the machine itself was told about mem. You can also use:

top

which amongst other things also gives you the mem info.

Sincerely,

Dr. Karsten Jeppesen
VP of Technology
Total Impact
<[email protected]> Phn: (805) 987-8704 Fax: (805) 484-9469
----------------------------------------------------------------------
Satellite Safety Tip #14:
If you see a bright streak in the sky coming at you, duck.
----------------------------------------------------------------------

Quoted 14 lines

Hello,

Is anyone aware of a shell command that tells you the size of physical memory used in your computer?
Any help is appreciated.
So long,

Mehran

-
To unsubscribe from this list: send the line "unsubscribe linux-gcc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to Mehran Rezaei

[Mehran Rezaei wrote...]

-| Hello,
-| 
-| Is anyone aware of a shell command that tells you the size of physical
-| memory used in your computer?
-| Any help is appreciated.
-| So long,
-| 
-| Mehran
-| 

try 'free':

			-- cut here --

ibraheem@ignoramus:1 $ free

total used free shared buffers cached
Mem: 1027924 1014776 13148 324 119456 715936
-/+ buffers/cache: 179384 848540
Swap: 2040244 0 2040244

			-- cut here --

Kindest regards,

			--ibs.
Signature · 3 lines
			ibraheem umaru-mohammed
			   www.micromuse.com
			         --0--