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

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...
mshamsanAsked:
Who is Participating?
 
1ly4meCommented:
#cat /proc/swaps
#cat /pro/meminfo
#top
0
 
Milind KoyandeCommented:
try command

sudo free -m

Open in new window

0
 
mshamsanAuthor Commented:
so to shwo the swap      sudo free -m    OR   sudo free -g

and

to show the memroy          cat   /proc/meminfo

THANKS
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.