Help on ps


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Help on ps
# 8  
Old 08-17-2006
Quote:
Originally Posted by Aceform
Hello,

Got the command. Just in case if anyone is interested

'pwdx pid', where pid is the process id of your process. This gives the directory of the executing process

pwdx <PID>

is not working in debian linux
# 9  
Old 08-17-2006
1) To find what are the files opened by a particular process

lsof | grep <PID>


2) To find what are the processes useing a particular file

fuser -mv <file_path>
 
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question