1condor_convert_history(1) General Commands Manual condor_convert_history(1)
2
3
4
6 condor_convert_historyConvert the history file to the new format
7
9 condor_convert_history[-help]
10
11 condor_convert_historyhistory-file1[history-file2...]
12
14 As of Condor version 6.7.19, the Condor history file has a new format
15 to allow fast searches backwards through the file. Not all queries can
16 take advantage of the speed increase, but the ones that can are signif‐
17 icantly faster.
18
19 Entries placed in the history file after upgrade to Condor 6.7.19 will
20 automatically be saved in the new format. The new format adds informa‐
21 tion to the string which distinguishes and separates job entries. In
22 order to search within this new format, no changes are necessary. How‐
23 ever, to be able to search the entire history, the history file must be
24 converted to the updated format. condor_convert_historydoes this.
25
26 The condor_convert_historycommand can also be used to reconstruct the
27 new format in a history file that has been corrupted or concantenated
28 with another history file.
29
30 Turn the condor_schedddaemon off while converting history files. Turn
31 it back on after conversion is completed.
32
33 Arguments to condor_convert_historyare the history files to convert.
34 The history file is normally in the Condor spool directory; it is named
35 history. Since the history file is rotated, there may be multiple his‐
36 tory files, and all of them should be converted. On Unix platform vari‐
37 ants, the easiest way to do this is:
38
39 cd `condor_config_val SPOOL`
40 condor_convert_history history*
41
42 condor_convert_historymakes a back up of each original history files in
43 case of a problem. The names of these back up files are listed; names
44 are formed by appending the suffix .oldver to the original file name.
45 Move these back up files to a directory other than the spool directory.
46 If kept in the spool directory, condor_historywill find the back ups,
47 and will appear to have duplicate jobs.
48
50 condor_convert_historywill exit with a status value of 0 (zero) upon
51 success, and it will exit with the value 1 (one) upon failure.
52
54 Center for High Throughput Computing, University of Wiscon‐
55 sin–Madison
56
58 Copyright © 1990-2019 Center for High Throughput Computing, Computer
59 Sciences Department, University of Wisconsin-Madison, Madison, WI. All
60 Rights Reserved. Licensed under the Apache License, Version 2.0.
61
62
63
64 date condor_convert_history(1)