AIX Important command for getting server information

AIX SERVER INFORMATION

important url: https://www.ibm.com/developerworks/aix/library/au-aix_cmds/

 

 

//command to get host name

# hostname

//outputexample

mcapsat

 

 

//command to Captures and analyzes a snapshot of virtual memory

# svmon -G

//output example

               size       inuse        free         pin     virtual   mmode

memory      8388608     5546354     2842254      728055     2731106     Ded

pg space    2621440       53024

 

               work        pers        clnt       other

pin          474167           0           0      253888

in use      2695397       81452     2769505

 

PageSize   PoolSize       inuse        pgsp         pin     virtual

s    4 KB         –     4284994       53024      343255     1469746

m   64 KB         –       78835           0       24050       78835

 

 

//command to Displays configuration, diagnostic, and vital product data (VPD) information about the system including CPU information:

# lscfg

//output Example

INSTALLED RESOURCE LIST

 

The following resources are installed on the machine.

+/- = Added or deleted from Resource List.

*   = Diagnostic support not available.

 

  Model Architecture: chrp

  Model Implementation: Multiple Processor, PCI bus

 

+ sys0                                                           System Object

+ sysplanar0                                                     System Planar

* vio0                                                           Virtual I/O Bus

* vscsi1           U7895.22X.10262AB-V6-C6-T1                    Virtual SCSI Client Adapter

* hdisk3           U7895.22X.10262AB-V6-C6-T1-L8200000000000000  Virtual SCSI Disk Drive

* vscsi0           U7895.22X.10262AB-V6-C3-T1                    Virtual SCSI Client Adapter

* hdisk0           U7895.22X.10262AB-V6-C3-T1-L8100000000000000  Virtual SCSI Disk Drive

* ent0             U7895.22X.10262AB-V6-C2-T1                    Virtual I/O Ethernet Adapter (l-lan)

* vsa0             U7895.22X.10262AB-V6-C0                       LPAR Virtual Serial Adapter

* vty0             U7895.22X.10262AB-V6-C0-L0                    Asynchronous Terminal

+ L2cache0                                                       L2 Cache

+ mem0                                                           Memory

+ proc0                                                          Processor

+ proc4                                                          Processor

+ proc8                                                          Processor

+ proc12                                                         Processor

 

 

// command to check complete configuration of server

# prtconf

//output example

System Model: IBM,7895-22X

Machine Serial Number: Not Available

Processor Type: PowerPC_POWER7

Processor Implementation Mode: POWER 7

Processor Version: PV_7_Compat

Number Of Processors: 4

Processor Clock Speed: 3556 MHz

CPU Type: 64-bit

Kernel Type: 64-bit

LPAR Info: 6 MCApeoplesoft

Memory Size: 32768 MB

Good Memory Size: 32768 MB

Platform Firmware level: AF763_043

Firmware Version: IBM,AF763_043

Console Login: enable

Auto Restart: true

Full Core: false

 

0518-506 odmget: Cannot open object class CuAt

        Check path name and permissions.

0518-506 odmget: Cannot open object class CuAt

        Check path name and permissions.

Network Information

        Host Name: mcapsat

        IP Address:

        Sub Netmask: 

        Gateway: 

        Name Server:

        Domain Name:

 

Paging Space Information

        Total Paging Space: 10240MB

        Percent Used: 3%

 

Volume Groups Information

==============================================================================

rootvg:

PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION

hdisk0            active            599         24          00..00..

==============================================================================

 

datavg:

PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION

hdisk3            active            1599        6           00..00..00..00..06

==============================================================================

 

INSTALLED RESOURCE LIST

 

The following resources are installed on the machine.

+/- = Added or deleted from Resource List.

*   = Diagnostic support not available.

 

  Model Architecture: chrp

  Model Implementation: Multiple Processor, PCI bus

 

+ sys0                                                           System Object

+ sysplanar0                                                     System Planar

* vio0                                                           Virtual I/O Bus

* vscsi1           U7895.22X.10262AB-V6-C6-T1                    Virtual SCSI Client Adapter

* hdisk3           U7895.22X.10262AB-V6-C6-T1-L8200000000000000  Virtual SCSI Disk Drive

* vscsi0           U7895.22X.10262AB-V6-C3-T1                    Virtual SCSI Client Adapter

* hdisk0           U7895.22X.10262AB-V6-C3-T1-L8100000000000000  Virtual SCSI Disk Drive

* ent0             U7895.22X.10262AB-V6-C2-T1                    Virtual I/O Ethernet Adapter (l-lan)

* vsa0             U7895.22X.10262AB-V6-C0                       LPAR Virtual Serial Adapter

* vty0             U7895.22X.10262AB-V6-C0-L0                    Asynchronous Terminal

+ L2cache0                                                       L2 Cache

+ mem0                                                           Memory

+ proc0                                                          Processor

+ proc4                                                          Processor

+ proc8                                                          Processor

+ proc12                                                         Processor

 

//command to Displays the chip type of the system. For example, PowerPC®.

uname -p

 

//command to Displays the release number of the operating system.

uname -r

 

//command to Displays the system name. For example, AIX.

uname -s

 

//command to Displays the name of the node.

uname -n

 

//command to Displays the system name, nodename, version, machine ID.

uname -a

 

//command to Displays the system model name.

uname -M

 

//command to Displays the operating system version.

uname -v

 

//command to Displays the machine ID number of the hardware running the system.

uname -m

 

//command to Displays the system ID number.

name -u

Advertisements