AIX

AIX

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

 View Only
  • 1.  how to get Server info in lpar?

    Posted Tue October 20, 2009 06:29 AM

    Originally posted by: kyle@cmbchina.com


    hi,

    for some reason I have to collect Server configuration data(such like proc, mem) in lpar environment, since neither using GUI nor CLI interface by login to HMC as hscroot is convinient, I suspect there's some command available in AIX which could help, any advice please?


  • 2.  Re: how to get Server info in lpar?

    Posted Tue October 20, 2009 06:49 AM

    Originally posted by: alec_mcc


    lparstat -i

    That should give you what you need.
    Cheers
    Alec.


  • 3.  Re: how to get Server info in lpar?

    Posted Tue October 20, 2009 10:52 PM

    Originally posted by: kyle@cmbchina.com


    hi Alec,

    thanks for your reply, however 'lparstat -i' can only get Server's CPU info ('Active Physical CPUs in system') and this command is not available in some AIXv5.2 lpars.

    now I'm considering using Tcl/tk to solve this problem...


  • 4.  Re: how to get Server info in lpar?

    Posted Wed October 21, 2009 05:05 AM

    Originally posted by: SystemAdmin


    Well prtconf is always there. But it shows only current LPAR's info.

    r/
    R


  • 5.  Re: how to get Server info in lpar?

    Posted Thu October 22, 2009 09:45 AM

    Originally posted by: SystemAdmin


    you could always try a topas -C to get some idea, I believe the cpu count will be correct but the mem is just the aggr of the allocated mem to the monitored LPARs.

    That's if this is a recent version of AIX/Power hardware.

    Otherwise, work out how to get on the HMC


  • 6.  Re: how to get Server info in lpar?

    Posted Thu October 22, 2009 09:46 AM

    Originally posted by: SystemAdmin


    Doh, 5.2, forget it. Ignore me.


  • 7.  Re: how to get Server info in lpar?

    Posted Fri October 23, 2009 07:46 AM

    Originally posted by: SystemAdmin


    this can help u..

    uname -p Displays the chip type of the system. For example, PowerPC.
    uname -r Displays the release number of the operating system.
    uname -s Displays the system name. For example, AIX.
    uname -n Displays the name of the node.
    uname -a Displays the system name, nodename, version, machine ID.
    uname -M Displays the system model name. For example, IBM, 9114-275.
    uname -v Displays the operating system version.
    uname -m Displays the machine ID number of the hardware running the system.
    uname -u Displays the system ID number.


  • 8.  Re: how to get Server info in lpar?

    Posted Sun October 25, 2009 09:31 PM

    Originally posted by: kyle@cmbchina.com


    hi everyone,

    Thanks for your nice help, sorry I didn't make my point clear, in fact I want to get the machine's configuration data.

    It seems than neither commands known so far, lparstat/topas/uname, could provide complete info about the machine, and it's logical than machine's data is stored in FSP, and since only HMC could communicate directly with FSP, using HMC's CLI is the only way available to collect machine data.

    Thanks for everyone's help again.


  • 9.  Re: how to get Server info in lpar?

    Posted Fri May 14, 2010 06:52 PM

    Originally posted by: SystemAdmin


    Try:

    lscfg -p -v

    sorry about the VERY late response


  • 10.  Re: how to get Server info in lpar?

    Posted Mon May 17, 2010 02:34 PM

    Originally posted by: edgodd1


    A single LPAR doesn't "know" anything about the other partitions on a physical box. You need to use the HMC to get that kind of information.

    Are you trying to obtain this information without an HMC? What model are you working with?


  • 11.  Re: how to get Server info in lpar?

    Posted Sat May 15, 2010 12:09 AM

    Originally posted by: _xxx_


    nmon?