home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / apps / 1876 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.6 KB

  1. Xref: sparky comp.windows.x.apps:1876 comp.windows.x:21546
  2. Newsgroups: comp.windows.x.apps,comp.windows.x
  3. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!eng.ufl.edu!alpha.ee.ufl.edu!ruck
  4. From: ruck@alpha.ee.ufl.edu (John R Ruckstuhl Jr)
  5. Subject: xmeter leaves orphans
  6. Message-ID: <1993Jan25.214530.431@eng.ufl.edu>
  7. Sender: news@eng.ufl.edu (Usenet Diskhog System)
  8. Organization: EE Dept at UF
  9. Date: Mon, 25 Jan 93 21:45:30 GMT
  10. Lines: 28
  11.  
  12. When I fire up an "xmeter" with multiple meters, on a remote host via
  13. "xrsh", like (chopped from my menu):
  14.  
  15. S=cpu; \
  16. exec xrsh gamma xmeter -cols 2 -sn -scpu 102 -update 10 -w 100 \
  17.     -$S alpha -$S beta -$S gamma -$S delta -$S epsilon -$S zeta -$S eta \
  18.     -$S theta -$S iota -$S kappa -$S lambda -$S mu -$S omicron -$S pi
  19.  
  20. then when I kill the xmeter window, the children xmeter processes for
  21. the individual metered hosts live on.
  22. This eventually becomes a problem, as gamma gets too many processes.
  23.  
  24. Has anyone else noticed this (and found a fix or workaround), or
  25. am I doing something wrong?
  26.  
  27. It looks like I'm going to have to figure out a clever way to go to
  28. gamma and kill processes whose PPID doesn't refer to a current process.
  29. Hmmm.  It looks like after the original xmeter is killed, the PPID
  30. becomes 1, i.e. the "init" process.
  31.  
  32. What's the best way to handle this?
  33.  
  34. Thanks for your comments,
  35. ruck
  36. -- 
  37. John R. Ruckstuhl, Jr.                  ruck@alpha.ee.ufl.edu
  38. Dept of Electrical Engineering          ruck@cis.ufl.edu, uflorida!ruck
  39. University of Florida                   ruck%sphere@cis.ufl.edu, sphere!ruck
  40.