tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Myszkowski.Mark" <Mark.Myszkowski () wepco ! com>
To: tru64-unix-managers
Subject: Problem using cat /dev/null
Date: Wed, 07 Nov 2001 22:32:03 +0000	[thread overview]
Message-ID: <102653643321647.tru64-unix-managers.marc@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C167DC.0628FCA0", Size: 1651 bytes --]

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C167DC.0628FCA0
Content-Type: text/plain;
	charset="iso-8859-1"

Hello,
I am trying to use 
cat /dev/null > a.log
to reset a log file.  Unfortunately, when I do this the log file returns to
it's original size the next time that the application writing to that log
makes an update.  How can I reset a log that is being written to by a
program without stopping the program?
Thank you,

Mark Myszkowski


------_=_NextPart_001_01C167DC.0628FCA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Problem using cat /dev/null</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hello,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">I am trying to use </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">cat /dev/null &gt; a.log</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">to reset a log file.&nbsp; =
Unfortunately, when I do this the log file returns to it's original =
size the next time that the application writing to that log makes an =
update.&nbsp; How can I reset a log that is being written to by a =
program without stopping the program?</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thank you,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Mark Myszkowski</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C167DC.0628FCA0--

                 reply	other threads:[~2001-11-07 22:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox