On Wednesday 15 June 2005 11:20, Juergen Weigert wrote:
> On Jun 15, 05 08:49:45 +0200, Sascha Brechenmacher wrote:
> > Hi,
> >
> > I'm searching for something like 'screen -r --list-windows' and then I
> > receive an output with all existing windows for this screen session.
>
> no, that does not exist.
>
> > Hope somebody can give me a hint or an other idea...
>
> You could perhaps enumerate all the process-ids that have the screen
> session as their parent pid.

thats a good idea, but is there an easy way to get the count of the child pids 
from the screen session?
I can do a "ps -ef|grep PID" and then subtract 2 (one for the grep and one for 
the parent PID). But that isn't a good solution in my opinion.

Sascha


_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to