Timeline for `/proc/$PID/cwd` : is there a POSIX equivalent?
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 8, 2014 at 17:25 | comment | added | mr.spuratic | You can save a little on lsof overhead with just lsof -d cwd -a -p $1 | |
| Jul 8, 2014 at 15:38 | comment | added | Hibou57 | By the way, this little variation too: lsof -p $PID | awk '/cwd/{print $9}'. | |
| Jul 8, 2014 at 14:31 | history | answered | enedil | CC BY-SA 3.0 |