07-31-2006
I'm sorry, but this is homework. Please read the
rules. Esp. this one:
Quote:
(6) Do not post classroom or homework problems.
I am closing this thread.
10 More Discussions You Might Find Interesting
1. Solaris
Im about to install a sunfreeware program called logrotate which does exactly what it says on the tin....just a quick question ..if its going to rename messages to messages.0 etc do I need to issue a HUP to syslogd after doing this or will the new messages file get created automatically
cheers (2 Replies)
Discussion started by: hcclnoodles
2 Replies
2. Shell Programming and Scripting
Hi All,
I have some data (below) that I need to rotate 90 degrees - in other words I want to flip each row into a column.
I've found the following code in the book "Effective awk programming" but it doesn't work on my input data. I've used arrays before but I can't make it work... can... (3 Replies)
Discussion started by: pondlife
3 Replies
3. UNIX for Advanced & Expert Users
I have been using logrotate for quite awhile now. Most logs are rotated daily, using /etc/cron.daily. I noticed that the logs in question have not been rotated since April 6, but daily up to that point.
I have logrotate in /etc/cron.daily. The basic command is:
/usr/sbin/logrotate... (1 Reply)
Discussion started by: manouche
1 Replies
4. Shell Programming and Scripting
(I'm aware log rotation is a common subject, but I tried searching and couldn't find an answer)
For some time now, I've been using the Logfile::Rotate module to rotate logs in a log-monitoring script. So far, I haven't experienced any problems, and it works great because I can use it in Linux... (1 Reply)
Discussion started by: w1r3d
1 Replies
5. Solaris
Hi,
I am having some troubles using /usr/sbin/logadm to rotate sulog yearly. Can someone please assist with the correct syntax to rotate the sulog yearly? I'd like to maintain up to 3 years of logs.
I am on Solaris 10.
Thanks, (1 Reply)
Discussion started by: lwif
1 Replies
6. Shell Programming and Scripting
Hi there,
I like to ask how i shall monitor specific string or keyword in rotating log files. e.g. I have at 10 rotating logfiles.
I use the command below to grep the string, but eventually become non functional because the logfile rotates and new logfile is active.
tail -f <logfile1> |grep... (1 Reply)
Discussion started by: shtobias
1 Replies
7. Shell Programming and Scripting
I want to take daily backup(11pm) of /var/www to /mnt/bak excluding /var/www/videos and /var/www/old. HOW to implement a rotating snapshot method, so that i can have multiple(say 4) automatically rotating backups. (0 Replies)
Discussion started by: proactiveaditya
0 Replies
8. Red Hat
Hi all,
We have the exim mail server configured on cpanel in centos. We have 5 dedicated ip's. So, when i sending mails to client systems, it should be rotate that ip addressees on every 15 minutes.
That means Ip rotating. How can i do it. Can anybody show me how to do it.
Thanks, (0 Replies)
Discussion started by: mastansaheb
0 Replies
9. Shell Programming and Scripting
Hi All,
I have a requirement to write a shell script to search the logs in past 1 hour and extract some pattern from it and count it cumulatively to a file.
The problem which I'm facing here is - logs rotates on size basis, say if size of log reaches 5 MB then new log will be generated and... (7 Replies)
Discussion started by: Gem_In_I
7 Replies
10. Shell Programming and Scripting
Hello:
I have a script that gets the ACLs of the /home directory and its contents with getfacl and writes them to a file. The script is run by a cron job and I don't want it to rewrite or append to an already existing file. The point of backing permissions up is because I may need to restore them.... (2 Replies)
Discussion started by: Cacializ
2 Replies
LEARN ABOUT SUSE
wmcalclock
WMCALCLOCK(1) General Commands Manual WMCALCLOCK(1)
NAME
WMCALCLOCK - Dockable Calendar Clock
SYNOPSIS
wmCalClock [-h] [-display <Display>] [-b <Volume>] [-e <Command>] [-24] [-s] [-S] [-L <Longitude>] [-l] [-tc <color>] [-bc <color>] [-tek-
ton] [-comicsans] [-arial] [-luggerbug] [-jazz]
DESCRIPTION
wmCalClock is a simple Calendar Clock with anti-aliased text and drop-shadows.
OPTIONS
-h Display list of command-line options.
-display [display]
Use an alternate X Display.
-b <Volume>
Beep on the hour with specified volume (between -100 and 100).
-e <Command>
Command to execute via double click of mouse button 1. (Use quotes if your command has white space in it).
-24 Show time in 24-hour format instead of default 12-hour AM/PM format.
-s Show Greenwich Mean Sidereal Time (GMST) in 24-hour format.
-S Dont show seconds.
-L <Longitude>
Show Local Sidereal Time (LST) in 24-hour format. Longitude is in degrees (- for West + for East).
-l Force use of lower color pixmap to conserve colors. On displays with <= 8 bits, the low color Pixmap will always be used.
-tc <color>
Change color of time-field digits.
-bc <color>
Change color of time-field background.
-tekton
Use the Tekton font for time field.
-arial Use the Arial (i.e. Helvetica) font for time field.
-jazz Use the JazzPoster font for time field.
-luggerbug
Use the LuggerBug font for time field.
-comicsans
Use the ComicSans font for time field.
BUGS
Who knows? (Let me know if you find any).
AUTHOR
Michael G. Henderson <mghenderson@lanl.gov>
16 December 1998 WMCALCLOCK(1)