Find the answer to your Linux question:
Results 1 to 2 of 2
Hi.., I'm using Red hat 2.4.20 o.s.. Anyone plz give me the exact command to view the physical memory of the system as well as the virtual memory(swap). other than ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2006
    Posts
    10

    HI,Newbie here.. plz help me.. physical memory


    Hi..,
    I'm using Red hat 2.4.20 o.s..
    Anyone plz give me the exact command to view the physical memory of the system as well as the virtual memory(swap). other than dmesg and free cmds
    help me in viewing those information..
    Thanks in advance
    Rammu

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2005
    Location
    The Hot Humid South
    Posts
    602
    Is there any reason why "free" isn't cutting it for you, as far as I know it's the best way to view size and usage of memory. But, if you have a proc file system mounted you can also try
    Code:
    cat /proc/swaps
    to view where the swap is and it's size and
    Code:
    cat /proc/meminfo
    for all the info you'll ever need on your memory.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •