I have a CentOS server where I'm running the
top command, I can see that the process
top utilize 100% CPU.
top command will read
/var/run/utmp file to get active user number. if the file is too large to read. top spends more time to read it that may occupy 100% CPU usage. reduce utmp size, the top command won't occupy much CPU usage