系统使用时间长后会产生临时文件(/tmp下),需要清理.但清理的时候不推荐使用rm -rf.这样有时会引起程序的僵死. tmpwatch的说明: [root@AY121231034820cd91077 ~]# tmpwatch tmpwatch - (C) - Red Hat, Inc. All rights reserved. This program may be freely redistributed under the terms of the GNU General Public L…
在Linux系统中/tmp文件夹下的文件是会被清理.删除的,文件清理的规则是如何设定的呢? 以Redhat为例,这个主要是因为作业里面会调用tmpwatch命令删除那些一段时间没有访问的文件. 那么什么是tmpwatch呢?其实tmpwatch是一个命令或者说是一个包.如下所示 tmpwatch - removes files which haven't been accessed for a period of time [root@DB-Server ~]# rpm -qa | grep t…
Unable to open socket file: target process not responding or HotSpot VM not loaded The -F option can be used when the target process is not responding 在用jstack工具查看jvm线程的运行情况时出现上述错误.就是因为该进程长时间没有启停,在/tmp/hsperfdata_'username'/文件夹下的该进程文件被Linux自身的机制(tm…