1753518 Members
5175 Online
108795 Solutions
New Discussion юеВ

Re: VPar cpu info

 
SOLVED
Go to solution
Stefano Ferri
Frequent Advisor

VPar cpu info

Hi All,

I need to known the number of cpu in use on a virtual partition. I have tried the vparstatus command, but it show only cpu min/max (see attach). How Can I known the real number of cpus in use?

Thanks,

Stefano Ferri
8 REPLIES 8
Luk Vandenbussche
Honored Contributor

Re: VPar cpu info

You can check this with the command 'top'
Torsten.
Acclaimed Contributor
Solution

Re: VPar cpu info

It is there:

bound/unbound: 7 2

9 CPUs in use.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Stefano Ferri
Frequent Advisor

Re: VPar cpu info

Hi,

The top command return 9 cpus, I have already seen this command, my question now is:

On enviroment where the cpu min is 7 and the cpu max is 14, is the number of cpus dynamic? How do the system change this configuration?

Thanks

Stefano Ferri
Luk Vandenbussche
Honored Contributor

Re: VPar cpu info

You do this with the command vparmodify.

Which value do you want to change exactly?

http://docs.hp.com/en/T1335-90018/ch05s22.html
Torsten.
Acclaimed Contributor

Re: VPar cpu info

On the PA-RISC version of vpars there are bound (fixed) and unbound (dynamic) CPU.

You can add dynamic CPUs until you reach the maximum.

To add a CPU, run

vparmodify -p myvPar -a cpu::1

See also the manual.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Stefano Ferri
Frequent Advisor

Re: VPar cpu info

Hi,

I don't must modify the partition, my problem is that I must to inventory the cpus for this server , and my customer affirm that this server have 14 cpus...

Thanks for the answers.
Torsten.
Acclaimed Contributor

Re: VPar cpu info

In case of a cell-based server just run

parstatus

to get the total number.

For non-cellbased you see the total number in ioscan.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Stefano Ferri
Frequent Advisor

Re: VPar cpu info

The total cpus as sum of cpu bound and cpu unbound.