offline and online a cpu

If you want to disable a cpu in opensolaris:
root@cluster1:~# psradm -f 1
root@cluster1:~# psrinfo -v
Status of virtual processor 0 as of: 08/13/2009 10:10:45
on-line since 08/12/2009 04:00:42.
The i386 processor operates at 2993 MHz,
and has an i387 compatible floating point processor.
Status of virtual processor 1 as of: 08/13/2009 10:10:45
off-line since 08/13/2009 10:10:42.
The i386 processor operates at 2993 MHz,
and has an i387 compatible floating point processor.
And if you want to reenable it
root@cluster1:~# psradm -n 1
root@cluster1:~# psrinfo -v
Status of virtual processor 0 as of: 08/13/2009 10:11:35
on-line since 08/12/2009 04:00:42.
The i386 processor operates at 2993 MHz,
and has an i387 compatible floating point processor.
Status of virtual processor 1 as of: 08/13/2009 10:11:35
on-line since 08/13/2009 10:11:32.
The i386 processor operates at 2993 MHz,
and has an i387 compatible floating point processor.
71/433

Leave a Reply

Your email address will not be published. Required fields are marked *