SUMMARY: Housekeeping Logfiles

From: Santosh Rangdal <>
Date: Sat Feb 09 2002 - 09:14:14 EST
Thanks a lot...!!I've got lots of replies.Specialy thanks to Christopher and 
offcourse all who are help me.

Ans is du -sk * | sort -rn

Thanks Again...:-:


>From: "Santosh Rangdal" <>
>To: "Sun Solaris" <>
>Subject: Housekeeping Logfiles
>Date: Fri, 8 Feb 2002 21:04:40 +0530
>Dear Managers,
>I'm new to UNIX........
>                     It is has been observed that /var file system will 
>become full as system generate log file on same.
>The files utmp,utmpx,wtmp and wtmpx will always get updated as well as its
>file size. What is the use of these files? and is it possible to compress 
>files and then touch or redirect (>) the file by same name??
>Can anybody tell me how to sort the file in ascending order and look for
>greater file sizes. And which are the common log files under /var file 
>for compress or delete??
>I really appreciate if some one have good commands, automated scripts or
>commands using SED and AWK tool for checking highest file system size in
>acceding/descending order (pl. tell me using full command line options).
>Commit to summarize,
>Thanks & Regards,
>_SantoshGet more from the Web.  FREE MSN Explorer download :
>sunmanagers mailing list

Join the worlds largest e-mail service with MSN Hotmail.
sunmanagers mailing list
Received on Sat Feb 9 08:15:16 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:33 EST