Easy one : command listing total memory


 
Thread Tools Search this Thread
Operating Systems HP-UX Easy one : command listing total memory
# 1  
Old 05-30-2006
Easy one : command listing total memory

Hi,

I have been searching for a command that lists the total amount of memory in the HP-UX doc but haven't found it yet.

vmstat is not exactly what i want. Does the command exists on HP UX?

Smilie Smilie Smilie Smilie Smilie
# 2  
Old 05-30-2006
I would like to have this form :

Total Memory : total 0.00 MB / free 0.00 MB

but i have to update my script update.sh to show thoses informations in /etc/motd and to update it with the good commands.....not so easy...

Smilie Smilie Smilie Smilie
# 3  
Old 05-30-2006
If you have Ignite-UX you can use that

/opt/ignite/bin/print_manifest | more

command. You can see your physical memory in "Main Memory:" line
# 4  
Old 05-30-2006
thanks a lot,

it's exactly what i needed.

Smilie Smilie Smilie Smilie Smilie Smilie Smilie
# 5  
Old 05-31-2006
to check total mem installed

hi there
u can try
# dmesg |grep Physical
to check total physical mem installed

Regards
ajay
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Calculate total memory using free -m

Hi I am trying to calculate memory used by Linux System free -m total used free shared buffers cached Mem: 32109 31010 1099 0 3600 7287 -/+ buffers/cache: 20121 11987 Swap: 10239 1282 8957 Now according to my requirement Im calculating memory using below cmd free -m | awk 'NR==3{printf... (2 Replies)
Discussion started by: sam@sam
2 Replies

2. UNIX for Advanced & Expert Users

Finding out total memory usage

Hi, I have a server box with 16GB ram in it, within the server box there are 3 VMs running with a total allocation of 9GB. if I add up all the numbers under memory info using vmstat I get 15.8GB so I can say it adds up to 16Gb... Is there a way to see from the command line how much memory... (2 Replies)
Discussion started by: speedhunt3r
2 Replies

3. Shell Programming and Scripting

Vertical total and listing

file 1 voucher DOB amount name type ====== ======= ======= ================== === 37836452 1/13/1961 125000 ASHUTOSH 65 37836505 1/13/1961 500000 ASHUTOSH 49 37836455 1/13/1961 100000 ASHUTOSH 65 37836488 1/13/1961 250000 ASHUTOSH 75... (11 Replies)
Discussion started by: vakharia Mahesh
11 Replies

4. Red Hat

Total Memory

Hi, I have a strange issue where the total memory on the server is showing low. At the moment 8 GB of memory is installed and only 3 GB is showing on the shell prompt. I am using the commands free -m and vmstat to check the memory. Please help me out in identifying the issue. With regards... (3 Replies)
Discussion started by: shabu
3 Replies

5. Programming

Getting the total virtual memory for ubuntu in c++

Hi guys , i need to get the total virtual memory in ubuntu but i need to write a C++ code for that, any idea on how to go about doing it? any references? or website that i can refer to ? (6 Replies)
Discussion started by: xiaojesus
6 Replies

6. Shell Programming and Scripting

Total usage memory by user

Hi, When running top on linux redhat machine , i see that i have 16gb of memory in my machine and about 14.5gb of memory are in use: Mem: 16395780k total, 14970960k used, 1424820k free, 370264k buffers Swap: 4192956k total, 25824k used, 4167132k free, 12029400k cached How can i... (3 Replies)
Discussion started by: yoavbe
3 Replies

7. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

Hi, Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:- 1. Total Physical Memory in the system(total RAM). 2. Available Physical Memory(i.e. RAM Usage) 3. Total (Logical) Memory in the system 4. Available (Logical) Memory. I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies

8. UNIX for Dummies Questions & Answers

Need help on installing an EASY to use and easy to install command line text editor

Hi again. Sorry if it seems like I'm spamming the boards a bit, but I figured I might as well ask all the questions I need answers to at once, and hopefully at least get some. I have installed Solaris 10 on a server. The default text editors are there (vi, ex, ed, maybe others, I know emacs is... (4 Replies)
Discussion started by: EugeneG
4 Replies

9. UNIX for Dummies Questions & Answers

how can i get The total size of the process in virtual memory om GB or MB

Hello all im using the ps -ef "args vsz" | some.exe but the result is in kb , is there some kind of way or flag ( didnt found in the ps man ) to convert me this data to GB or MG in human readable format ? Thanks (1 Reply)
Discussion started by: umen
1 Replies

10. Filesystems, Disks and Memory

Total Memory/Swap Memory

I need to put a program together to determine the total, available memory and total and available swap on unix machines. I have been searching for weeks and I seem to run into dead ends. Every unix platform I look at has a different way to determine memory info. Any sugggestions or new... (4 Replies)
Discussion started by: ghe1
4 Replies
Login or Register to Ask a Question