Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
fanweixiao
V2EX  ›  Linux

不用screen能否attach到background process上?比如用nohup,disown这类东东弄到到后台的

  •  
  •   fanweixiao ·
    fanweixiao · Aug 27, 2012 · 4208 views
    This topic created in 5006 days ago, the information mentioned may be changed or developed.
    google没找到答案,来这里问下。我用nohup或者disown让process在background,断了ssh,再连接,这时候jobs里肯定看不到了。比如我在运行的是一个像tail -f这样的程序的话,我希望可以在stdout上看到显示内容时,除了screen这样的东东,有没有什么简单的东西能让我直接再attach到这个process上?
    2 replies    1970-01-01 08:00:00 +08:00
    Livid
        1
    Livid  
    MOD
    PRO
       Aug 27, 2012   ❤️ 2
    wangkangluo1
        2
    wangkangluo1  
       Aug 28, 2012   ❤️ 1
    tmux
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5592 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 07:04 · PVG 15:04 · LAX 00:04 · JFK 03:04
    ♥ Do have faith in what you're doing.