In the case without shutting down the tomcat service, empty catalina.out log files, free up disk space, simple and efficient method is as follows:
// 1.查看文件大小
[root@su3d883ddd logs] du -shc *
// 2.进入到Tomcat的logs目录,执行"echo > catalina.out "即可
[root@su3d883ddd logs] echo > catalina.out
// 3.查看文件大小是否变化
[root@su3d883ddd logs] du -shc *
Reference from the Linux command df -h does not update the disk size information solutions