nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

unix find out ram usage command

This is a discussion on unix find out ram usage command within the Solaris/OpenSolaris forums, part of the UNIX operating systems category; Dear friends, Under linux free -m command works like a charm. What about UNIX system. there is not free command ...

Register free or login to your existing account and remove all advertisements.


Go Back   nixCraft Linux Forum > UNIX operating systems > Solaris/OpenSolaris

Linux answers from nixCraft.


Solaris/OpenSolaris Discuss all about the SUN Solairs/OpenSolaris. You are free to talk about any issues related to Solaris administration, networking, services and other stuff, share information or ask doubts.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-12-2006, 01:18 AM
Member
User
 
Join Date: Sep 2005
Posts: 30
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
charvi
Default unix find out ram usage command

Dear friends,

Under linux free -m command works like a charm. What about UNIX system. there is not free command at all. How do i find out ram usage under UNIX (both HP-UX and Solaris)?

I'd appreciate if someone help me out, ASAP.

thanks
Reply With Quote
  #2 (permalink)  
Old 07-13-2006, 06:04 PM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 703
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Solaris display Memory Size (RAM size):
Code:
prtconf | grep Mem
or
Code:
prtconf|grep -i mem
Available page sizes (SWAP) for Solaris:
Code:
pagesize -a
Display RAM Size on HP-UX:
Code:
dmesg
Display RAM Size on AIX
Code:
lsdev -C|grep mem
Now if memory device is mem0, then type
Code:
lsattr -El mem0

All linux distro:
Code:
free
Also almost all UNIX system support vmstat command, use vmstat to get more info.
Code:
vmstat
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
  #3 (permalink)  
Old 03-16-2007, 04:54 PM
Junior Member
User
 
Join Date: Feb 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
kitty@sad
Default

prtdiag | grep memory
Reply With Quote
  #4 (permalink)  
Old 11-30-2007, 12:26 PM
Junior Member
User
 
Join Date: Nov 2007
OS: SUN Solaris
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
shrinivasdevarkonda is on a distinguished road
Default free -m equivalent command on sun Solaris

Hi all,
prtconf & prtdiag | grep memory only gives the total memory allocated to system not the dynamic memory usage of the system which free -m gives on any Linux system which is best command.
vmstat gives the o/p in bytes.What is the option that would give o/p in Megabyte like free -m. ?

Appreciate anybody will clear this.

Thanks,
shrinivas .
Linux sys admin.




Quote:
Originally Posted by kitty@sad View Post
prtdiag | grep memory
Reply With Quote
  #5 (permalink)  
Old 04-10-2008, 02:22 AM
Junior Member
User
 
Join Date: Apr 2008
OS: openSUSE
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
spideyak is on a distinguished road
Default

I know this is a somewhat dated thread, but I thought I [c-w]ould add to it in case somebody else needs the info:

I use the command:

Code:
top
Depending on which *nix you are running, it will show slightly different information; however, on AIX, openSUSE, Debian (et al), & BSD (the ones I'm familiar with atm), it will show total memory & used/available memory.

Hope that helps =)...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Unix command to check memory usage sweta HP-UX 3 02-24-2010 10:54 PM
CPU usage Shell script (Monitoring CPU Usage) atulmatkar Shell scripting 2 05-10-2008 10:24 PM
UNIX command to find out whether particular process of a particular user is running Santosh Sharma Shell scripting 1 01-17-2008 03:26 PM
Linux Find Out RAM CAS Latency Command andrei048 Linux hardware 1 01-04-2008 10:56 AM
Implementation of find command in Perl Bhushan Shell scripting 2 08-22-2007 12:15 PM


All times are GMT +5.5. The time now is 10:07 PM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38