Article View: comp.sys.sun.hardware
Article #10Re: How do I tell how much real memory I have
From: Georg S. Nikodym
Date: Tue, 27 Oct 1992 06:06
Date: Tue, 27 Oct 1992 06:06
28 lines
1485 bytes
1485 bytes
In article <1992Oct22.220704.3550@asl.dl.nec.com> drinckes@nzl.abk.nec.co.jp (Doug Rinckes) writes:
/usr/adm/messages and dmesg are no good as general cases, as syslog may
log to another machine, and if you get lots of messages dmesg will
not have the boot messages after a period of time.
Agreed.
Not everyone has access to /dev/mem or /dev/kmem so those are out. And
I have a prejudice against setuid programs anyway.
Another good point.
So.... why not use devinfo? Like this...
Here's a good reason:
(idcrisis) 22% /usr/etc/devinfo
devinfo: devinfo not available on kernel architecture sun4
(yet).
(idcrisis) 23%
You do write a mean shell script though ;-)
--
Georg S. Nikodym - (416) 272-5198 / 720-4729
Noweh Software - Mississauga, Ontario, CANADA
UUCP: {comspec.com, lsuc.on.ca, uunet.ca}!noweh!georgn
RFC822: georgn@noweh.COM
Technical Details
Message-ID:
<GEORGN.92Oct27010605@idcrisis.noweh.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!utzoo!censor!comspec!noweh.com!georgnReferences:
<1992Oct22.103904.11463@kub.nl> <1992Oct22.220704.3550@asl.dl.nec.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.sun.hardware Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!utzoo!censor!comspec!noweh.com!georgn From: georgn@noweh.com (Georg S. Nikodym) Subject: Re: How do I tell how much real memory I have In-Reply-To: drinckes@nzl.abk.nec.co.jp's message of Thu, 22 Oct 1992 22:07:04 GMT Message-ID: <GEORGN.92Oct27010605@idcrisis.noweh.com> Sender: georgn@noweh.com (Georg S. Nikodym) Organization: Noweh Software, Mississauga, CANADA References: <1992Oct22.103904.11463@kub.nl> <1992Oct22.220704.3550@asl.dl.nec.com> Date: Tue, 27 Oct 1992 06:06:08 GMT Lines: 28