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@hotmail.com> >To: "Sun Solaris" <sunmanagers@sunmanagers.org> >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 >_______________________________________________ >sunmanagers mailing list >sunmanagers@sunmanagers.org >http://www.sunmanagers.org/mailman/listinfo/sunmanagers _________________________________________________________________ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived 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