l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
August 5: Social gathering
Next Installfest:
TBD
Latest News:
Jul. 4: July, August and September: Security, Photography and Programming for Kids
Page last updated:
2002 Feb 11 16:18

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Checking amount of memory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Checking amount of memory



On Mon, 11 Feb 2002, Jay Strauss wrote:
> I just installed a bunch of memory in my machine (512Mb).  How do I check if
> linux is "seeing" it all?
> 
> I looked at dmesg but all I see is:
> 
> Memory: 64036k/66556k available (1060k kernel code, 420k reserved, 976k
> data, 64k init, 0k bigmem)
> 
> When I do top:
> 
>   7:52am  up  2:40,  2 users,  load average: 0.00, 0.00, 0.00
> 45 processes: 44 sleeping, 1 running, 0 zombie, 0 stopped
> CPU states:  0.1% user,  0.7% system,  0.0% nice, 99.0% idle
> Mem:    64100K av,   40552K used,   23548K free,   45312K shrd,    3320K
> buff
> Swap:  265032K av,       0K used,  265032K free                   22140K
> cached
> 
>   PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
>   771 root      11   0   852  852   664 R       0  0.9  1.3   0:00 top
>     1 root       0   0   472  472   400 S       0  0.0  0.7   0:05 init
>     2 root       0   0     0    0     0 SW      0  0.0  0.0   0:00 kflushd
>     3 root       0   0     0    0     0 SW      0  0.0  0.0   0:00 kupdate
>     4 root       0   0     0    0     0 SW      0  0.0  0.0   0:00 kpiod

free is what you prob want.

---
dugan@libfs:~$ free
             total       used       free     shared    buffers     cached
Mem:        971344     508936     462408      30452     279652     103868
-/+ buffers/cache:     125416     845928
Swap:       120480          0     120480
---

If Linux is only seeing 64Mb, try adding an entry to lilo.conf:
append="mem=512M" 
run lilo again, and reboot. See if free reports what you want.

(I thought that linux did a better job of detecting available memory +64Mb
since v2.2 kernels. My systems with 128Mb, 1Gb, 2Gb etc seem to find the
memory just fine.)

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/CM$/IT$/LS$/S/O$ !d--(++) !s !a+++(-----) C++$(++++) U++++$(+$) P+$>+++ 
L+++$(++) E W+++$(+) N+ o K w+$>++>+++ O-@ M+$ V-$>- !PS !PE Y+ !PGP
t@-(++) 5+@ X@ R- tv- b++ DI+++ D+ G--@ e+>++>++++ h(++)>+ r*>? z?
------END GEEK CODE BLOCK------
decode: http://www.ebb.org/ungeek/ about: http://www.geekcode.com/geek.html
     Systems Department Operating Systems Analyst for the SSU Library

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.