Re: How to know the size of RAM memory

2007-08-05 Thread Philip M. Gollucci
fbsd2 wrote:
> What is the meaning of the 67108864 number?
Its 64MB in bytes.

[08:42 PM](ttyp0)[EMAIL PROTECTED] j0 h2 c502
/usr/home/pgollucci>
bc
64*1024
65536
.*1024
67108864


-- 

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: How to know the size of RAM memory

2007-08-05 Thread fbsd2
What is the meaning of the 67108864 number?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Wojciech Puchar
Sent: Sunday, August 05, 2007 3:12 PM
To: Manolis Kiagias
Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: Re: How to know the size of RAM memory

>> # /root >dmesg | grep -i memory
>> real memory  = 67108864 (64 MB)
>> avail memory = 56094720 (53 MB)

this is true - 64MB
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to know the size of RAM memory

2007-08-05 Thread Wojciech Puchar

# /root >dmesg | grep -i memory
real memory  = 67108864 (64 MB)
avail memory = 56094720 (53 MB)


this is true - 64MB
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to know the size of RAM memory

2007-08-05 Thread Manolis Kiagias
fbsd2 wrote:
> I tried what people said to do and I get different values that do not match
> what the bios say.
> Why is there so large a difference?
> How can this be explained???
>
> # /root >sysctl -a | grep -i memory
> Virtual Memory: (Total: 2871K, Active 91444K)
> Real Memory:(Total: 37324K Active 12756K)
> Shared Virtual Memory:  (Total: 15088K Active: 9864K)
> Shared Real Memory: (Total: 3284K Active: 2700K)
> Free Memory Pages:  20896K
>
>
> # /root >dmesg | grep -i memory
> real memory  = 67108864 (64 MB)
> avail memory = 56094720 (53 MB)
>
> bios show
> base   640k
> extended 64512k
> cache  384k
> total = 65536k
>
>
>   
Though the answer from sysctl maybe somewhat confusing, the answer from
dmesg is exactly what you get from BIOS:
64MB = 65536 K just like your bios reports.

As for the base / extended /cache distinction in the BIOS, these belong
to the ancient "DOS" era and have nothing to do with modern operating
systems.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: How to know the size of RAM memory

2007-08-05 Thread fbsd2
I tried what people said to do and I get different values that do not match
what the bios say.
Why is there so large a difference?
How can this be explained???

# /root >sysctl -a | grep -i memory
Virtual Memory: (Total: 2871K, Active 91444K)
Real Memory:(Total: 37324K Active 12756K)
Shared Virtual Memory:  (Total: 15088K Active: 9864K)
Shared Real Memory: (Total: 3284K Active: 2700K)
Free Memory Pages:  20896K


# /root >dmesg | grep -i memory
real memory  = 67108864 (64 MB)
avail memory = 56094720 (53 MB)

bios show
base   640k
extended 64512k
cache  384k
total = 65536k

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Shantanoo Mahajan
Sent: Sunday, August 05, 2007 2:52 AM
To: Prakash Poudyal
Cc: freebsd-questions@freebsd.org
Subject: Re: How to know the size of RAM memory

On 05-Aug-07, at 8:53 AM, Prakash Poudyal wrote:

> Hello everybody,
>
> Can any body tell how to see the size of RAM memory in freebsd. ?

you may try:
sysctl -a | grep -i mem

shanatnoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to know the size of RAM memory

2007-08-05 Thread Shantanoo Mahajan

On 05-Aug-07, at 8:53 AM, Prakash Poudyal wrote:


Hello everybody,

Can any body tell how to see the size of RAM memory in freebsd. ?


you may try:
sysctl -a | grep -i mem

shanatnoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to know the size of RAM memory

2007-08-04 Thread Wojciech Puchar

dmesg |grep memory




On Sun, 5 Aug 2007, Prakash Poudyal wrote:


Hello everybody,

Can any body tell how to see the size of RAM memory in freebsd. ?
Thank you

Sincerely

Prakash
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to know the size of RAM memory

2007-08-04 Thread NetOpsCenter

Prakash Poudyal wrote:


Hello everybody,

Can any body tell how to see the size of RAM memory in freebsd. ?
Thank you

Sincerely

Prakash
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

 


dmesg -a | more

This will get you all the stats from boot up.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
 + http://internetohana.org   - Supporting - FreeBSD 6.* - 7.* +
"All that's really worth doing is what we do for others."- Lewis Carrol


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to know the size of RAM memory

2007-08-04 Thread Modulok
On 8/4/07, Prakash Poudyal <[EMAIL PROTECTED]> wrote:
> Hello everybody,
>
> Can any body tell how to see the size of RAM memory in freebsd. ?
> Thank you
>
> Sincerely
>
> Prakash

It should be displayed early in the dmesg(8) output shown during the
boot process. You may review this by executing the dmesg(8) command.
Among the output will be listed:

  dmesg | grep "memory"
real memory  = 2146304000 (2046 MB)
avail memory = 2087034880 (1990 MB)


You could also check the appropriate sysctl(8) variables as follows:
  sysctl hw.physmem
  sysctl hw.usermem
  sysctl hw.realmem

To get memory usage statistics you can use ps(1) and top(1):
  ps -u
  top

-Modulok-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to know the size of RAM memory

2007-08-04 Thread Prakash Poudyal
Hello everybody,

Can any body tell how to see the size of RAM memory in freebsd. ?
Thank you

Sincerely

Prakash
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"