The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Splitting input files into multiple files through AWK command arund_01 Shell Programming and Scripting 3 05-13-2008 10:17 AM
Find duplicates from multuple files with 2 diff types of files ricky007 Shell Programming and Scripting 2 03-04-2008 01:46 PM
unzip particular gzip files among the normal data files thepurple Shell Programming and Scripting 4 11-30-2007 11:17 AM
when I try to run rm on multiple files I have problem to delete files with space umen UNIX for Dummies Questions & Answers 1 09-20-2005 04:20 AM
text files, ASCII files, binary files and ftp transfers Perderabo Answers to Frequently Asked Questions 0 04-08-2004 05:25 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-04-2008
kkhan kkhan is offline
Registered User
  
 

Join Date: Feb 2007
Posts: 3
.trc files

can we delete .trc files and old error log files from /var/adm/ras directory in order to free up /var. Also what to delete from /var/tmp ?
  #2 (permalink)  
Old 01-07-2008
Shrek's Avatar
Shrek Shrek is offline
Registered User
  
 

Join Date: Dec 2007
Location: India
Posts: 15
Smile

Quote:
Originally Posted by kkhan View Post
can we delete .trc files and old error log files from /var/adm/ras directory in order to free up /var. Also what to delete from /var/tmp ?
Hey,

You can develop a small script and schedule it under cron for removing the errlogs which are too older.
You can use

Code:
Quote:
errclear

# To delete all entries in the error log classified as software errors, enter:
errclear -d S 0

# To clear all entries from the alternate error-log file /var/adm/ras/errlog.alternate, enter:

errclear -i /var/adm/ras/errlog.alternate 0

# To clear all hardware entries from the alternate error-log file /var/adm/ras/errlog.alternate, enter:

errclear -i /var/adm/ras/errlog.alternate -d H 0
Or run a simple script for .trc using rm and schedule it under cron if needed.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:43 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0