Solved

How to Show the SWAP Partiton and Memory Size on UBUNTU?

Posted on 2012-03-27
3
445 Views
Last Modified: 2012-03-28
i am NOT able to show or list teh SWAP parition when I use    df  -h  what would be the command and switches to show it on Ubuntu 10.40 ?

Secondly, how can I show the memory size RAM on the server ?

Thanks...
0
Comment
Question by:mshamsan
3 Comments
 
LVL 7

Assisted Solution

by:Milind Koyande
Milind Koyande earned 250 total points
Comment Utility
try command

sudo free -m

Open in new window

0
 

Author Comment

by:mshamsan
Comment Utility
so to shwo the swap      sudo free -m    OR   sudo free -g

and

to show the memroy          cat   /proc/meminfo

THANKS
0
 
LVL 5

Accepted Solution

by:
1ly4me earned 250 total points
Comment Utility
#cat /proc/swaps
#cat /pro/meminfo
#top
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now