VMware Cloud Community
DiegoRuggi
Contributor
Contributor
Jump to solution

Delete logs Vsphere-Client

Good morning, I'm new to the community. How are you.

I have the following concern and I hope you help me.

I have the / storage / log / vmware / vsphere-client full.

And I wanted to know that if doing a rm vsphere-client-gc. * And rm wrapper.log. * It would be fixed and it would not break anything Smiley Happy

In many cases they make me enlarge the disk size of the storage, but for me it is not a solution.


Thank you very much!!

Captura1.PNG

Captura2.PNG

Captura4.PNG

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
daphnissov
Immortal
Immortal
Jump to solution

You can delete all those *.hprof files as they represent Java dumps from crashes. That'll take care of the bulk of your used space.

View solution in original post

6 Replies
daphnissov
Immortal
Immortal
Jump to solution

You can delete all those *.hprof files as they represent Java dumps from crashes. That'll take care of the bulk of your used space.

DiegoRuggi
Contributor
Contributor
Jump to solution

Thank you very much for the quick answer.
I am new to linux and how do I delete only the files that have the ..hprof extension in the destination folder.

0 Kudos
daphnissov
Immortal
Immortal
Jump to solution

From inside the vsphere-client directory:

rm -rf *.hprof

0 Kudos
DiegoRuggi
Contributor
Contributor
Jump to solution

Thank you very much, it worked perfectly.

query, would you have to restore some service after deletion?

Regards

0 Kudos
daphnissov
Immortal
Immortal
Jump to solution

Usually not, but that depends on if these files caused other services to halt. If you're able, you may just want to do a reboot of the appliance to jog everything back in motion. If not, you can start individual services if they're stopped using the service-control tool.

0 Kudos
DiegoRuggi
Contributor
Contributor
Jump to solution

Thank you very much !!
Case closed hahaha.
Greetings and good week

0 Kudos