SUMMARY: mapping processes to processor ID

From: Pandey, Abhimanyu <apandey_at_worcester.edu>
Date: Mon May 01 2006 - 15:02:45 EDT
Process to processor map can be viewed with prstat.

Thanks to Pascal Grostabussiat [pascal@azoria.com]

Also thanks to: Alex Stade for:


I think the -P option for ps(1) is reserved for processes controlled by
pbind(1M). A '-' simply means that the process isn't bound to a specific
CPU.

-Alex


-----Original Message-----
From: sunmanagers-bounces@sunmanagers.org
[mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of Pandey,
Abhimanyu
Sent: Monday, May 01, 2006 2:15 PM
To: sunmanagers@sunmanagers.org
Subject: mapping processes to processor ID

Hi folks,



I thought using:



Ps -efP would give me the processor ID to which each CPU processor is
linked to (PSR) ... however I only get:



UID   PID  PPID PSR  C    STIME TTY      TIME CMD

    root     0     0   -  0   Apr 28 ?        0:10 sched

    root     1     0   -  0   Apr 28 ?        0:18 /etc/init -

    root     2     0   -  0   Apr 28 ?        0:00 pageout

    root     3     0   -  1   Apr 28 ?       171:06 fsflush

    root   919     1   -  0   Apr 28 ?        0:00 /usr/lib/saf/sac -t
300

    root   295     1   -  0   Apr 28 ?        0:01 /usr/sbin/nscd

    root   133     1   -  0   Apr 28 ?        1:14 /usr/lib/picl/picld

    root    56     1   -  0   Apr 28 ?        0:00
/usr/lib/sysevent/syseventd

    root   238     1   -  0   Apr 28 ?        0:00 /usr/sbin/inetd -s

    root   210     1   -  0   Apr 28 ?        0:00 /usr/sbin/rpcbind

    root   267     1   -  0   Apr 28 ?        0:00
/usr/lib/autofs/automountd



(etc.)



Is there any other simple method of mapping process to processor?



Thanks



Abhimanyu Pandey
Information Technologies
Worcester State College
508-929-8913



guruspeak:"...the journey IS the destination..."

geekspeak:"...the network IS the computer..."
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon May 1 15:03:17 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:57 EST