The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
shmat() Failure While Using a Large Amount of Shared Memory theicarusagenda Linux 2 02-25-2008 11:06 AM
the amount of memory consumed per user big123456 UNIX for Advanced & Expert Users 1 11-24-2006 02:22 AM
amount of memory in my server new2ss UNIX for Dummies Questions & Answers 2 11-06-2006 07:28 AM
sed X amount of times - X is dynamic Loriel Shell Programming and Scripting 2 02-17-2005 05:38 PM
How to get amount of memory installed. elgholm UNIX for Dummies Questions & Answers 4 08-24-2001 04:04 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-10-2002
Registered User
 

Join Date: Feb 2002
Location: Harare, Zimbabwe
Posts: 7
Question Amount of RAM (Memory)

How do i check/get the total amount of RAM, on a machine running UNIX?
Forum Sponsor
  #2  
Old 10-10-2002
Kelam_Magnus's Avatar
Registered User
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
dmesg output or in /var/adm/messages

It can depend on what flavor. Please post the "uname -a " output.

You can grep it out of the kernel. Or look in dmesg. If you have logging for dmesg to /var/adm/messages, you can grep it out of that ascii file. It should show your memory there. Grep for "memory" or "physical".

Here is what my output is from dmesg.

Memory Information:
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 25165824 Kbytes, lockable: 20122908 Kbytes, available: 23098488 Kbytes

Hope this helps you!!
__________________
My brain is your brain
  #3  
Old 10-10-2002
Registered User
 

Join Date: Feb 2002
Location: Harare, Zimbabwe
Posts: 7
Thumbs up

Thanx, that worked!
  #4  
Old 07-29-2003
Registered User
 

Join Date: Jun 2001
Posts: 6
Try the memsize command (Unixware). There are some options, see the man page for the command.

Example:

# memsize -afm
1024 Total memory
1024 Usable memory
985 General memory
985 File (Pageable) memory
0 Dedicated memory

Last edited by dinplant; 07-29-2003 at 01:15 PM.
  #5  
Old 07-29-2003
Registered User
 

Join Date: Aug 2001
Posts: 179
On Solaris you may try
prtconf|grep Mem
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:14 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0