Tests whether ps command in linux is working properly