[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] check which job is running on a wn at specific time



condor_who looks only at daemon logs on the local machine, and sends queries to the local Startd.   
It does not load the Schedd or collector at all.   Depending on how big your log files are, it *can*
end up doing a lot of disk IO.

-tj

-----Original Message-----
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Beyer, Christoph
Sent: Wednesday, July 8, 2020 4:35 AM
To: htcondor-users <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] check which job is running on a wn at specific time

Hi,

this seems like an every-day-htc-admin-problem to me, so lateral brain in gear everyone :) 

When it comes to certain effects on a workernode I often would like to know if it is job related or not, hence I would like to check quickly which jobs were running on a host at a certain point in time. 

I know this sounds not spectacular but as you need to check active queue and history at the same time and get the timestamps right, maybe someone scripted somethin already to get a quick result ? 

As an option I thought about running 'condor_who >> /var/log/condor/who.log' every couple of minutes or so but I am uncertain if this would put too much load on the sched or collector as the condor_who command seems to run around quite a bit to gather it's statistic ... 

Best
christoph 

-- 
Christoph Beyer
DESY Hamburg
IT-Department

Notkestr. 85
Building 02b, Room 009
22607 Hamburg

phone:+49-(0)40-8998-2317
mail: christoph.beyer@xxxxxxx
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/