nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Unix command to check memory usage

This is a discussion on Unix command to check memory usage within the HP-UX forums, part of the UNIX operating systems category; UNIX command to check free and used memory. Can anyone show me command for this task? TIA...


Go Back   nixCraft Linux Forum > UNIX operating systems > HP-UX

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 07-27-2007, 08:01 AM
sweta's Avatar
Contributors
User
 
Join Date: Feb 2005
Location: New Delhi
My distro: Suse, RHEL, Vista
Posts: 154
Rep Power: 4
sweta will become famous soon enough
Default Unix command to check memory usage

UNIX command to check free and used memory. Can anyone show me command for this task?

TIA
__________________
Friends - v-nessa - missyAdmin - LinuxChix
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-06-2007, 10:10 PM
Junior Member
User
 
Join Date: Dec 2007
My distro: Debian
Posts: 1
Rep Power: 0
calligraphy is on a distinguished road
Default check memory

$ vmstat
System configuration: lcpu=2 mem=8192MB
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
2 3 2336209 49400 0 11 8 227 157 0 234 8614 830 28 7 60 5
$ vmstat 5 5
System configuration: lcpu=2 mem=8192MB
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
2 0 2337381 48080 0 0 0 0 0 0 581 4301 1294 60 4 36 0
1 0 2336206 49193 0 1 0 0 0 0 650 3980 1417 57 5 36 1
3 0 2342415 42938 0 3 0 0 0 0 653 8710 1541 66 9 23 1
4 0 2359028 26293 0 3 0 0 0 0 678 41228 2382 61 19 19 1
9 1 2382768 2515 0 3 0 0 0 0 1213 69808 2459 65 33 1 0
Reply With Quote
  #3 (permalink)  
Old 12-07-2007, 11:07 AM
Junior Member
User
 
Join Date: Dec 2007
My distro: Debian
Posts: 12
Rep Power: 0
virendra is on a distinguished road
Default

try using this commands

#free
or
#free -m
total used free shared buffers cached
Mem: 248 227 21 0 78 110
-/+ buffers/cache: 38 209
Swap: 572 0 572

or the best

#top

or

#vmstat
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
unix find out ram usage command charvi Solaris/OpenSolaris 4 04-10-2008 03:22 AM
command for knowing free memory in BSD ricc All about FreeBSD/OpenBSD/NetBSD 2 07-08-2007 02:28 PM
HP unix check filesystem for errors jerry HP-UX 0 06-09-2007 02:49 AM
Command to Check Linux File System lacloai Getting started tutorials 3 05-14-2007 06:45 PM
Use memory command to find details under Fedora Linux chiku Getting started tutorials 0 04-29-2007 09:35 PM


All times are GMT +5.5. The time now is 09:48 PM.


Powered by vBulletin® Version 3.7.4 - 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