2
1
I have been working in different screen sessions in past projects, so I have a few screen sessions accumulated. Now I have been asked to remove excess/unnecessary screen sessions from the Unix box. None of them are dead sessions - the status is detached, not dead. The OS is Solaris.
One of the methods that came to my mind is to delete the folder where screens are kept in the /tmp/mylogin/screen-r/...
folder, but am not sure if that would leave any extra processes or something passive on the server.
How can I remove them without leaving anything behind?
Also, do these detached screens occupy quite a bit of resources, enough to alert the sysadmin? That is, are there actually any issues created by having a few unused/detached screen sessions around?
1Have you considered attaching them, and exiting...? or are you asking for a fast way to kill them all? – demure – 2013-06-03T23:58:35.843
2
sounds like this is the same question http://stackoverflow.com/questions/1509677/kill-detached-screen-session
– Hans Meiser – 2013-06-04T00:01:19.973@demure i dont use them now , i made a new one for each project and now have quite a few .......... just thinking of ways to get rid of them or at least reduce them!! – nitin – 2013-06-04T01:09:22.350
@HansMeiser ....... thanks , i did search for it , but didnt find anything here. I didnt look in SO. Any way to close this question or should i just delete this ? – nitin – 2013-06-04T01:12:03.953
@HansMeiser to be fair, that one should probably have been migrated to SU... – Kruug – 2013-06-04T17:54:58.427