Hein Bauer wrote:

Dear list,

i'd like to know if anyone is interested in the improvement/bughunting
of savelog. I have/had lots of touble oops trouble with it.

A box using bering1.0-stable is running. I had a look at the newer
versions of uclibc to check if that file has been changed since I am
using it. Does not seem so. The last entry is :
"...by Guy Maor <maoratdebiandotorg> "

For newer versions, you might want to check the latest releases of Debian, which is where the savelog function used in LEAF came from initially.


Whats going wrong ?
<snip>
So I have some questions left to solve all that ;-)

Starting savelog from commandline works better. The rotation works better. But it is triggert from cron. I suspect changes in the environment responsible to that.

I am searching for an entry in /proc to check the freespace of
/var/log. Did not find anything usable.

Whats the best way to check the size of a file ? Is there another way
instead of SIZE=`ls file | cut/sed/awk something` ?
I tought of something like SIZE=`ls -paramter filename`
Even "man bash" revealed nothing...

You probably want something like:

  find /var/log/ -type f -size +35k

...which will find all normal files in /var/log that are larger than 35K bytes.

--
Charles Steinkuehler
[EMAIL PROTECTED]


------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to