Tuesday, December 4, 2012

How to find out the number of powersupply information in aix?

How to find out the number of powersupply information in aix?

Using the below commands we can find out the powersupply information in our aix server.

#lscfg -vp | grep "AC PS" | wc -l

Example:
              siva@test:/home/siva> lscfg -vp | grep "AC PS" | wc -l
                 2
              siva@test:/home/siva>