• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to find CPU, Memory(RAM), Hard disks, IP address information in AIX

by admin

Understanding resource utilization and spare capacity is becoming more important than ever. Processors, Memory are one of the most significant resources among all the available resources in a system, making processor/ memory utilization a critical metric for measuring the performance of a system running a workload.

As AIX Admin In your day-to-day admin job we frequently asked to get CPU and memory values. They will play key roles in administration jobs.

To list presently staged/installed CPU, memory, and hard-disk capacity in the server, use below simple commands on the AIX server.

Show CPU

# prtconf -s
# pmcycles -m
# lsdev -Cc processor
# bindprocessor -q

You can get the CPU utilization of the system with below command:

# mpstat 1

Show RAM/Capacity

# prtconf -m
# bootinfo -r
# lsattr -El sys0 -a realmem
# lsattr -El mem0

Below two commands, shows what is available for processing. Means if the rmss is in place. They will report the simulated memory only.

# vmstat
# getconf REAL_MEMORY

Show Hard disks/Capacity

# lsdev -Cc disk
# lspv
# bootinfo -s hdisk0

Show IP Addresses

# ifconfig -a | grep inet
# lsattr -El en0 -a netaddr

Determining microprocessor speed

This section describes a process for determining microprocessor speed. When using AIX and subsequent releases, the following code returns the processor speed in hertz (Hz):

# lsattr -E -l proc0 | grep "Processor Speed"

When using earlier releases than AIX 5.1, use the uname command. Running the uname -m command produces output of the following form:

xxyyyyyymmss

where:
xx – 00 (always starts with 00 digits)
yyyyyy – Unique CPU ID
mm – Model ID (the numbers to use to determine microprocessor speed)
ss – 00 (Submodel)

Example of “uname -m” command is as shown below:

# uname -m 
00FC76815C00

Filed Under: AIX

Some more articles you might also be interested in …

  1. Using iptrace command in AIX
  2. Memory utilization of processes in AIX
  3. Procedure to mount and unmount NFS filesystems on AIX
  4. vmstat output explained
  5. What is VIOS?
  6. How to set the value of “maximum user processes” on IBM AIX
  7. Backup Command Examples in AIX
  8. Using savevg on AIX to save time creating filesystems, LV’s and volume groups
  9. Adding Static Routes On Various *NIX (Linux,AIX,HP-UX)
  10. AIX HMC CommandLine Reference (Cheat Sheet)

You May Also Like

Primary Sidebar

Recent Posts

  • powertop Command Examples in Linux
  • powertop: command not found
  • powerstat: command not found
  • powerstat Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright