Article Title: remove the annoying makewhatis in linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Today, we suddenly found that a redhat virtual machine occupies too much CPU resources, making the system very slow.
Check and find that this is the ghost of makewhatis. This thing has no effect on me. Just turn it off.
There are two places to remove, one is/etc/cron. daily/has a makewhatis. cron automatically runs the script, and the other is in:/etc/cron. weekly/below is makewhatis. cron
Delete the two files.
Note:
-Makewhatis. cron is used to create whatis database and serve whatis. Resource consumption, which can be removed.
In addition, the role of mlocate. cron updates the mlocate database, which is used for the locate service and consumes resources and can be stopped.