system process
I know the path /proc have the user process in it , I use ll /proc and grep my login id , there are some process is display , but I found that some of these process is not real process , if I su other user then grep my_id again , it only display process id - 18257 , 18258 , these two process are really the process that I used in the system , can advise what make the difference ? how can I use my login id to grep my process without other unrelated process shown ?
Thx in advance.
$ ll /proc |grep my_id
dr-xr-xr-x 3 my_id edp 0 Jan 17 15:49 14518
dr-xr-xr-x 3 my_id edp 0 Jan 17 15:49 16816
dr-xr-xr-x 3 my_id edp 0 Jan 17 15:49 18255
dr-xr-xr-x 3 my_id edp 0 Jan 17 15:49 18256
dr-xr-xr-x 3 my_id edp 0 Jan 17 15:49 18257
dr-xr-xr-x 3 my_id edp 0 Jan 17 15:49 18258
su - ora_id
$ ll /proc |grep my_id
dr-xr-xr-x 3 my_id edp 0 Jan 17 15:49 18257
dr-xr-xr-x 3 my_id edp 0 Jan 17 15:49 18258
|