Code: Alles auswählen
user$ tail -f /usr/bin/pstree >/dev/null &
Code: Alles auswählen
root# for f in /proc/$PID/fd/*; do readlink -f "$f"; done
Gruss Cae
Code: Alles auswählen
user$ tail -f /usr/bin/pstree >/dev/null &
Code: Alles auswählen
root# for f in /proc/$PID/fd/*; do readlink -f "$f"; done
If universal surveillance were the answer, lots of us would have moved to the former East Germany. If surveillance cameras were the answer, camera-happy London, with something like 500,000 of them at a cost of $700 million, would be the safest city on the planet.
—Bruce Schneier
Cae hat geschrieben:Mach' mal zwei Sessions auf...
Code: Alles auswählen
user$ tail -f /usr/bin/pstree >/dev/null &
[1] 24345
Code: Alles auswählen
root# for f in /proc/24345/fd/*; do readlink -f "$f"; done
/dev/pts/0
/dev/null
/dev/pts/0
/usr/bin/pstree
/proc/24345/fd/anon_inode:inotify
Code: Alles auswählen
root# strace -fo userA su -c /usr/bin/pstree userA
If universal surveillance were the answer, lots of us would have moved to the former East Germany. If surveillance cameras were the answer, camera-happy London, with something like 500,000 of them at a cost of $700 million, would be the safest city on the planet.
—Bruce Schneier