Home > Data Center Tips > Systems Management Tips > Unix admin tutorial: How much memory is in this machine?
Data Center Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

SYSTEMS MANAGEMENT TIPS

Unix admin tutorial: How much memory is in this machine?


David Douthitt, Contributor
06.30.2008
Rating: -4.33- (out of 5)


IT infrastructure news
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


It would seem that answering this question ought to be easy; it is -- but every system has the answer in a different place. Most put an answer of some sort into kernel messages reported by dmesg (AIX, for one, apparently does not).

But, why would you need to know how much memory is in a machine?

  • Determine the need for expansion: An upgrade of a system from one operating system version to the next may require more memory. Knowing how much is in the machine will help you to determine if the system satisfies the new requirements.
  • System load analysis: If your system is heavily used, you will want to know how much memory is in the machine in order to properly analyze whether the system is properly handling the system load. Is the amount of memory sufficient, or does additional memory need to be added?
  • Memory deallocation tracking (in HP terminology): When memory goes bad, many midrange servers will remove the memory from use and thus the total physical memory reported will go down. Knowing what is in the machine will help you recognize when this happens.
  • Inventory tracking: Suppose, for example, that the server is sent in for service with 32G of memory and comes back with 28G. Where did the memory go?

As you can see, knowing how much physical memory is in the system is important. So, how do you go about taking inventory of your system memory?

Most systems have a pr...


BROWSE BY TAG
HP Integrity server, Itanium servers and HP-UX,   Server hardware,   Unix operating systems and servers,   Sun Solaris Unix and Sparc server platforms,   AIX, IBM pSeries server administration,   Systems Management Tips,   VIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
HP Integrity server, Itanium servers and HP-UX
Unix updates are slower, and users like it that way
Comparing Unix versions: AIX, HP-UX and Solaris
Itanium processor delays put HP's plans in question
Top 50 universal Unix commands
IBM doubles refund for Sparc migrations: News in brief
HP's Bladesystem Matrix to challenge Cisco's Unified Computing System
Reports of IBM, Sun buyout roil data center waters
IBM mainframe migration boosts OLTP, batch processing
IBM buys former adversary and mainframe startup PSI
How to use Unix file system snapshots

Sun Solaris Unix and Sparc server platforms
Are containerized data centers catching on outside Microsoft, Google?
Will Oracle hold a Sun yard sale as the acquisition's value declines?
Sun Microsystems customers stew in limbo
Will Solaris on x86 survive the Oracle-Sun acquisition and Linux?
Unix updates are slower, and users like it that way
New eBay data center director dishes
How should Sun customers read Oracle's latest rumblings?
With Exadata, Oracle embraces Sun hardware
Solaris Project Crossbow offers virtualized network management
IBM announces Power7 upgrade path in uncertain Unix market

AIX, IBM pSeries server administration
Unix updates are slower, and users like it that way
IT pros pooh-pooh latest monopoly claims against IBM
IBM VMworld news in brief
IBM announces Power7 upgrade path in uncertain Unix market
Comparing Unix versions: AIX, HP-UX and Solaris
Top 50 universal Unix commands
IBM doubles refund for Sparc migrations: News in brief
Sun shops prefer Oracle to IBM, but worries persist
Uncertain future for Sun Microsystems overshadows new products
IBM withdraws from deal to purchase Sun; Dallas colo investigated

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


ogram for system inventory which reports a variety of things, including memory. Inventory programs vary widely and none are the same.

Rather than go into great detail about each environment and how to find total physical memory details for each one, we'll just put these out there for you to reference. Each environment has multiple commands that give available memory; each command is listed succinctly below.

Without further ado, here are a few answers to this burning question:

Solaris

  1. dmesg | grep mem
  2. prtdiag | grep Memory
  3. prtconf -v | grep Memory

AIX

  1. bootinfo -r
  2. lsattr -E1 sys0 -a realmem
  3. getconf REAL_MEMORY

HPUX

  1. dmesg | grep Physical
  2. /opt/ignite/bin/print_manifest | grep Memory
  3. machinfo | grep Memory

Linux

  1. dmesg | grep Memory
  2. grep -i memtotal /proc/meminfo
  3. free

OpenVMS

  1. show mem /page

FreeBSD

  1. dmesg | grep memory
  2. grep memory /var/run/dmesg.boot
  3. sysctl -a | grep mem

ABOUT THE AUTHOR: David Douthitt (RHCE, LPIC1, SCSA, Linux+, CNA) is a UNIX Systems Administrator for a major healthcare software company. His blog is Unix Administratosphere, where he continues to write on UNIX, Linux and OpenVMS. He has also written two books on system administration. He still has his copy of Red Hat 2.0 and 4.4BSD.

Rate this Tip
To rate tips, you must be a member of SearchDataCenter.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



White Papers - Data Center Networking

The Intel IT Technology Center - Power, Performance and Mobility Solutions

HomeNewsTopicsITKnowledge ExchangeTipsBlogsMultimediaWhite PapersEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts