![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How do i check/get the total amount of RAM, on a machine running UNIX?
|
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
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
|
|||
|
|||
|
Thanx, that worked!
|
|
#4
|
|||
|
|||
|
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
|
|||
|
|||
|
On Solaris you may try
prtconf|grep Mem |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|