Sponsored Content
Full Discussion: psrinfo -v and psradm
Operating Systems Solaris psrinfo -v and psradm Post 302098883 by DukeNuke2 on Thursday 7th of December 2006 07:37:37 AM
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.
 

2 More Discussions You Might Find Interesting

1. 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

2. 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
psrinfo(1)						      General Commands Manual							psrinfo(1)

NAME
psrinfo, pinfo - Displays processor administration information SYNOPSIS
/usr/sbin/psrinfo -n /usr/sbin/psrinfo [-v] [processor...] /usr/sbin/psrinfo -s processor /usr/sbin/pinfo [-v] [processor...] OPTIONS
Displays the number of processors in the system. Enables verbose mode. Writes only a boolean value to standard output. The -s option requires a single processor identification number (processor). The -s option is intended to be used in scripts. A value of 1 is output if the specified processor is on line. A value of 0 is output if the specified processor is off line. DESCRIPTION
The psrinfo and pinfo commands display information about processors. The processor variable specifies the processor identification number, which is a unique integer that identifies the processor. If you do not specify any options or a processor identification number, the com- mands display information about all processors. EXAMPLES
The following is an example of the default prsinfo command output (no options or processor identification numbers): greene:> psrinfo 0 on-line since 11/03/1999 09:41:34 1 on-line since 11/03/1999 09:41:34 2 off-line since 11/03/1999 08:41:34 The following example shows how to use the psrinfo command with the -s option in a shell script to determine the state of the pro- cessor with an identification number of 1: if [ "`psrinfo -s 1 2> /dev/null`" -eq 1 ] then echo "processor 1 is up" else echo "processor 1 is down" fi The following example shows how to use the psrinfo command with the -v option: % psrinfo -v Status of processor 0 as of: 05/23/00 15:47:40 Processor has been on-line since 05/23/2000 15:08:04 The alpha EV5.6 (21164A) processor operates at 465 MHz, and has an alpha internal floating point processor. Status of processor 1 as of: 05/23/00 15:47:40 Processor has been on-line since 05/23/2000 15:08:04 The alpha EV5.6 (21164A) processor operates at 465 MHz, and has an alpha internal floating point processor. Status of processor 2 as of: 05/23/00 15:47:40 Processor has been off-line since 05/23/2000 15:08:04 The alpha EV5.6 (21164A) processor operates at 465 MHz, and has an alpha internal floating point processor. Status of processor 3 as of: 05/23/00 15:47:40 Processor has been on-line since 05/23/2000 15:14:00 The alpha EV5.6 (21164A) processor operates at 465 MHz, and has an alpha internal floating point processor. FILES
SEE ALSO
Commands: pset_assign_cpu(1), pset_assign_pid(1), pset_info(1), psradm(8) Files: utmp(4) Processor Sets: processor_sets(4) psrinfo(1)
All times are GMT -4. The time now is 09:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy