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?