Jump to content

Any ideas what this is?


Steve Scrimpshire
 Share

Recommended Posts

[omar@desktop omar]$ screen -r

There are several suitable screens on:

9607.pts-2.desktop (Dead ???)

file5Zve7r (Dead ???)

5833.pts-0.desktop (Detached)

5986.pts-0.desktop (Detached)

Remove dead screens with 'screen -wipe'.

Type "screen [-d] -r [pid.]tty.host" to resume one of them.

[omar@desktop omar]$ screen -wipe

There are screens on:

9607.pts-2.desktop (Removed)

file5Zve7r (Removed)

5833.pts-0.desktop (Detached)

5986.pts-0.desktop (Detached)

2 sockets wiped out.

2 Sockets in /home/omar/tmp.

 

I'm sure it's nothing, but it intrigues me.

FWIW, I ran chkrootkit and rkhunter and both found nothing.

Link to comment
Share on other sites

those are screens that have been detached and whose programs running in them has terminated, or the screen itself has been terminated by a signal. i get them all the time when i was running jboss/weblogic inside of them to prevent being killed by the HUP signal.

 

what happens is that screen creates sockets in the temp directory (usually with the pid id of the screen plus some additional descriptors). if screen fails to do the clean-up (such as when not terminated normally) then the sockets will be left in place. the next time you issue a resume in screen, it will see these leftover sockets but could not communicate with the screen that was previously using them.

 

either wipe or rm will do the trick. i prefer wipe so that screen cleans-up after itself. :)

 

ciao!

 

[edit] nah, i took a second look and missed out the bold lines. that will be nothing if you specified a name for the screens when you created them. otherwise, its better if you head off to the screen user list. :(

 

ciao!

Edited by ramfree17
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...