I started a job on my box at work.
I am ssh'd into it now, and I can see the PID.
Write now the job is just writing output to stdout.
I want to see what is being written from here.
How can I stream the output by selecting its pid?
I started a job on my box at work.
I am ssh'd into it now, and I can see the PID.
Write now the job is just writing output to stdout.
I want to see what is being written from here.
How can I stream the output by selecting its pid?
Not sure if this will help but if you redirect the output to a file you can then watch the file grow with tail -f <filename>. For example if you ran the following:
# myscript > myoutput.txt
You could watch the output as it arrived using:
# tail -f myoutput.txt
-f follows the file as it grows.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.