Sponsored Content
Operating Systems Solaris /var size is increasing day by day Post 302143746 by porter on Saturday 3rd of November 2007 04:43:30 AM
Old 11-03-2007
How are the messages.0, messages.1 etc files created, are they being created automatically? Or do those dates match reboots. You can archive and delete the old message.* files.
There are various "log rolling" solutions available.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to compare prev day file to current day file

Hi all: I am new to this board and UNIX programming so please forgive if I don't explain something correctly. I am trying to write a script to keep track of our links, we link one program written for Client A to Client B's directory. What we want to do is to keep track of our linked programs... (1 Reply)
Discussion started by: Smurtzy
1 Replies

2. Shell Programming and Scripting

Write a shell script to find whether the first day of the month is a working day

Hi , I am relatively new to unix... Can u pls help me out to find out if the first day of the month is a working day ie from (Monday to Friday)...using Date and If clause in Korn shell.. This is very urgent. Thanks for ur help... (7 Replies)
Discussion started by: phani
7 Replies

3. Solaris

increasing /var

i need to increase the size of my /var filesystem but i have no idea how to do it. Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t3d0s0 144799 74952 55377 58% / /dev/dsk/c0t3d0s6 342183 201079 106894 66% /usr /proc ... (0 Replies)
Discussion started by: roguekitton
0 Replies

4. Shell Programming and Scripting

Script to find previous month last day minus one day timestamp

Hi All, I need to find the previous month last day minus one day, using shell script. Can you guys help me to do this. My Requirment is as below: Input for me will be 2000909(YYYYMM) I need the previous months last day minus 1 day timestamp. That is i need 2000908 months last day minus ... (3 Replies)
Discussion started by: girish.raos
3 Replies

5. Solaris

May i know the day to day activities of a Solaris system administrator?

Recently i have attended a telephonic interview. As i dont have work experience in solaris i was not able to deliver correct answer for this question. Your answer will help for the people like me who is looking to become Solaris System administrator. (4 Replies)
Discussion started by: Sesha
4 Replies

6. Shell Programming and Scripting

Code creates day 32 instead of 1st day of next month.

I am using the code below modified from a post I saw here regarding having the script write out future dates. The problem is that instead of making 8/1 it makes 7/32! Please help! yy=`date +%Y` mm=`date +%m` dd=`date +%d` echo "Today is : $yy $mm $dd" #!/usr/bin/ksh date '+%m... (5 Replies)
Discussion started by: libertyforall
5 Replies

7. Shell Programming and Scripting

Script to check if last modified day is previous day

Hi, I would like to write a script that checks if a file ('counter') was modified the previous day, if so erase its contents and write 00000000 into it. For e.g. if the file 'counter' was last modified at 11.30pm on 24th May and the script runs at 12.15am of 25th May, it should erase it's... (1 Reply)
Discussion started by: hegdepras
1 Replies

8. UNIX for Dummies Questions & Answers

Move the files between Current day & a previous day

Hi All, I have a requirement where I need to first capture the current day & move all the files from a particular directory based on a previous day. i.e move all the files from one directory to another based on current day & a previous day. Here is what I am trying, but it gives me errors.... (2 Replies)
Discussion started by: dsfreddie
2 Replies

9. Shell Programming and Scripting

Julian day to dates in YEAR-MONTH-DAY

hello, I have many files called day001, day002, day003 and I want to rename them by day20070101, day20070102, etc. I need to do it for several years and leap years as well. What is the best way to do it ? Thank you. (1 Reply)
Discussion started by: Ggg
1 Replies
ROTTER(1)																 ROTTER(1)

NAME
rotter - a recording of transmission / audio logger for JACK SYNOPSIS
rotter [options] <directory> DESCRIPTION
Rotter is a Recording of Transmission / Audio Logger for JACK. It was designed for use by radio stations, who are legally required to keep a recording of all their output. Rotter runs continuously, writing to a new file every hour. Rotter can output files in two different strutures, either all files in a single directory or create a directory structure: flat: /root_directory/YYYY-MM-DD-HH.suffix hierarchy: /root_directory/YYYY/MM/DD/HH/archive.suffix combo: /root_directory/YYYY/MM/DD/HH/YYYY-MM-DD-HH.suffix dailydir: /root_directory/YYYY-MM-DD/YYYY-MM-DD-HH.suffix The advantage of using a folder hierarchy is that you can store related files in the hour's directory. OPTIONS
-a Automatically connect JACK ports to the first two JACK input ports found. -f <format> Select the output format of the log files. See the rotter help screen for a list of supported output format names. -b <bitrate> Select the bitrate (in kbps) of the log file. This parameter is only supported by bitstream formats (MPEG Audio). -c <channels> Set the number of input channels to be logged. This number of JACK ports will be created. Should either 1 or 2. -n <name> Choose the name of the Jack client to register as. -N <filename> Choose a filename prefix for the archive files created (default archive). -d <hours> Specifies the number of hours of audio to keep before it is deleted. Files are deleted at the start of every hour, based on the files modification date. Default is to not delete files. -R <secs> Sets the length (in seconds) of the ringbuffer. This is the buffer between the internal audio grabber and the audio encoder. If you have a slow machine you might want to try increating the size of the buffer. -L <layout> Choose a file layout option for the archive files created. See above for a list. -j By default rotter will automatically try and start jackd if it isn't running. This option disables that feature. -v Enable verbose mode. Display more messages about what rotter is doing. -q Enable quiet mode. Only display error messages. EXAMPLES
rotter -a -f mp3 -d 1000 -b 160 -v /var/achives Start logging audio to hourly files in /var/archives. Rotter will automatically connect itself to the first two JACK output ports it finds and encode to MPEG Layer 3 audio at 128kbps. Each hour it will delete files older than 1000 hours (42 days). Verbose mode means it will display more informational messages. AUTHOR
Written by Nicholas J Humfrey RESOURCES
Web site: http://www.aelius.com/njh/rotter/ COPYING
Copyright (C) 2006-2007 Nicholas J Humfrey. Free use of this software is granted under the terms of the GNU General Public License (GPL). 10/03/2010 ROTTER(1)
All times are GMT -4. The time now is 07:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy