Hi every body,I need clean /var/tmp on cpanel. I can't upgrade new version from CPANELI try use ssh with commandyum clean allBut not clean all /var/tmpThank you so much
rm -rf /var/tmp
I can't remove
Can't remove using rm -rf /var/tmp either. Any other method?
Yes, i using command rm -rf /var/tmp
Yes! rm -rf /var/tmp command is working just fine. Thanks for the solution
But i'm not working. I don't know why?
Use lsof (stands for list open files). As the name suggests this will report a list of all open files and the processes that opened them.
There are a bunch of options, but to see all open files under a directory:
lsof +D /path
Once you know which processes have files open, you can exit those apps, or kill them with the kill command.