home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / misc / 4123 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  2.2 KB

  1. Xref: sparky comp.unix.misc:4123 comp.unix.questions:13287 comp.sys.sgi:16340 comp.graphics:11803
  2. Newsgroups: comp.unix.misc,comp.unix.questions,comp.sys.sgi,comp.graphics
  3. Path: sparky!uunet!gumby!destroyer!caen!U.Chem.LSA.UMich.EDU!hillig
  4. From: hillig@U.Chem.LSA.UMich.EDU (Kurt Hillig)
  5. Subject: Re: Interactive vs Background users
  6. Message-ID: <9XC=Q2A@engin.umich.edu>
  7. Date: Thu, 12 Nov 92 13:35:05 EST
  8. Organization: Department of Chemistry, University of Michigan, Ann Arbor
  9. References: <1dsh2fINNeok@manuel.anu.edu.au> <_WC=5r=@engin.umich.edu>
  10. Nntp-Posting-Host: u.chem.lsa.umich.edu
  11. Lines: 47
  12.  
  13. In article <_WC=5r=@engin.umich.edu> hillig@U.Chem.LSA.UMich.EDU (Kurt Hillig) writes:
  14. >In article <1dsh2fINNeok@manuel.anu.edu.au> aps583@huxley.anu.edu.au (Anthony P Scott) writes:
  15. >>
  16. >>  [deleted]
  17. >>                                                     WE wish to
  18. >>What we would really like is something that detects an interactive user
  19. >>and places the background process in sleep, frees up memory and will
  20. >>then allow better interactive terminal response. 
  21. >>
  22. >>  [deleted]
  23. >>
  24. >>aps501@vp.anu.edu.au.oz
  25. >>aps583@huxley.anu.edu.au.oz
  26. >>
  27. >>Dr. Tony Scott.
  28. >>
  29. >
  30. >Sounds to me like you need babysit - developed by the College
  31. >of Engineering at the University of Michigan - which does just
  32. >what you want.  You'll have to ask them about licensing, as it's
  33. >copyrighted.  (I'm on campus, so they let me use it - I don't
  34. >know their policy for external users.)
  35. >
  36. >Contact disser@engin.umich.edu or licenses@caen.engin.umich.edu
  37. >for more information.
  38. >
  39.  
  40. A followup to my followup:  from the babysit docs:
  41.  
  42. Babysit is a wrapper for background jobs that suspends the specified job
  43. when a console user logs in, then restarts it after the user logs out.
  44.   :
  45.   :
  46. To run 'myprog' with redirected input and output, and command line argu-
  47. ments, use the following line:
  48.  
  49.    % babysit myprog arg1 arg2 < mydata > myoutput &
  50.   :
  51.   :
  52.  
  53. So it's not quite what you're asking for, but it still can do the job.
  54.  
  55. -- 
  56.       Kurt Hillig
  57.    Dept. of Chemistry      I always tell the     khillig@umich.edu
  58.  University of Michigan     absolute truth    Telephone (313)747-2867
  59. Ann Arbor, MI  48109-1055    as I see it.    hillig@chem.lsa.umich.edu
  60.