I am planning to write an application that keeps tracks of all the applications and halts or suspends the process of an application if it is consuming more CPU time or consuming more threads than necessary.
Is it possible to halt or suspend another application's process that is running continuously in the background with our application?