A new doc condor_config.html is being added showing the condor configuration
[burt-test.git] / tools / glidein_ps.py
blob124f6ce8eae8e6990874d78ad0c5d2cb9cd835ab
1 #!/usr/bin/env python
3 # Project:
4 # glideinWMS
6 # File Version:
7 # $Id: glidein_ps.py,v 1.4 2011/02/10 21:35:31 parag Exp $
9 # Description:
10 # Execute a ps command on a condor job
12 # Usage:
13 # glidein_ps.py <cluster>.<process> [-name <schedd_name>] [-pool <pool_name> ] [-timeout <nr secs>] [<options>]
15 # Author:
16 # Igor Sfiligoi (May 2008)
18 # License:
19 # Fermitools
22 import sys,os.path
23 sys.path.append(os.path.join(sys.path[0],"lib"))
24 sys.path.append(os.path.join(sys.path[0],"../lib"))
26 import glideinCmd
28 glideinCmd.exe_cmd_simple(lambda argv:(['ps', '-u', '`id', '-n', '-u`']+argv))