hi pixellany:
sir its something like home work only:
using c and data structures we have to implement:
using ps command we can list a processes ,among those processes we have to give a 1 pid and sholud print its task...!!
hint:we have some structures like task_struct and task_pid something like this....and these can be found in kernel source code i.e in /kernel/pid.c you can browse
i think you got an idea now......!!!
Last edited by vikas reddy; 07-25-2012 at 01:41 AM.
|