How should I know the total RAM available on UNIX


 
Thread Tools Search this Thread
Operating Systems HP-UX How should I know the total RAM available on UNIX
# 1  
Old 02-21-2007
How should I know the total RAM available on UNIX

Hi How Should I know the Total RAM available on HP-UX box?
# 2  
Old 02-21-2007
# 3  
Old 02-23-2007
Not pretty sure but I think the command TOP, gives you that
# 4  
Old 02-23-2007
You might try this too
Code:
 grep Physical: /var/adm/syslog/syslog.log

diving through the gui of 'stm' utility will confirm when in doubt...
# 5  
Old 02-23-2007
If u use glance in HP ux, u can able to find out Ram size very easily.
just type # glance -m
from that window u can able to find Physical Ram size
# 6  
Old 02-23-2007
Script for finding hardware information

I put this together for 11.00 and now 11.11 servers - just copy and paste into a ksh script and run.

#!/bin/ksh
# Collect system information
# System
echo Name: `hostname`
echo Model: `model`
echo OS: `uname`
echo OS Level: `uname -r`
#
# Memory:
#
HPUX=/stand/vmunix
MAJORREV=$(uname -r | cut -f2 -d .)
if [ $MAJORREV -ge "11.0" ]
then
MYSYMBOL="phys_mem_pages"
else
MYSYMBOL="physmem"
fi
MYMEM=$(echo "${MYSYMBOL}/D" | adb $HPUX /dev/kmem | grep "${MYSYMBOL}: *." | awk '{print $2*4/1024}')
echo Memory: $MYMEM
#
# Number of processors
#
echo Processors: `sar -Mu 1 1|awk 'END {print NR-5}' `
#
# Processor speed:
#
HPUX=/stand/vmunix
MHZ=$(echo itick_per_tick/D | adb -k $HPUX /dev/kmem | tail -1 | awk '{print $2/10000}')
echo Process Speed: $MHZ
# 7  
Old 02-26-2007
FYI:
Quote:
adb: info: Option -k is deprecated.
on 11.23. Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to read total RAM in GBs?

I am aware of the commands to find the total RAM on Linux and Unix for example vmstat. Can you please tell me which tool / command can give me the Total RAM reading in GBs on Solaris Unix and Linux ? (2 Replies)
Discussion started by: mohtashims
2 Replies

2. UNIX for Dummies Questions & Answers

Total RAM not recognised

Hi We have a redhat 4 with 8GB ram in it but free -m only recognises 3 GB of total ram please could some one help me why this happens HP syetems insight manager showing 4* 2 GB RAMS # free -m total used free shared buffers cached Mem: 3290... (6 Replies)
Discussion started by: robo
6 Replies

3. Shell Programming and Scripting

Calculate total space, total used space and total free space in filesystem names matching keyword

Good afternoon! Im new at scripting and Im trying to write a script to calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies

4. Red Hat

red hat Linux 5.0 is detecting 3gb ram but physical ram is 16gb

Hi, On server 64bit Hw Arch , Linux 5.0(32bit) is installed it is showing only 3gb of ram though physical is 16gb can u give me idea why? (4 Replies)
Discussion started by: manoj.solaris
4 Replies

5. Shell Programming and Scripting

View the Server Total Ram in GB

Hello, I want to view server RAM in GB i.e 4 GB or 6 GB via command line to use it in bash script waiting Any Ideas :) Thanks :):) (2 Replies)
Discussion started by: LinuxCommandos
2 Replies

6. UNIX for Advanced & Expert Users

RAM Drive in UNIX?

Hello, I will be processing 47000 zip files each of size 5.5 MB. Following operation will be performed for each zip file: 1. Unzip the file. 2. Read each text and binary file. 3. Preprocess the files. 4. Store the files in different tables in Oracle. 5. Delete the extracted... (7 Replies)
Discussion started by: joshivaibhav
7 Replies

7. UNIX for Dummies Questions & Answers

RAM size in Digital unix

Hi All Im currntly working on a digital unix machine and must know what is the amount of MB\GB instaled ( i do not have physical access to the machine). can anyone help me here? 10x!!!!!!!!!!!!!!! (1 Reply)
Discussion started by: dindan100
1 Replies

8. UNIX for Dummies Questions & Answers

Total ram

Hi How can i find the total ram in the system? :confused: (4 Replies)
Discussion started by: orca
4 Replies

9. UNIX for Dummies Questions & Answers

UNIX for 386 SX 4MB RAM

How, where from and which UNIX or LINUX can I download so that I can use it normally working on 386 SX 4MB RAM. I want to use only its basic functions and C and C++ compiler on it. I need it for my studies. P.S I need a stable UNIX or LINUX including a full set of functions of C... (4 Replies)
Discussion started by: Traiancho
4 Replies
Login or Register to Ask a Question