Solved

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

Posted on 2012-03-27
3
470 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 7

Assisted Solution

by:Milind Koyande
Milind Koyande earned 250 total points
ID: 37775292
try command

sudo free -m

Open in new window

0
 

Author Comment

by:mshamsan
ID: 37775443
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
ID: 37775472
#cat /proc/swaps
#cat /pro/meminfo
#top
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

691 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