psrinfo -v and psradm

Hi Guys,

I have T1000 box and here is the output :
SunOS t1000 5.10 Generic_118833-20 sun4v sparc SUNW,Sun-Fire-T1000

Here is the output of psrinfo :

[root@t1000 /]# psrinfo
0       on-line   since 10/02/2006 12:00:06
1       on-line   since 10/02/2006 12:00:06
2       off-line  since 12/07/2006 02:08:12
3       off-line  since 12/07/2006 02:08:12
4       on-line   since 10/02/2006 12:00:06
5       on-line   since 10/02/2006 12:00:06
6       on-line   since 10/02/2006 12:00:06
7       on-line   since 10/02/2006 12:00:06
8       on-line   since 10/02/2006 12:00:06
9       on-line   since 10/02/2006 12:00:06
10      on-line   since 10/02/2006 12:00:06
11      on-line   since 10/02/2006 12:00:06
12      on-line   since 10/02/2006 12:00:06
13      on-line   since 10/02/2006 12:00:06
14      on-line   since 10/02/2006 12:00:06
15      on-line   since 10/02/2006 12:00:06
16      on-line   since 08/15/2006 11:50:19
17      on-line   since 08/15/2006 11:50:19
18      on-line   since 08/15/2006 11:50:19
19      on-line   since 08/15/2006 11:50:19
20      on-line   since 08/15/2006 11:50:19
21      on-line   since 08/15/2006 11:50:19
22      on-line   since 08/15/2006 11:50:19
23      on-line   since 08/15/2006 11:50:19
24      on-line   since 08/15/2006 11:50:19
25      on-line   since 08/15/2006 11:50:19
26      on-line   since 08/15/2006 11:50:19
27      on-line   since 08/15/2006 11:50:19
28      on-line   since 08/15/2006 11:50:19
29      on-line   since 08/15/2006 11:50:19
30      on-line   since 08/15/2006 11:50:19
31      on-line   since 08/15/2006 11:50:19

What I want to do is to take off-line all of them except the first one. Usualy this is done by invoking : "psradm -f 1 2 3" etc. I did that, but when I look over again for psrinfo, they are still enabled.
Any suggestion on how to take them down will be appreciated. Thanks.

i don't understand the output... the t1000 has one 6 oder 8 core cpu? so why 32 cpus?
4 threads per cpu? or what is it?

just have a look at the manpage of "psradm" it should explain your problems!

yeah, I've been looking at the man pages, following the instructions exactly, but the desired disabling of those 31 virtual CPUs still doesn't work.

from the man page:

A processor may not be taken off-line if there are LWPs that
are bound to the processor. On some architectures, it might
not be possible to take certain processors off-line if, for
example, the system depends on some resource provided by the
processor.

On some processors or under certain conditions,
it may not be possible to disable interrupts for an off-line
processor. Thus, the actual effect of being off-line may
vary from machine to machine.

I found a solution : psrset would unbind the attached LWP processes and then you can use psradm -f

Can you please tell me how to send a post in this forum....I have a query

Select Main Forum "Sun Solaris" and then click "New Thread", otherwise just post it here ( if, for some reason you cannot do the above )