OS validation

Validate in order to work only in linux OS and added two methods to get the top ten processes by cpu and mem, please tell me if you are agree