I discovered via SSH with top
that the idle Terminal app kgx
, i.e. there is no process launched, is always nearly on top of the CPU consumers. I watched with strace
why. It is with high frequency cycling though all the processes in /proc
to sear something there:
ppoll([{fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, events=POLLIN}, {fd=13, events=POLLIN|POLLPRI}], 4, {tv_sec=1, tv_nsec=331000000}, NULL, 0 ...
....
openat(AT_FDCWD, "/proc/1678/stat", O_RDONLY) = 14
read(14, "1678 (packagekitd) S 1 1678 1678"..., 8191) = 190
read(14, "", 8001) = 0
close(14) = 0
openat(AT_FDCWD, "/proc/1749/status", O_RDONLY) = 14
read(14, "Name:\tgvfsd-metadata\nUmask:\t0022"..., 8191) = 1138
read(14, "", 7053) = 0
close(14) = 0
openat(AT_FDCWD, "/proc/1749/stat", O_RDONLY) = 14
read(14, "1749 (gvfsd-metadata) S 719 1749"..., 8191) = 319
read(14, "", 7872) = 0
close(14) = 0
openat(AT_FDCWD, "/proc/1822/status", O_RDONLY) = 14
read(14, "Name:\tinetd\nUmask:\t0022\nState:\tS"..., 8191) = 1078
read(14, "", 7113) = 0
close(14) = 0
What it is doing there?