Ask a Question related to SCO, Design and Development.
-
Sinisa #1
syslog truncate
Hi,
I am interested if it is safe to truncate syslog (it contains data for last
3 years since the server was installed and it is over 23Mb).
Is it safe to truncate portion of it (lets say to leave only messages for
current year) ?
How should I do it ? (what commands).
System is SCO OpenServer 5.0.6
Thanks
Sinisa Guest
-
PHP Truncate Text
Can anyone please tell me how to truncate dynamic PHP text - is there aan extension available that does this ?? Thanks............ -
Truncate generated mails...
- There's no closing quote in your href. - This isn't an ASP issue. - This will be up to whether or not the client's mail program supports this. ... -
creating different syslog file /var/log/syslog.0 /var/log/syslog.1...
Hi, I see different syslog files under /var/log/ /var/log/syslog.0 /var/log/syslog.1 Could anyone tell me whats the difference between syslog.*... -
Truncate Access
Hi guys, How can one provide a user and/or role access to truncate selective tables. For example, how can I give user 'appnet' access to truncate... -
truncate randomly failing
I am having some problems with truncating tables with a procedure, and I just can't figure out why. I am calling the following procedure to... -
Stuart J. Browne #2
Re: syslog truncate
"Sinisa" <vojvodics@rogers.com> wrote in message
news:GGjWa.48722$rsJ.46378@news04.bloor.is.net.cab le.rogers.com...last> Hi,
>
> I am interested if it is safe to truncate syslog (it contains data forwe rotate the file once a month. Move it out of the way, touch a new one,> 3 years since the server was installed and it is over 23Mb).
> Is it safe to truncate portion of it (lets say to leave only messages for
> current year) ?
> How should I do it ? (what commands).
> System is SCO OpenServer 5.0.6
kill -HUP syslog's process.
Stuart J. Browne Guest
-
Jean-Pierre Radley #3
Re: syslog truncate
Sinisa typed (on Fri, Aug 01, 2003 at 01:49:26AM +0000):
|
| I am interested if it is safe to truncate syslog (it contains data for last
| 3 years since the server was installed and it is over 23Mb).
| Is it safe to truncate portion of it (lets say to leave only messages for
| current year) ?
| How should I do it ? (what commands).
| System is SCO OpenServer 5.0.6
I use prune to truncate growing ascii log files, from the top and at a
newline. Get it from ftp.jpr.com.
--
JP
Jean-Pierre Radley Guest
-
Bill Vermillion #4
Re: syslog truncate
In article <20030801032622.GF23529@jpradley.jpr.com>,
Jean-Pierre Radley <jpr@jpr.com> wrote:>Sinisa typed (on Fri, Aug 01, 2003 at 01:49:26AM +0000):>| I am interested if it is safe to truncate syslog (it contains
>| data for last 3 years since the server was installed and it is
>| over 23Mb). Is it safe to truncate portion of it (lets say to
>| leave only messages for current year) ?>| How should I do it ? (what commands). System is SCO OpenServer
>| 5.0.6I think it would be nice is the SCO products could use something>I use prune to truncate growing ascii log files, from the top and at a
>newline. Get it from ftp.jpr.com.
like 'newsyslog'. I've been spoiled by it in the FBSD servers I
maintain.
It's originally from MIT and project Athena and looking at the
copyrights it is wide open for anyone to use for any purpose
as long as the copyright info is maintained. Very similar to the
BSD style.
A config file lets you rotate your files based on size, time,
day, week, month, etc. It has flags to process the processed
files - so they can be rotated, compressed, and how many copies of
the old files to be retained.
Bill
--
Bill Vermillion - bv @ wjv . com
Bill Vermillion Guest



Reply With Quote

