Merci beaucoup, c'est ce que je cherche : ------------ [EMAIL PROTECTED]:~> ps -A -o psr,pid,uname,ucmd|grep '^ *3' 3 5 root migration_CPU3 3 10 root ksoftirqd_CPU3 3 1551 root kdm 3 1656 ntp ntpd 3 1849 root mingetty 3 2389 root lockd 3 19296 root bash 3 19495 alain ps
PS: nonnette est une bière ;-) Bonne journée, Alain Pascal Bleser wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alain EMPAIN wrote: | Bonjour tout le monde, Salut Alain | est-il possible de connaître sur quel processeur un job tourne ? | Je ne trouve pas dans le man de ps, mais il y a peut-être un autre moyen | simple. Sinon, gratter dans /proc ? cat /proc/<pid>/cpu p.ex. cat /proc/1/cpu Tu as aussi une option dans ps: ps -AF => colonne "PSR": "psr PSR processor that process is currently assigned to." (cf. man ps) Ou alors: ps -A -o pid,psr,cmd p.ex. si tu veux trouver les processus qui sont éxécutés sur le CPU #2: ps -A -o psr,pid,uname,ucmd|grep '^ *2' - -- ~ -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/ ~ /\\ <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> ~ _\_v The more things change, the more they stay insane. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCsSSKr3NMWliFcXcRAhRYAKCuGY8F31SxJVM7cOfBjRgIIuYitACeJ5nk FkYGGflMipCjn5iFfjR5Nd0= =MMKT -----END PGP SIGNATURE----- _______________________________________________________ Linux Mailing List - http://www.unixtech.be Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux Archives: http://www.mail-archive.com/linux@lists.unixtech.be IRC: chat.unixtech.be:6667 - #unixtech NNTP: news.gname.org - gmane.org.user-groups.linux.unixtech
-- ------------------------------------------------------------ Dr Alain EMPAIN <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Bioinformatics, Molecular Genetics, Fac. Med. Vet., University of LIEGEe, Belgium Bd de Colonster, B43 B-4000 LIEGEe (Sart-Tilman) WORK: +32 4 366 4159 FAX: +32 4 366 4122 HOME: rue des Martyrs,7 B- 4550 Nandrin +32 85 51 2341 GSM: +32 497 70 1764 ------------------------------------------------------------------------------- -- If you have problems in Windows: REBOOT -- If you have problems in Linux: BE ROOT ------------------------------------------------------------------------------- _______________________________________________________ Linux Mailing List - http://www.unixtech.be Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux Archives: http://www.mail-archive.com/linux@lists.unixtech.be IRC: chat.unixtech.be:6667 - #unixtech NNTP: news.gname.org - gmane.org.user-groups.linux.unixtech