Weekend Data Log


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Weekend Data Log
# 1  
Old 09-02-2008
Weekend Data Log

I've been searching here, and other places for a solid script that would generate a weekend log. Mainly how would I combine 24hr data for the weekend days? I've came across scripts for day, days, month, but none that selects just the weekend. Thanks for any help!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. Linux

power off during weekend

Hello, I would like to turn off (mean no energy consumption) some servers during the weekend. I would like to do it automatically so i thought to create macro commands to a shell client.The problem is that giving shutdown (shutdown -h now) the server(Sun X4200 M2) turn off but the fans are still... (5 Replies)
Discussion started by: @dagio
5 Replies

2. What is on Your Mind?

what are you doing this weekend?

does someone have any plans? (7 Replies)
Discussion started by: yarx
7 Replies
Login or Register to Ask a Question
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)