• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 499
  • Last Modified:

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...
0
mshamsan
Asked:
mshamsan
2 Solutions
 
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
 
1ly4meCommented:
#cat /proc/swaps
#cat /pro/meminfo
#top
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now