SCREEN安裝使用說明
安裝
Root#yum –y
install screen
使用
script /dev/null
screen
檢視screen:screen –ls
screen –ls只能看到自己使用者下的pts,如root只能看到root使用者的,看不到oracle使用者的
進入某個screen:screen –r screen_pid
某個screen_pid裡面的命令執行完了之後如何退出某個screen_pid
Screen –r screen_pid後直接exit就可以了(crtl+a+d是保留這個screen_pid)
下例顯示當前有兩個處於detached狀態的screen會話,你可以使用screen -r <screen_pid>重新連線上:
[root@tivf18 root]# screen –ls
There are screens on:
8736.pts-1.tivf18 (Detached)
8462.pts-0.tivf18 (Detached)
[root@tivf18 root]# screen –r 8736
如果由於某種原因其中一個會話死掉了(例如人為殺掉該會話),這時screen -ls會顯示該會話為dead狀態。使用screen -wipe命令清除該會話:
[root@tivf18 root]# kill -9 8462
[root@tivf18 root]# screen -ls
There are screens on:
8736.pts-1.tivf18 (Detached)
8462.pts-0.tivf18 (Dead ???)
[root@tivf18 root]# screen -wipe
There are screens on:
8736.pts-1.tivf18 (Detached)
8462.pts-0.tivf18 (Removed)
[root@tivf18 root]# screen -ls
There is a screen on:
8736.pts-1.tivf18 (Detached)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30126024/viewspace-2136232/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SQLT安裝使用說明SQL
- Kibana安裝及使用說明
- tesseract安裝說明
- aix下nmon安裝與使用說明AI
- ELK 之 Kibana 安裝及使用說明
- RAC解除安裝說明
- sakai安裝說明AI
- Resin 3.0 安裝說明
- pureftpd安裝配置簡明說明 (轉)FTP
- WordPress安裝簡要說明
- Nagios 安裝 部署 說明iOS
- Oracle靜默安裝說明Oracle
- VNC安裝配置詳細說明VNC
- Camtasia Studio 9 安裝說明
- GI安裝選項的說明
- opencv3.2 安裝說明書OpenCV
- IDEA Maven Helper 外掛的安裝與使用說明IdeaMaven
- npm說明和node.js安裝NPMNode.js
- Linux & Oracle 安裝目錄說明LinuxOracle
- db2(linux)安裝說明DB2Linux
- 10.2.0.3 crs bundle# 安裝說明
- ORACLE 7.3.4 for SCO Unix 安裝說明(轉)Oracle
- 360企業版終端安裝說明
- Oracle Transparent Gateway for SQL Server安裝配置說明OracleGatewaySQLServer
- GeoIP Legacy City資料庫安裝說明資料庫
- statspack 安裝以及相關引數說明
- windows7 可以安裝oracle 版本說明WindowsOracle
- MySQL 5.7.9原始碼編譯安裝說明MySql原始碼編譯
- Quidview網管系統安裝說明UIView
- oracle安裝記憶體引數說明Oracle記憶體
- 關於BUGZILLA的說明和安裝
- 在AIX中安裝gnu screenAI
- Gungho專案管理軟體手工安裝說明專案管理
- Oracle安裝光碟內容的檔案說明Oracle
- JDK安裝目錄中的檔案說明JDK
- Ubuntu16.04安裝QQ(圖文說明)Ubuntu
- eclipse中ext的外掛安裝說明Eclipse
- ORACLE安裝引數sysctl.conf說明Oracle