Search Results

Search: Posts Made By: subbarao12
1,265
Posted By Aia
lsof -p $PID Under the column FD look for: ...
lsof -p $PID
Under the column FD look for:
cwd: location where the script was started
txt: location where the executable lives
1,265
Posted By SriniShoo
if you want the execution location from PID ...
if you want the execution location from PID
readlink -f /proc/$PID/exe

If you want the script running under PID
ps -f $PID | awk 'NR > 1{for(i = 1; i <= 8; i++) $i=""; $0 = $0; $1 = $1; print}'
1,663
Posted By Corona688
I will highlight it for you...
I will highlight it for you...
1,663
Posted By Don Cragun
This is no longer a UNIX for Dummies Q&A type...
This is no longer a UNIX for Dummies Q&A type question. The way to do this varies considerably from system to system.

Please post details about what operating system you're using and someone may...
1,663
Posted By Don Cragun
Unless you are auditing a file's access when it...
Unless you are auditing a file's access when it is accessed, there isn't much chance of finding out what accessed it days later.
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 01:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy