🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.x.apps
1 messages
1 total messages Started by John R Ruckstuhl Jr Mon, 25 Jan 1993 21:45
xmeter leaves orphans
#720
Author: John R Ruckstuhl Jr
Date: Mon, 25 Jan 1993 21:45
28 lines
1574 bytes
When I fire up an "xmeter" with multiple meters, on a remote host via
"xrsh", like (chopped from my menu):

S=cpu; \
exec xrsh gamma xmeter -cols 2 -sn -scpu 102 -update 10 -w 100 \
    -$S alpha -$S beta -$S gamma -$S delta -$S epsilon -$S zeta -$S eta \
    -$S theta -$S iota -$S kappa -$S lambda -$S mu -$S omicron -$S pi

then when I kill the xmeter window, the children xmeter processes for
the individual metered hosts live on.
This eventually becomes a problem, as gamma gets too many processes.

Has anyone else noticed this (and found a fix or workaround), or
am I doing something wrong?

It looks like I'm going to have to figure out a clever way to go to
gamma and kill processes whose PPID doesn't refer to a current process.
Hmmm.  It looks like after the original xmeter is killed, the PPID
becomes 1, i.e. the "init" process.

What's the best way to handle this?

Thanks for your comments,
ruck
-- 
John R. Ruckstuhl, Jr.                  ruck@alpha.ee.ufl.edu
Dept of Electrical Engineering          ruck@cis.ufl.edu, uflorida!ruck
University of Florida                   ruck%sphere@cis.ufl.edu, sphere!ruck
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads