|
From strace on ps and top, I found that these commads are finding the all process related details from /proc directory, which contain one director for each of the running process with process id as the directoy name. Inside each of this directory we can get all the details like process name, memory used, status etc...
|