当前位置:   article > 正文

linux 查看其它运行进程的输出方式_查看 另一个bash 输出

查看 另一个bash 输出

step1: get the pid of your process

ps -ef

 

step2: see process output

 sudo tail  /proc/<pid>/fd/1

1 = stdout, 2 = stderr

本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/449723
推荐阅读
相关标签
  

闽ICP备14008679号