[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: screen windows in KDE Konsole Tabs
From: |
Buddy Burden |
Subject: |
Re: screen windows in KDE Konsole Tabs |
Date: |
Wed, 15 Jun 2005 13:50:12 -0400 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050413) |
Sascha,
> 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.
Nope, not very efficient, I wouldn't say. How about this?
ps -eo ppid= | grep PID | wc -l
Don't forget that the PID in question is that of the SCREEN process and not
the screen process.
-- Buddy