Subscribe
Accepted Solution

How to delete files in /etc/crash in cDOT

Hi Gents,

 

I have a question in cDOT. 

 

 

A customer always uses pktt start x x x -d /etc/crash. So there are hundreds of files in the directory /etc/crash. That's a little messy. How can I delete some file to clean up this directory. 

Re: How to delete files in /etc/crash in cDOT

You need to be in diag mode, and enable the diag account.

 

set diag

sec log unlock diag

 

##Change the diag password if needed

sec log password diag

 

 

Get into the system shell:

systemshell -node <Node>

Log in with the diag account..

 

If you want to delete all the trc files run:

rm /mroot/etc/crash/*.trc

Re: How to delete files in /etc/crash in cDOT

From the clustershell you can also system coredump delete [-all -node * -type all] or use systemshell already listed in the first post.

Re: How to delete files in /etc/crash in cDOT

Cool, thanks for the advice!