1GLITE-LB-PURGE(1)             Logging&Bookkeeping            GLITE-LB-PURGE(1)
2
3
4

NAME

6       glite-lb-purge  - utility for removing inactive jobs from the L&B data‐
7       base
8
9
10

SYNOPSIS

12       glite-lb-purge [options]
13
14
15

DESCRIPTION

17       glite-lb-purge is utility for removing inactive jobs from the L&B data‐
18       base.  By  default,  it  removes jobs that reached CLEARED, ABORTED and
19       CANCELLED state and also OTHER and DONE jobs that are inactive for spe‐
20       cific  (rather  long)  time.  It  is  a command line frontend to server
21       internal purge. It is used by administrators of bkserver and it is  not
22       supposed to be used at the user level.
23
24       glite-lb-purge may be run periodically in order to avoid database over‐
25       flow, however the periodic purges are done by server itself,  so  check
26       the configuration of the server first.
27
28
29

OPTIONS

31       -m, --server bkserver
32              L&B server machine name. If not specified, the environment vari‐
33              able EDG_WL_QUERY_SERVER is beeing checked.
34
35
36       -a, --aborted NNN[smhd]
37              Purge ABORTED jobs  older  than  NNN  seconds/minutes/hours/days
38              (only  one  number  and  one letter allowed). If the time is not
39              specified, the default timeout is determined by the server.
40
41
42       -c, --cleared NNN[smhd]
43              Purge CLEARED jobs older than given time.
44
45
46       -n, --cancelled NNN[smhd]
47              Purge CANCELLED jobs older than given time.
48
49
50       -e, --done NNN[smhd]
51              Purge DONE jobs older than given time.
52
53
54       -o, --other NNN[smhd]
55              Purge OTHER (i.e. job in other state than  ABORTED,  CLEARED  or
56              CANCELLED) jobs older than given time.
57
58
59       -r, --dry-run
60              Do not really purge.
61
62
63       -j, --jobs filename
64              Input file with jobIds of jobs to purge.
65
66
67       -l, --return-list
68              Return list of jobid matching the purge/dump criteria.
69
70
71       -s, --server-dump
72              Dump jobs at the server into a file (see bkserverd).
73
74
75       -i, --client-dump
76              Receive stream of dumped jobs (NOT implemented yet!).
77
78
79       -h, --help
80              Display help.
81
82
83       -v, --version
84              Display version.
85
86
87       -d, --debug
88              Print diagnostics on the stderr.
89
90
91       -x, --proxy
92              Purge L&B proxy.
93
94
95       -X, --sock path
96              Purge L&B proxy using given socket path.
97
98
99       -t, --target-runtime NNN[smhd]
100              Throttle purge to the estimated target runtime.
101
102
103       -b, --background N
104              Purge on the background. Default 1 when throttled purging.
105
106
107
108
109

FILES

111       No configuration files needed.
112
113
114

ENVIRONMENT

116       EDG_WL_QUERY_SERVER
117              If  $EDG_WL_QUERY_SERVER  is  set,  its  value  is  used  as the
118              bkserver address.
119
120
121

BUGS

123       Please report all bugs to CESNET gLite L&B issue tracker  available  at
124       https://github.com/CESNET/glite-lb/issues
125
126
127

SEE ALSO

129       glite-lb-bkindex(8),    glite-lb-bkserverd(8),   glite-lb-interlogd(8),
130       glite-lb-logd(8),  glite-lb-logevent(1),  glite-lb-dump(1),   glite-lb-
131       load(1)
132
133
134

AUTHOR

136       EU EGEE, JRA1.
137
138
139
140EGEE Project                      April 2008                 GLITE-LB-PURGE(1)
Impressum