Got the max number of processes on the system from /proc/sys/kernel/pid_max and saved this in self.pid_max.
Added possibility to give the thresholds for bin/check_procs as a percentage of pid_max