To look up CPU and memory information on AIX 7.2, you can use the following commands:
1. Check CPU information
-
To get a detailed report on the processors in the system, use the command:
lscfg -vp | grep -i proc
This will list the processor details.
-
You can also use the command:
lsdev -Cc processor
This command will list all processors and their statuses.
-
For additional CPU details (like the number of processors, cores, etc.), use:
lparstat -i
This will display logical partitioning (LPAR) information, including the number of virtual CPUs (vCPUs) and processing units.
-
You can also use:
mpstat
This will give you a snapshot of CPU usage across different processors.
2. Check Memory information
-
To view total memory and free memory:
lsattr -El sys0 | grep realmem
This will show the physical memory (in KB) of your system.
-
For detailed memory usage statistics:
svmon -G
This provides a more comprehensive view of memory usage, including real, virtual, and free memory.
-
To display additional memory-related stats (like swap):
vmstat -v
This gives information about memory, paging, and disk I/O.
These commands will help you check both the CPU and memory specifications on your AIX 7.2 system.