Tags:
create new tag
view all tags
---+ Removing Jobs When using the Condor cluster, you can query your condor jobs as so: <verbatim> user@patas:~$ condor_q user -- Submitter: patas.ling.washington.edu : <192.168.100.50:50435> : patas.ling.washington.edu ID OWNER SUBMITTED RUN_TIME ST PRI SIZE CMD 122056.0 user 1/19 13:25 0+00:00:01 H 0 0.0 script.sh 122056.1 user 1/19 13:25 0+00:00:01 H 0 0.0 script.sh 122056.2 user 1/19 13:25 0+00:00:01 H 0 0.0 script.sh 122056.3 user 1/19 13:25 0+00:00:01 H 0 0.0 script.sh 4 jobs; 0 completed, 0 removed, 0 idle, 0 running, 4 held, 0 suspended </verbatim> Where user is your UW netid. When you have jobs that are Held (JobStatus (ST) == H) or otherwise not working, you can remove all of your user jobs with: =condor_rm user= To remove all of your jobs that are held or suspended, you can use: <verbatim>condor_rm -constraint "JobStatus == 5 || JobStatus == 6"</verbatim> Where JobStatus code 5 is Held and code 6 is suspended. ---+ Removing Jobs Automatically on Logout To remove held and suspended jobs automatically, add the previous line to your bash logout script at ~/.bash_logout: <verbatim> ~/.bash_logout condor_rm -constraint "JobStatus == 5 || JobStatus == 6" </verbatim> You can add =&> /dev/null= to the end of this script to suppress the status message on logout. -- Main.trimblet - 2014-01-19
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2014-01-19
-
trimblet
Home
Site map
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback