VMware vSphere

 View Only
  • 1.  Delete logs Vsphere-Client

    Posted Jan 17, 2018 02:14 PM

    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 :smileyhappy:

    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!!



  • 2.  RE: Delete logs Vsphere-Client
    Best Answer

    Posted Jan 17, 2018 02:25 PM

    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.



  • 3.  RE: Delete logs Vsphere-Client

    Posted Jan 17, 2018 02:48 PM

    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.



  • 4.  RE: Delete logs Vsphere-Client

    Posted Jan 17, 2018 02:56 PM

    From inside the vsphere-client directory:

    rm -rf *.hprof



  • 5.  RE: Delete logs Vsphere-Client

    Posted Jan 17, 2018 03:02 PM

    Thank you very much, it worked perfectly.

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

    Regards



  • 6.  RE: Delete logs Vsphere-Client

    Posted Jan 17, 2018 03:07 PM

    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.



  • 7.  RE: Delete logs Vsphere-Client

    Posted Jan 17, 2018 03:10 PM

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