3 可以查看已经打开的screen窗口
[root@irac01 dev]# screen -ls
There are screens on:
23653.pts-2.irac01 (Attached)
23617.ycr (Attached)
23181.ycr (Attached)
3 Sockets in /var/run/screen/S-root.
此处查看到打开了三个窗口
4 暂停回话
那么在screen窗口键入Ctrl+a d
[root@irac01 dev]#
[detached]
此时查看状态
[root@irac01 dev]# screen -ls
There is a screen on:
23181.ycr (Detached)
1 Socket in /var/run/screen/S-root.
此时可以在别的窗口恢复此回话
[root@irac01 ~]# screen -ls
There is a screen on:
23181.ycr (Detached)
1 Socket in /var/run/screen/S-root.