AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
Expand all | Collapse all

How to Find if AIX machine is LPar or not

  • 1.  How to Find if AIX machine is LPar or not

    Posted Thu September 03, 2009 05:54 AM

    Originally posted by: vineetd


    Hi,

    I want to find if an AIX machine is LPar or not. I am using lparstat -i command currently but it does not work on all machines. Is there any generic command which can tell me if a machine is LPar or not?

    Please help.

    Thanks,

    Vineet


  • 2.  Re: How to Find if AIX machine is LPar or not

    Posted Thu September 03, 2009 07:30 AM

    Originally posted by: TimGilson


    I would use this command:

    uname -L

    If the system in an LPAR you will get the string NULL returned for the LPAR name. On a system that is an LPAR you will get the LPAR id and hostname returned.

    
    uname -L 1 NULL     # Not an LPAR   uname -L 17 labhost # This is an LPAR