Unix and Linux Discussions Tagged with for each |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
11,346 |
Programming |
|
|
|
4 |
3,876 |
Shell Programming and Scripting |
|
|
|
3 |
1,661 |
Shell Programming and Scripting |
|
|
|
41 |
13,550 |
Shell Programming and Scripting |
|
|
|
3 |
12,511 |
Programming |
|
|
|
0 |
950 |
UNIX and Linux RSS News |
|
|
|
3 |
18,934 |
AIX |
|
|
|
7 |
5,251 |
IP Networking |
|
|
|
9 |
6,852 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,995 |
Shell Programming and Scripting |
|
|
|
1 |
1,932 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
35,162 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,538 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,626 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
7,037 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
18,124 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,289 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
15,405 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
6,560 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
5,205 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,674 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
1 |
2,904 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,352 |
IP Networking |
|
|
|
1 |
3,043 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
15,395 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
60,615 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
5,643 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,493 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,644 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,563 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,470 |
IP Networking |
|
|
|
9 |
11,146 |
Cybersecurity |
|
|
|
3 |
29,079 |
Where do I download LINUX & UNIX? |
|
|
|
3 |
2,638 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,316 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
22,412 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,574 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,609 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,633 |
UNIX for Dummies Questions & Answers |
strclean(8) System Manager's Manual strclean(8)
NAME
strclean - Removes outdated STREAMS error log files
SYNOPSIS
/usr/sbin/strclean [-d logdir] [-a age]
FLAGS
Specifies a maximum age in days for the STREAMS error log files if this not the default age of 3. The value of age must be an integer
greater than or less than 3. Specifies a directory for the location of the STREAMS error log files to be removed if this is not the
default directory /var/adm/streams.
DESCRIPTION
The strclean command cleans the STREAMS error logger directory of log files (error.mm-dd) that contain error messages sent by the STREAMS
log driver (strlog). If no other directory is specified (the logdir argument), the command removes error log files in the /var/adm/streams
directory. If no other age is specified (the age argument), the command removes error log files that have not been modified in 3 days.
The strclean command is executed by the cron daemon on a periodic basis.
EXAMPLES
To remove the day-old error log files from a directory called /tmp/streams, enter: strclean -d /tmp/streams -a 1
FILES
One or more error log file or files on which strclean operates. The mm.dd in the filename indicates the month and day of the messages con-
tained in the file.
RELATED INFORMATION
Commands: strerr(8), cron(8).
Interfaces: strlog(7). delim off
strclean(8)