How to list running screen sessions?

后端 未结 9 1333
执笔经年
执笔经年 2020-12-12 10:10

I have a bunch of servers, on which I run experiments using screen. The procedure is the following :

  1. ssh to server XXX
  2. launc
9条回答
  •  天涯浪人
    2020-12-12 10:49

    So you're using screen to keep the experiments running in the background, or what? If so, why not just start it in the background?

    ./experiment &
    

    And if you're asking how to get notification the job i done, how about stringing the experiment together with a mail command?

    ./experiment && echo "the deed is done" | mail youruser@yourlocalworkstation -s "job on server $HOSTNAME is done"
    

提交回复
热议问题