IPB
>  Man Pages > Unix > Solaris 10 11/06 > Section 2 > processor_info man page

processor_info man page

Section 2 - Solaris 10 11/06 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!





System Calls                                    processor_info(2)



NAME
     processor_info - determine type and status of a processor

SYNOPSIS
     #include <sys/types.h>
     #include <sys/processor.h>

     int        processor_info(processorid_t         processorid,
     processor_info_t *infop);

DESCRIPTION
     The processor_info() function returns the status of the pro-
     cessor  specified  by  processorid  in  the processor_info_t
     structure pointed to by infop.

     The  structure  processor_info_t  contains   the   following
     members:

     int      pi_state;
     char     pi_processor_type[PI_TYPELEN];
     char     pi_fputypes[PI_FPUTYPE];
     int      pi_clock;


     The pi_state member is the current state of  the  processor,
     either P_ONLINE, P_OFFLINE, P_NOINTR, P_FAULTED, P_SPARE, or
     P_POWEROFF.

     The pi_processor_type  member  is  a  null-terminated  ASCII
     string specifying the type of the processor.

     The pi_fputypes member is  a  null-terminated  ASCII  string
     containing the comma-separated types of floating-point units
     (FPUs) attached to the processor. This string will be  empty
     if no FPU is attached.

     The pi_clock member is the processor clock frequency rounded
     to the nearest megahertz. It may be  0 if not known.

RETURN VALUES
     Upon successful completion, 0 is returned. Otherwise,  -1 is
     returned and  errno is set to indicate the error.

ERRORS
     The processor_info() function will fail if:

     EINVAL          An non-existent processor ID was specified.

                     The caller is  in  a  non-global  zone,  the
                     pools  facility is active, and the processor
                     is not a member of the zone's pool's proces-
                     sor set.



SunOS 5.10          Last change: 28 Jun 2004                    1






System Calls                                    processor_info(2)



     EFAULT          The  processor_info_t structure  pointed  to
                     by  infop was not writable by the user.



SEE ALSO
     pooladm(1M),    psradm(1M),    psrinfo(1M),     zoneadm(1M),
     p_online(2), sysconf(3C)















































SunOS 5.10          Last change: 28 Jun 2004                    2





Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 12 11:27:04 GMT 2007

Your favourite pages:

No pages logged yet...

Top 10 most popular pages:

prstat man page (24548 hits)
(Solaris 10 11_06)

netcat man page (17695 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (13536 hits)
(Solaris 10 11_06)

signal man page (12551 hits)
(Suse Linux 10.1)

startproc man page (11991 hits)
(Suse Linux 10.1)

raidctl man page (11358 hits)
(Solaris 10 11_06)

adv_cap_autoneg man page (10288 hits)
(Solaris 10 11_06)

sqlite3 man page (9729 hits)
(openSUSE 10.2)

CPAN man page (8947 hits)
(Suse Linux 10.1)

BusyBox man page (7702 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Cambridge Plus :: Pyrenees Location :: PIC Micro Design, UK :: Hepolite Piston Rings
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum