HP OpenVMS Systems

ask the wizard
Content starts here

UNIX physical memory questions?

» close window

The Question is:

 
Is there a command or commands that a general
user can use to determine the amount of
physical memory in a system?  For example,
if /var/adm/messages had protections 644
instead of 640, the command
 
grep "physical memory" /var/adm/messages
 
would do what I want.  I hope to use the
command in a shell script.  Thanks in advance
for your help.
 


The Answer is :

 
  The value returned by f$getsyi("PHYSICALPAGES") is often used for this
  purpose on OpenVMS.  As for accessing /var/adm/messages (or for issuing
  a chmod on it) on your system, please contact your UNIX system manager.
 
  Note: you have reached the OpenVMS Wizard, not the UNIX Wizard.
 

answer written or last revised on ( 21-SEP-1998 )

» close window