nefelim4ag / Ananicy

Ananicy - is Another auto nice daemon, with community rules support (Use pull request please)
GNU General Public License v3.0
568 stars 78 forks source link

Documentation problem: just what is a full scan? #277

Open LinuxOnTheDesktop opened 3 years ago

LinuxOnTheDesktop commented 3 years ago

Thank you for your nice nicer (so to speak!).

Unless I miss something - and admittedly reading the code would tell me this - the meaning of the conf file's 'run full system scan' is not explained. That phrase seems to imply that Ananicy will do something - if necessary - even between such 'full scans'. But what?

I was prompted to investigate this matter by an old laptop of mine using 2% of its CPU every Ananicy scan. So I asked myself: why not make the scan less frequent? And answer there was none.

aviallon commented 3 years ago

A full scan is basically Ananicy processing every running process, comparing its command to the rules currently loaded, and performing the appropriate actions on it. This is quite costly in CPU time if there is a lot if processes running.

LinuxOnTheDesktop commented 3 years ago

Right. I think it would be helpful were the ananicy.conf file and/or the README to make that point.