Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] getting/passing the SlotID
- Date: Mon, 30 Dec 2013 14:46:03 +0000
- From: Brian Candler <b.candler@xxxxxxxxx>
- Subject: Re: [HTCondor-users] getting/passing the SlotID
On 29/12/2013 13:35, Imre Pólik wrote:
can a process get its own SlotID?
Look at the files pointed to by environment variables _CONDOR_MACHINE_AD
and _CONDOR_JOB_AD
cmd = /bin/sh
transfer_executable = false
args = "-c 'head -1000 $_CONDOR_MACHINE_AD $_CONDOR_JOB_AD'"
output = test.out
error = test.err
queue
"Name" or "SlotID" in the machine Ad may be what you want. There's also
"RemoteHost" and "RemoteSlotID" in the job Ad.