Total Memory

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Total Memory
# 1  
Old 03-29-2010
Total Memory

Hi,

I have a strange issue where the total memory on the server is showing low.
At the moment 8 GB of memory is installed and only 3 GB is showing on the shell prompt. I am using the commands free -m and vmstat to check the memory. Please help me out in identifying the issue.

With regards
Shabu

Last edited by pludi; 03-29-2010 at 06:25 AM..
# 2  
Old 03-29-2010
Does the BIOS show 8 GB?
# 3  
Old 03-29-2010
Are you maybe running a 32bit version without HIGHMEM64G enabled? You can check this by running
Code:
zcat /proc/config.gz | grep HIGHMEM64G

# 4  
Old 03-30-2010
Thanks a lot guys.

I used the dmidecode command to extract the details. It's showing as 8GB installed. Also find the other details as below.

Code:
[root@hostname etc]# free -m
             total       used       free     shared    buffers     cached
Mem:          3034       2862        172          0        213       2523
-/+ buffers/cache:        125       2909
Swap:         6141          0       6141


[root@hostname etc]# cat /proc/meminfo
MemTotal:      3107580 kB
MemFree:        176744 kB
Buffers:        218436 kB
Cached:        2583856 kB
SwapCached:          0 kB
Active:         500680 kB
Inactive:      2331864 kB
HighTotal:     2228032 kB
HighFree:        37640 kB
LowTotal:       879548 kB
LowFree:        139104 kB
SwapTotal:     6289320 kB
SwapFree:      6289320 kB
Dirty:             344 kB
Writeback:           0 kB
AnonPages:       30280 kB
Mapped:          11124 kB
Slab:            85084 kB
PageTables:       1264 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   7843108 kB
Committed_AS:   204180 kB
VmallocTotal:   114680 kB
VmallocUsed:      5808 kB
VmallocChunk:   108460 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
Hugepagesize:     4096 kB

[root@hostname etc]# dmidecode -t 17
# dmidecode 2.7
SMBIOS 2.3 present.

Handle 0x001B, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 2048 MB
        Form Factor: DIMM
        Set: 1
        Locator: DIMM1
        Bank Locator: BANK1
        Type: DDR2
        Type Detail: Other
        Speed: 667 MHz (1.5 ns)
        Manufacturer: Manufacturer0
        Serial Number: SerNum0
        Asset Tag: AssetTagNum0
        Part Number: PartNum0

Handle 0x001D, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 2048 MB
        Form Factor: DIMM
        Set: 1
        Locator: DIMM2
        Bank Locator: BANK1
        Type: DDR2
        Type Detail: Other
        Speed: 667 MHz (1.5 ns)
        Manufacturer: Manufacturer1
        Serial Number: SerNum1
        Asset Tag: AssetTagNum1
        Part Number: PartNum1

Handle 0x001F, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 2048 MB
        Form Factor: DIMM
        Set: 2
        Locator: DIMM3
        Bank Locator: BANK2
        Type: DDR2
        Type Detail: Other
        Speed: 667 MHz (1.5 ns)
        Manufacturer: Manufacturer2
        Serial Number: SerNum2
        Asset Tag: AssetTagNum2
        Part Number: PartNum2

Handle 0x0021, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 2048 MB
        Form Factor: DIMM
        Set: 2
        Locator: DIMM4
        Bank Locator: BANK2
        Type: DDR2
        Type Detail: Other
        Speed: 667 MHz (1.5 ns)
        Manufacturer: Manufacturer3
        Serial Number: SerNum3
        Asset Tag: AssetTagNum3
        Part Number: PartNum3

Handle 0x0023, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: No Module Installed
        Form Factor: DIMM
        Set: 3
        Locator: DIMM5
        Bank Locator: BANK3
        Type: DDR2
        Type Detail: Other
        Speed: Unknown
        Manufacturer: Manufacturer4
        Serial Number: SerNum4
        Asset Tag: AssetTagNum4
        Part Number: PartNum4

Handle 0x0025, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: No Module Installed
        Form Factor: DIMM
        Set: 3
        Locator: DIMM6
        Bank Locator: BANK3
        Type: DDR2
        Type Detail: Other
        Speed: Unknown
        Manufacturer: Manufacturer5
        Serial Number: SerNum5
        Asset Tag: AssetTagNum5
        Part Number: PartNum5

Handle 0x0027, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: No Module Installed
        Form Factor: DIMM
        Set: 4
        Locator: DIMM7
        Bank Locator: BANK4
        Type: DDR2
        Type Detail: Other
        Speed: Unknown
        Manufacturer: Manufacturer6
        Serial Number: SerNum6
        Asset Tag: AssetTagNum6
        Part Number: PartNum6

Handle 0x0029, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0019
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: No Module Installed
        Form Factor: DIMM
        Set: 4
        Locator: DIMM8
        Bank Locator: BANK4
        Type: DDR2
        Type Detail: Other
        Speed: Unknown
        Manufacturer: Manufacturer7
        Serial Number: SerNum7
        Asset Tag: AssetTagNum7
        Part Number: PartNum7


Last edited by zaxxon; 03-30-2010 at 07:36 AM.. Reason: code tags
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Calculate total memory using free -m

Hi I am trying to calculate memory used by Linux System free -m total used free shared buffers cached Mem: 32109 31010 1099 0 3600 7287 -/+ buffers/cache: 20121 11987 Swap: 10239 1282 8957 Now according to my requirement Im calculating memory using below cmd free -m | awk 'NR==3{printf... (2 Replies)
Discussion started by: sam@sam
2 Replies

2. Shell Programming and Scripting

Nagios script to get total and free memory

Hi Experts, need some help. I`m trying to write a shell script to get free, used and total memory on our linux servers. It's working great, but i need follow some standards to make it a real nagios plugin. It's pretty simple, you just type two parameters to the script, check_ram -w 80 -c 90... (4 Replies)
Discussion started by: berveglieri
4 Replies

3. UNIX for Advanced & Expert Users

Finding out total memory usage

Hi, I have a server box with 16GB ram in it, within the server box there are 3 VMs running with a total allocation of 9GB. if I add up all the numbers under memory info using vmstat I get 15.8GB so I can say it adds up to 16Gb... Is there a way to see from the command line how much memory... (2 Replies)
Discussion started by: speedhunt3r
2 Replies

4. AIX

How much total and free memory I have in my aix 5.3 server?

good morning, how I can know how much total and free memory I have in my AIX 5.3 server, and this is shown in megabytes or gigabytes? Thank you very much. (4 Replies)
Discussion started by: systemoper
4 Replies

5. Programming

Getting the total virtual memory for ubuntu in c++

Hi guys , i need to get the total virtual memory in ubuntu but i need to write a C++ code for that, any idea on how to go about doing it? any references? or website that i can refer to ? (6 Replies)
Discussion started by: xiaojesus
6 Replies

6. Shell Programming and Scripting

Total usage memory by user

Hi, When running top on linux redhat machine , i see that i have 16gb of memory in my machine and about 14.5gb of memory are in use: Mem: 16395780k total, 14970960k used, 1424820k free, 370264k buffers Swap: 4192956k total, 25824k used, 4167132k free, 12029400k cached How can i... (3 Replies)
Discussion started by: yoavbe
3 Replies

7. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

Hi, Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:- 1. Total Physical Memory in the system(total RAM). 2. Available Physical Memory(i.e. RAM Usage) 3. Total (Logical) Memory in the system 4. Available (Logical) Memory. I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies

8. UNIX for Dummies Questions & Answers

how can i get The total size of the process in virtual memory om GB or MB

Hello all im using the ps -ef "args vsz" | some.exe but the result is in kb , is there some kind of way or flag ( didnt found in the ps man ) to convert me this data to GB or MG in human readable format ? Thanks (1 Reply)
Discussion started by: umen
1 Replies

9. HP-UX

Easy one : command listing total memory

Hi, I have been searching for a command that lists the total amount of memory in the HP-UX doc but haven't found it yet. vmstat is not exactly what i want. Does the command exists on HP UX? :confused: :confused: :confused: :confused: :confused: (4 Replies)
Discussion started by: beginer
4 Replies

10. Filesystems, Disks and Memory

Total Memory/Swap Memory

I need to put a program together to determine the total, available memory and total and available swap on unix machines. I have been searching for weeks and I seem to run into dead ends. Every unix platform I look at has a different way to determine memory info. Any sugggestions or new... (4 Replies)
Discussion started by: ghe1
4 Replies
Login or Register to Ask a Question