On Tuesday 25 October 2005 17:59, Daniel Hatfield wrote:
> > > Is there a way to obtain the amount of physical memory installed in a
> > > system from within SuSE 10 console? This is for a script.
> >
> > $ cat /proc/meminfo
> > MemTotal: 526525152 kB
> > [...]
> > $
>
> Or to be more specific:
> cat /proc/meminfo | grep MemTotal
Or to be even more specific
cat /proc/meminfo | grep MemTotal|awk '{print $2}'
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]