nixCraft Linux Forum

nixCraft

Linux 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 ...


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

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-12-2006, 01:18 AM
Junior Member
User
 
Join Date: Sep 2005
Posts: 25
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 Solari?

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

thanks
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-13-2006, 06:04 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 578
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
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.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #3 (permalink)  
Old 03-16-2007, 04:54 PM
Junior Member
User
 
Join Date: Feb 2007
Posts: 5
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
My distro: SUN Solaris
Posts: 1
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
My distro: openSUSE
Posts: 3
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

Bookmarks


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 On

Similar Threads

Thread Thread Starter Forum Replies Last Post
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
Unix command to check memory usage sweta HP-UX 2 12-07-2007 10:07 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 04:30 AM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

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