Sponsored Content
Full Discussion: Log Rotation Tool/Script
Top Forums Shell Programming and Scripting Log Rotation Tool/Script Post 44753 by yelalouf on Wednesday 10th of December 2003 12:17:51 PM
Old 12-10-2003
Log Rotation Tool/Script

Hello all

Does anyone has an intersting script or a good freeware tool for log rotation that is good for Unix and Linux as well ?

My thanks in advance
 

10 More Discussions You Might Find Interesting

1. HP-UX

Log rotation on HP-UX

Can anyone post a sample log rotate and archive configuration on HP-UX? I really don't know how to do that... :( (3 Replies)
Discussion started by: untamed
3 Replies

2. Shell Programming and Scripting

log rotation

Hello all. Due to some reason I can not use HUP to rotate needed log files. So I use the standard method: cp $file $file.1 cat /dev/null > $file But if Java application in this time writing the output to $file, in the beginning of it appears many "^@^@^@^@^@^@". How to avoid it? Or how... (6 Replies)
Discussion started by: mirusnet
6 Replies

3. Shell Programming and Scripting

Log rotation script

I have the below script to help with disk space cleanup that finds logs older than a specified number of days (say 10 days). I need it to grab "active" logs as well. Problem is an "active log" will not get archived unless I put in 0 days which I don't want to do, I need to leave the past 10 days,... (2 Replies)
Discussion started by: theninja
2 Replies

4. Shell Programming and Scripting

Log rotation issue with script

I have application which to the heavy stdout and I have diverted the stdout to log file. this log file is writing very heavily and we have a script which rotates the logs. logic for rotation is smthing like cp logfile logfile.1 cat /dev/null > logfile this logic was working fine till we... (3 Replies)
Discussion started by: navinmistry
3 Replies

5. Solaris

Log rotation, twice

hi folk, need advise regarding the log rotation, i have the logadm set at 30 2 * * * /usr/sbin/logadm so it supposed to rotate once per day, but now it rotated twice! but someone my log will rotate at 2:30 AM, but then another 2 hours later, it creates a new and rotate a new log again,... (2 Replies)
Discussion started by: dehetoxic
2 Replies

6. UNIX for Dummies Questions & Answers

Log Rotation

Hi Guys, Good morning, I just want to know and collect ideas on this one. Regarding rotation of logs as I've observed it's not consistently functioning. I have a server with 8 Partitions, each partition has a dedicated directory for the logs that is needed and I set it every 5mins (300secs) the... (1 Reply)
Discussion started by: rymnd_12345
1 Replies

7. Solaris

Log rotation

Hi All! I seem to have a problem with log rotation, unless I am doing something wrong, I have type the following command for testing purposes to see if the -s option works but he did not: logadm -w /var/adm/messages -C 8 -c -s 512k -t '/var/adm/messages.$n' -z 1 the file is now at this... (7 Replies)
Discussion started by: fretagi
7 Replies

8. Shell Programming and Scripting

Log rotation script

I have an application that rotate its log once it reaches 100mb and it keeps a total of 24 logs. I am trying to write a script to run daily to tar up the previous day logs files and move them to a different directory. here is a long listing of the logs in the directory: -rw-r--r-- 1 user1 ... (6 Replies)
Discussion started by: e_mikey_2000
6 Replies

9. OS X (Apple)

Mavericks log rotation

In Mavericks, Apple has apparently moved control of log rotation to ASL. There's a 'ttl' value to determine how long log files will stick around for. I can compress them, change the way they're named, limit them by size, etc. But the one thing I cannot find is how to NOT keep one log file per... (0 Replies)
Discussion started by: jnojr
0 Replies

10. AIX

Log rotation in PowerHA7

Hi All, I have a situation here ... HACMP is configured with application monitoring script, which is generating messages .... which is running every minute ... And every minute when monitoring script run, one one log file is generating .... and this log file is rotating ... which is rotating... (1 Reply)
Discussion started by: linux.amrit
1 Replies
Gtk2::ImageView::Tool(3pm)				User Contributed Perl Documentation				Gtk2::ImageView::Tool(3pm)

NAME
Gtk2::ImageView::Tool - Interface for objects capable of being used as tools by Gtk2::ImageView DESCRIPTION
Gtk2::ImageView::Tool is an interface that defines how Gtk2::ImageView interacts with objects that acts as tools. Gtk2::ImageView delegates many of its most important tasks (such as drawing) to its tool which carries out all the hard work. The Gtk2::ImageView package comes with two tools; Gtk2::ImageView::Tool::Dragger and Gtk2::ImageView::Tool::Selector, but by implementing your own tool it is possible to extend Gtk2::ImageView to do stuff its author didn't imagine. Gtk2::ImageView uses Gtk2::ImageView::Tool::Dragger by default, as that tool is he most generally useful one. However, it is trivial to make it use another tool. my $view = Gtk2::ImageView->new; my $tool = Gtk2::ImageView::Tool::Selector ($view); $view->set_tool ($tool); Using the above code makes the view use the selector tool instead of the default dragger tool. HIERARCHY
Glib::Interface +----Gtk2::ImageView::Tool METHODS
boolean = $tool->button_press ($ev) o $ev (Gtk2::Gdk::Event) boolean = $tool->button_release ($ev) o $ev (Gtk2::Gdk::Event) cursor = $tool->cursor_at_point ($x, $y) o $x (integer) o $y (integer) Returns the cursor to display at the given coordinates. boolean = $tool->motion_notify ($ev) o $ev (Gtk2::Gdk::Event) $tool->paint_image ($opts, $drawable) o $opts (Gtk2::Gdk::Pixbuf::Draw::Opts) o $drawable (Gtk2::Gdk::Drawable) Called whenever the image view decides that any part of the image it shows needs to be redrawn. $tool->pixbuf_changed ($reset_fit, $rect) o $reset_fit (boolean) o $rect (Gtk2::Gdk::Rectangle) Indicate to the tool that either a part of, or the whole pixbuf that the image view shows has changed. This method is called by the view whenever its pixbuf or its tool changes. That is, when any of the following methods are used: Gtk2::ImageView::set_pixbuf() Gtk2::ImageView::set_tool() Gtk2::ImageView::damage_pixels() If the reset_fit parameter is TRUE, it means that a new pixbuf has been loaded into the view. tool : the tool reset_fit : whether the view is resetting its fit mode or not rect : rectangle containing the changed area or NULL SEE ALSO
Gtk2::ImageView, Glib::Interface COPYRIGHT
Copyright (C) 2007 by Jeffrey Ratcliffe. This software is licensed under the GPL-3; see Gtk2::ImageView for a full notice. perl v5.14.2 2011-11-16 Gtk2::ImageView::Tool(3pm)
All times are GMT -4. The time now is 01:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy