From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078721912120.tru64-unix-managers.marc@archive.invalid> From: "Leslie B. Houk" Date: Fri, 25 Sep 1998 21:19:41 +0000 To: tru64-unix-managers Subject: SUMMARY: Non-privileged shell command to list amount of physical X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078721912120 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 Assistant Network Administrator, Intelligent Systems Laboratory Automation, Robotics, and Simulations Division/Johnson Space Center > A couple of weeks ago, "Hakim, Shlomo" 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.