I looked into this, and learned the following:

- The /proc/PID/stat files, which BOINC reads to see what's running,
  contain only the filename of the executable
  (actually, only the 1st 15 characters of the filename).

- If you want the entire command line, you have to read /proc/PID/cmdline.
  This contains the command line, not as a single string
  but with its components separated by zero bytes.

The bottom line is: you need to list "python3.3" as your exclusive app.
This will treat all python scripts as exclusive apps.
To limit this to emerge, we'd need to use regular expressions,
and BOINC would have to read the entire command line,
which is possible but not worth doing.

-- David

On 02-Feb-2014 1:31 AM, Toralf Förster wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

As a Gentoo user compiling packages is a daily task. Under Gentoo the package manager is 
called "emerge" - it is a python script.
I'm wondering I have to define "emerge" under "exclusive application" or 
"python2" ?

FWIW the grep'ed process list gives:

$ pgrep -a emerge
12979 /usr/bin/python3.3 /usr/bin/emerge --update @world --deep --changed-use 
--with-bdeps=y
13036 /usr/bin/python3.3 /usr/bin/emerge --update @world --deep --changed-use 
--with-bdeps=y

- --
MfG/Sincerely
Toralf Förster
pgp finger print:1A37 6F99 4A9D 026F 13E2 4DCF C4EA CDDE 0076 E94E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlLuEGEACgkQxOrN3gB26U4nFgD6A9Zw8k+bFOSbo/Zill+V6scl
tlWB5qqZRR2pny0OtekA/3OCvq/nAp7wE9b3G3pcCEd5P7k9vm4S8Cx5wxQEEHIi
=f6Oa
-----END PGP SIGNATURE-----
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to