How can I capture the stdout from a process that is ALREADY running

后端 未结 5 901
深忆病人
深忆病人 2021-01-30 22:21

I have a running cron job that will be going for a while and I\'d like to view its stdout. I don\'t know how important the fact that the process was started by cron is, but I f

5条回答
  •  囚心锁ツ
    2021-01-30 22:42

    neercs has the ability to "grab" programs that were started outside it. Perhaps it will work for you. BTW, you don't have truss or strace, but you do have dtrace.

提交回复
热议问题