SUMMARY: Non-privileged shell command to list amount of physical memory?

From: Leslie B. Houk <lhouk_at_mickey.jsc.nasa.gov>
Date: Fri, 25 Sep 1998 16:19:41 -0500

Thank you to the following individuals who responded to my original
message (see below):

    Richard Bemrose, Jerome Berkman, Lucio Chiappetti, Phil Farrell,
    and Edwin Wolfe

Unfortunately, no one was able to come up with a shell command that
could tell me how much physical memory my system had, and which needed
no special privileges to run. One person mentioned "dxsysinfo", but I
could find no command/program with this name. Another mentioned "top",
but again it was not on my system. I got a couple of C programs, but
I really wanted an existing shell command, for reasons that are more
political than technical.

Thanks for trying, though.

Leslie Houk <lhouk_at_mickey.jsc.nasa.gov>
Assistant Network Administrator, Intelligent Systems Laboratory
Automation, Robotics, and Simulations Division/Johnson Space Center

> A couple of weeks ago, "Hakim, Shlomo" <shlomo_hakim_at_icomverse.com> posted
> a question about how to find the amount of physical memory in a system.
> I reviewed his summary, but none of the answers were quite what I need.
> Grepping "/var/adm/messages" or the output of "uerf -R" won't work because
> both need sysadmin privileges, and I need a shell command that any user
> can run. Since I need a shell command, code using "getsysinfo()" won't
> do. And the one solution I was excited about, the command "vmstat -P",
> doesn't work on my system, probably because my version of OSF1 is too old
> (OSF1 V3.2 -- I know, I know, but I'm stuck with it).
>
> So, does anyone know of a shell command that shows how much physical
> memory a system has, and which can be run by any user? Thanks in advance
> to all who respond.
Received on Fri Sep 25 1998 - 21:20:36 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT