The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
UNIX for Dummies Questions & Answers
Help on ps
Tags
beginners
,
linux
Thread Tools
Search this Thread
Top Forums
UNIX for Dummies Questions & Answers
Help on ps
#
8
08-17-2006
kingskar
Registered User
21,
0
Join Date: Aug 2006
Last Activity: 1 September 2006, 8:03 AM EDT
Posts: 21
Thanks Given: 0
Thanked 0 Times in 0 Posts
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
kingskar
View Public Profile for kingskar
Find all posts by kingskar
#
9
08-17-2006
kingskar
Registered User
21,
0
Join Date: Aug 2006
Last Activity: 1 September 2006, 8:03 AM EDT
Posts: 21
Thanks Given: 0
Thanked 0 Times in 0 Posts
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>
kingskar
View Public Profile for kingskar
Find all posts by kingskar
Page 2 of 2
<
1
2
Login or Register to Ask a Question
Previous Thread
|
Next Thread
Login or Register to Ask a Question
Member Badges and Information Modal
×