Sponsored Content
Full Discussion: setting max log file size...
Top Forums Shell Programming and Scripting setting max log file size... Post 18602 by v-rod on Sunday 31st of March 2002 01:29:29 PM
Old 03-31-2002
Thanks very much Jimbo!

Is there no way of doing this via file size, not number of lines?

Also, how would go about editing the log files for multiple users from root?

I have really done a lot of searching with no luck. I am really glad I found this place!

Thanks again!
 

10 More Discussions You Might Find Interesting

1. Programming

Max file size can't exceed 2 GB

We have Sun OS 5.9 we are doing a backup process (ProC program) that uses the function... fprintf(fp,"%s;%s;%s;%s;%s;%ld;%ld;%ld;%ld;%s;%s;%s;%d;%s;%s;%s;%ld;%s;%s;%s;%ld;%ld;%s;%ld;%s;%ld;%s;%s;%c%c",x_contrno, x_subno, x_b_subno,x_transdate,x_last_traffic_date,BillAmt_s, x_billamount_int,... (10 Replies)
Discussion started by: atiato
10 Replies

2. UNIX for Advanced & Expert Users

How to determine the max file size

Does anyone know a way to determine the maximum filesize on a file system on Solaris, HP-UX, AIX, Linux, and OSF1 using the command line? TIA (2 Replies)
Discussion started by: dknight
2 Replies

3. Solaris

max. size of file

I wants to ask that what is the max size of file that we can create in the unix file system. (2 Replies)
Discussion started by: sameerghogre
2 Replies

4. UNIX for Advanced & Expert Users

Max. file size

i want to know what is the maximum file size supported by linux with ext3 file system. (1 Reply)
Discussion started by: nagalenoj
1 Replies

5. UNIX for Dummies Questions & Answers

MAX file size limited to 2GB

Hi All, We are running HP rp7400 box with hpux 11iv1. Recently, we changed 3 kernel parameters a) msgseg from 32560 to 32767 b) msgmnb from 65536 to 65535 c) msgssz from 128 to 256 Then we noticed that all application debug file size increase upto 2GB then it stops. So far we did not... (1 Reply)
Discussion started by: mhbd
1 Replies

6. SuSE

Setting the max open files value

I'm trying to set the open files value to 4000 on a SLES 9 system. Current values:ulimit -n 1024 I can set it using this:ulimit -n 4000 ulimit -n 4000 But this obviously sets it only for the shell session where I run the command to set it. I want to set this to 4000 for all time. ... (3 Replies)
Discussion started by: blowtorch
3 Replies

7. Solaris

File size setting

There is a file in my Unix Server whose size will be constant. But every day when the sheduled jobs run in the server, that file gets updated but the size does not change. Upon doing file filename It is dispalyed as a binary file. Can anyone please explain how that file is created. How is... (3 Replies)
Discussion started by: exterminator
3 Replies

8. UNIX for Dummies Questions & Answers

Restrict Max file size

Hello All, I am working on an issue, where I need to check the max file size of a file. If the file size exceeds 2 GB, then I need to generate an error message. Since the file system does not allow a file to be created larger than 2 GB, I am planning to use named pipes & AWK file to acheive my... (6 Replies)
Discussion started by: puru2121
6 Replies

9. AIX

Profile Max CPU Setting

I have a system with the following settings: min:0.10 Assigned: 2.0 Max: 6.0 Partition is uncapped weight is 128. I would like to know if even if this is uncapped, is the max it can use 6? The actual pool has 16. I remember reading about this somewhere but I don't remember can anyone... (3 Replies)
Discussion started by: techy1
3 Replies

10. Solaris

Clamd max file size Solaris 10

Hi, I've compiled a 64-bit version of ClamAV 0.98.7 on my Solaris 10 SPARC server. I have a selection of files all containing the eicar signature but clamd is only picking up the signature in the files <2GB. I have the following set in clamd.conf, to remove file size checking: MaxScanSize 0... (4 Replies)
Discussion started by: Troutfest
4 Replies
ZIPROXYLOGTOOL(1)						      ZIPROXY							 ZIPROXYLOGTOOL(1)

NAME
ziproxylogtool - is a low-level log analyser SYNOPSIS
ziproxylogtool [general_options] [filtering_options] DESCRIPTION
ziproxylogtool is a low-level log analyser, its purpose is to be invoked by scripts. It is expected to be reasonably fast and generic. These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. GENERAL OPTIONS
-m, --mode mode Output mode: "g" - Global stats "h" - Per host stats (accesses, in_bytes, out_bytes, compression %, hostname) "f" - Filter mode (filter log entries according to filtering options) -i, --in-file filename Input file (Ziproxy log file). If unspecified, uses stdin. -o, --out-file filename Output file (stats output). If unspecified, uses stdout. -h, --help Display summarized help FILTERING OPTIONS
If ommited, won't apply. -1, --epoch-min unix_epoch Filter entries starting from that epoch. -2, --epoch-max unix_epoch Filter entries older than that epoch. -3, --bytes-in-min bytes Filter entries which incoming_bytes >= <bytes> -4, --bytes-in-max bytes Filter entries which incoming_bytes < <bytes> -5, --bytes-out-min bytes Filter entries which outgoing_bytes >= <bytes> -6, --bytes-out-max bytes Filter entries which outgoing_bytes < <bytes> -7, --delay-min mili_seconds Filter entries which delay >= <mili_seconds> -8, --delay-max mili_seconds Filter entries which delay < <mili_seconds> SEE ALSO
ziproxy(1) AUTHOR
ziproxylogtool was written by Daniel Mealha Cabrita. This manual page was written by Marcos Talau <marcostalau@gmail.com>. ZIPROXY
December 02, 2007 ZIPROXYLOGTOOL(1)
All times are GMT -4. The time now is 05:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy