Article 594QX tail utility doesn't work as expected

tail utility doesn't work as expected

by
sluge
from LinuxQuestions.org on (#594QX)
Hello,

I start monitoring is process alive using tail utility by
tail -Fn0 --pid=11111 /opt/mylogfile.log

Process with PID 11111 was restarted and now this process has other PID 22222 but I still see that tail continue monitoring for process with PID 11111. Could it be a tail issue? Icheck /proc and failed to find /proc/11111. May be tail just hangs?latest?d=yIl2AUoC8zA latest?i=qxdBJSXH7Xw:fKQzOTKKOv8:F7zBnMy latest?i=qxdBJSXH7Xw:fKQzOTKKOv8:V_sGLiP latest?d=qj6IDK7rITs latest?i=qxdBJSXH7Xw:fKQzOTKKOv8:gIN9vFwqxdBJSXH7Xw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments