เข้า screen ไปสั่งรัน rtorrent
คำสั่งเบื้องต้น
screen –S xx1 สั่ง screen เปิด session ชื่อคำว่า xx1 ต่อท้าย
screen ctrl a d ออกจาก screenและ detached ไว้
screen –ls list ดู session
screen –r xx1.yyy resume session
screen –D xxx สั่งให้ session attached เป็น detached
เริ่ม
:~$ screen -ls
No Sockets found in /var/run/screen/S-web13_b.
เช็คว่า มี screen ที่ทำทิ้งไว้หรือเปล่า
หรือ :~$netstat -anp | grep 51005
51005 เป็นพอร์ตที่เซตไว้ เพื่อเช็คว่า ได้รันโปรแกรมทิ้งไว้หรือเปล่า
:~$screen –S 123
จะเปิดหน้าต่างหน้าว่าง (ขณะนี้อยู่บน screen 123 แล้ว)
web13_b@X:~$rtorrent
สั่งเปิดโปรแกรม rtorrent
กด ctrl a d เพื่อค้างหน้าทำงานหน้านี้ และออกไปหน้าแรก
เช็คพื้นที่
1:~$quota กด enter
Filesystem blocks quota limit grace files quota limit grace
/dev/sda1 18970360 35840000 35841024 103 0 0
blocks size ปัจจุบัน
quota ที่จำกัดไว้
grace คือไรไม่รู้ ..
2:~$ du –hs กด enter
19G .