Unix Technical Forum

HMC Command Line & Num Procs

This is a discussion on HMC Command Line & Num Procs within the AIX Operating System forums, part of the Unix Operating Systems category; --> I've looked around but can't get a clear answer and hoped you could help me. I can only access ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 06:30 AM
john.mcconnell@jhmi.edu
 
Posts: n/a
Default HMC Command Line & Num Procs

I've looked around but can't get a clear answer and hoped you could
help me. I can only access my hmc via ssh right now (I'm in a
class...). I need to know how many CPUs my managed system has and how
many are allocated to partitions and how many are available for cuod
operations... Can you help me?

I did: lshsc -i -a
to get the managed system name

then I did
lscod -m 9117-570*XXXXXX -t cap -r proc -c cuod
12

I think this means my system has a total of 12 cpus... is that right?

How can I tell how many are allocated to my partitions (to see if there
is any excess capacity available)?

I tried:

lssyscfg -r lpar -m 9117-570*XXXXXX
lssyscfg -r sys -m 9117-570*XXXXXX

Any help would be appreciated.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 06:31 AM
Dero
 
Posts: n/a
Default Re: HMC Command Line & Num Procs

Try this ... Hope it helps. Christopher D. (dero@us.ibm.com)

The preferred way to list the systems connected to the HMC is as
follows:

hscroot@z1434b:~> lssyscfg -r sys


name=Server-9406-595-SN1Y1AAYX,type_model=9406-595,serial_num=1Y1AAYX,ipaddr=172.16.254.255,state =Operating,sys_time=01/06/2005
16:50:45,power_off_policy=1,cod_mem_capable=1,cod_ proc_capable=1,micro_lpar_capable=1,os400_capable= 1,vet_activation_capable=1,virtual_io_server_capab le=1,assign_5250_cpw_percent=0,max_lpars=254,max_p ower_ctrl_lpars=1,service_lpar_id=1,service_lpar_n ame=rchast70,curr_sys_keylock=norm,pend_sys_keyloc k=norm,curr_power_on_side=temp,pend_power_on_side= temp,curr_power_on_speed=fast,pend_power_on_speed= fast,curr_power_on_speed_override=none,pend_power_ on_speed_override=none,power_on_type=poweron,power _on_option=autostart,power_on_method=02,power_on_a ttr=0000,sp_boot_attr=0000,sp_boot_major_type=08,s p_boot_minor_type=01,sp_version=00040000,mfg_defau lt_config=0,curr_mfg_default_ipl_source=b,pend_mfg _default_ipl_source=b,curr_mfg_default_boot_mode=n orm,pend_mfg_default_boot_mode=norm

Using the system name from above, I can query the CPU information for
the overall system as follows:

hscroot@z1434b:~> lshwres -r proc -m Server-9406-595-SN1Y1AAYX --level
sys

configurable_sys_proc_units=38.0,curr_avail_sys_pr oc_units=19.0,pend_avail_sys_proc_units=19.0,insta lled_sys_proc_units=48.0,deconfig_sys_proc_units=1 0.0,min_proc_units_per_virtual_proc=0.1,max_virtua l_procs_per_lpar=64,max_shared_proc_pools=1

This shows me:
-how many processors are installed: installed_sys_proc_units=48.0)
-how many are configurable (usable for partitions):
configurable_sys_proc_units=38.0
-if any are deconfigured (taken offline because of failure or manual
deconfiguration): deconfig_sys_proc_units=10.0
-how many are available (configurable processors that are not currently
assigned to any partition): curr_avail_sys_proc_units=19.0

Note that by specifying "--level lpar" instead of "--level sys" in the
command above, you can get the current processor assignments broken
down by LPAR.

Running the Capacity-on-Demand command line function, as mentioned in
the original posting, tells you how many permanently licensed
processors you have (on my test system, it was all 48):

hscroot@z1434b:~> lscod -m Server-9406-595-SN1Y1AAYX -t cap -r proc -c
cuod
perm_procs=48

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:44 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com