The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 12-07-2006
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,197
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 :

HTML Code:
[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.
Reply With Quote
Forum Sponsor
  #2  
Old 12-07-2006
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,464
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!
Reply With Quote
  #3  
Old 12-07-2006
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,197
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.
Reply With Quote
  #4  
Old 12-07-2006
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,464
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.
Reply With Quote
  #5  
Old 12-07-2006
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,197
I found a solution : psrset would unbind the attached LWP processes and then you can use psradm -f
Reply With Quote
  #6  
Old 12-07-2006
Registered User
 

Join Date: Dec 2006
Location: UK
Posts: 29
Can you please tell me how to send a post in this forum....I have a query
Reply With Quote
  #7  
Old 12-07-2006
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,197
Select Main Forum "Sun Solaris" and then click "New Thread", otherwise just post it here ( if, for some reason you cannot do the above )
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:06 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0