SUSE Conversations


Core File Deletor



By:

August 27, 2009 4:32 pm

Reads:617

Comments:0

Score:Unrated

Print/PDF

License:
Free

Download CoreDel88.zip

If you run eDirectory on Linux you may have experienced occasional problems which lead to the creation of core.xxx files in the dib directory. Clearly these are of use to Novell for troubleshooting but they can take up a large amount of space, some we have seen have been over 500MB.

I know it is possible to switch off the creation of core files as a load option for eDirectory, but if you want to allow the creation and tidy them either through a CRON or manual job, we have created some scripts that do the job.

There are two versions of the scripts, one for eDir 8.7 and one for 8.8.

The 8.8 script can cope with multiple instances of edir installed on the server by specifying the instance on the command line with the -i option, it defaults to instance 1 if none is specified.

The scripts are eDirectory install location agnostic because they work out the dib directory before deleting.

All actions, including no core files to delete, are recorded in a log file by default but this can be stopped with a command line option of -q (quiet).

There are of course many other ways to do this task but these are simple self configuring scripts that will suit most people.

Of course use at your own risk and test test test.

Thanks to my co-worker Jim Goodall for his help and guidance with these.

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Tags:
Categories: Free Tools, SUSE Linux Enterprise Server, Technical Solutions

Disclaimer: As with everything else at SUSE Conversations, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.

Comment

RSS