1833706 Members
2507 Online
110063 Solutions
New Discussion

Number of CPUs in VPAR

 
SOLVED
Go to solution
paul_221
Occasional Contributor

Number of CPUs in VPAR

Trying to gather the number of CPUs on a hostname set up as a virtual partition. I have tried using top -d 1 and counting the cpus but that is too difficult. I know that vparstatus -v will give me the number of assigned cpus but I want the number of active cpus. So far top -d 1 is the only thing that I know that gives it to me but it trying to gather the information using a script will proove to be a lot of work. Any easier solutions?
4 REPLIES 4
Stefan Farrelly
Honored Contributor

Re: Number of CPUs in VPAR

ioscan -fknCprocessor also gives the number of active processes in an individual vpar.
Im from Palmerston North, New Zealand, but somehow ended up in London...
paul_221
Occasional Contributor

Re: Number of CPUs in VPAR

I tried the ioscan -fknC processor and it showed me 8 processors. However, if I run top -d 1 I only see two processors running and when I run vparstatus -v I can see that this is correct because there has only been two processors assigned to the hostname. Is there an ioscan (or anyother command) that will show me the two processors that are currently running for that particular hostname?
Dietmar Konermann
Honored Contributor
Solution

Re: Number of CPUs in VPAR

mpsched -s


Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Deshpande Prashant
Honored Contributor

Re: Number of CPUs in VPAR

HI
Try
#vparstatus -A for local cell
#vparstatus -C for all cells.

Thanks.
Prashant.
Take it as it comes.