SUMMARY: Housekeeping Logfiles

2007-12-24 21:51:00

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...:-:

_Santosh

>From: "Santosh Rangdal" <rangdalss at hotmail.com>
>To: "Sun Solaris" <codeprof at codeprof.com>
>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
>always
>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
>the
>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
>system
>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 :
>http://explorer.msn.com
>_______________________________________________
>codeprof mailing list
>codeprof at codeprof.com
>http://www.codeprof.com/execute/ask/?codeinfoid=10677

_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com

Comments

Got something to say?

You must be logged in to post a comment.