Create Implementation of PS command in Linux using C