File: dclean.8

package info (click to toggle)
diablo 1.13-1
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 804 kB
  • ctags: 875
  • sloc: ansic: 8,308; perl: 1,908; sh: 186; csh: 81; makefile: 67
file content (75 lines) | stat: -rw-r--r-- 1,825 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
.\" $Revision: 1.00 $
.TH DCLEAN 8
.SH NAME
dclean \- Diablo program to clean out stale spool files
.PP
.SH SYNOPSIS
.B dclean
[
.B \-q
]
[
.B \-q2
]
[
.B \-v
]
[
.B \-r
]
[
.B spool-directory
]

.SH DESCRIPTION
.IR Dclean 
.PP
NOTICE NOTICE NOTICE -- DCLEAN HAS BEEN DEPRECIATED AND IS AN EMPTY SHELL NOW
.PP
scans all spool directories by default, or the specific spool
directory you name, and prints and/or removes any diablo spool file
that is either marked expired in the dhistory database, or does not exist
at all in the dhistory database.  DClean should nominally be run once a day
to keep your spool sparkling, but you can get away with running it once a
week if you do not have the cpu cycles.  In a properly running system,
DClean should not find any files to remove.  DClean will tend to find 
files after, say, a crash, or an unclean shutdown.
.PP
.B -r
Tell dclean to remove files.  Otherwise it just prints out the files it
finds.
.PP
.B -v
.PP
This option undos the -q option.
.B -q
DClean normally prints out every file it determines should be removed.
This option surpresses this.
.PP
.B -q2
DClean normally reports the number of files removed at the end of its run.
This prevents any verbose printing or end-run reporting from occuring.

.PP
DClean may be run concurrent to the diablo server or with other dclean's.
Since it does not need to actually open any of the files it scans, it
is reasonably efficient.  However, a typical news server taking a full
feed may have several million article files and it is not suggested that
you run DClean more often then once a day... and less often if you do not
have the cycles to spare for it.

.SH "SEE ALSO"
diablo(8), 
dclean(8),
dicmd(8),
didump(8),
diload(8),
dnewslink(8),
doutq(8),
dexpire(8)
diconvhist(8),
dilookup(8),
dspoolout(8),
diablo-files(5)
.PP