Visit Our UNIX and Linux User Community


psrinfo -v and psradm


 
Thread Tools Search this Thread
Operating Systems Solaris psrinfo -v and psradm
# 1  
Old 12-07-2006
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.
# 2  
Old 12-07-2006
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!
# 3  
Old 12-07-2006
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.
# 4  
Old 12-07-2006
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.
# 5  
Old 12-07-2006
I found a solution : psrset would unbind the attached LWP processes and then you can use psradm -f
# 6  
Old 12-07-2006
Can you please tell me how to send a post in this forum....I have a query
# 7  
Old 12-07-2006
Select Main Forum "Sun Solaris" and then click "New Thread", otherwise just post it here ( if, for some reason you cannot do the above )

Previous Thread | Next Thread
Test Your Knowledge in Computers #279
Difficulty: Easy
A microkernel is the near-minimum amount of software that can provide the mechanisms needed to implement an operating system (OS). These mechanisms include low-level address space management, thread management, and inter-process communication (IPC).
True or False?

2 More Discussions You Might Find Interesting

1. Solaris

psrinfo -p needs root login ?

Hi, I tried running psrinfo command on couple of machines but found that if i login as root then it works. But when i login other than root account, I get this error, $ /usr/sbin/psrinfo -pv | fgrep UltraSPARC /usr/sbin/psrinfo: illegal option -- p usage: psrinfo ... (8 Replies)
Discussion started by: Roshan1286
8 Replies

2. Solaris

Looking for psrinfo-like command for Memory Modules

I've been looking for, but unable to find, a command/utility that functions kind of like psrinfo but for memory modules. I have Solaris 8 and Solaris 10 boxes. The output of prtdiag in Solaris 8 does not provide the status info for the CPUs and Memory Modules like it does in Solaris 10. Maybe... (1 Reply)
Discussion started by: Vi-Curious
1 Replies

Featured Tech Videos