home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / alt / comp / acadfre / talk / 2446 < prev    next >
Encoding:
Text File  |  1992-07-30  |  1.8 KB  |  41 lines

  1. Newsgroups: alt.comp.acad-freedom.talk
  2. Path: sparky!uunet!caen!destroyer!news.iastate.edu!john
  3. From: john@iastate.edu (John Hascall)
  4. Subject: Re: User services 
  5. Message-ID: <1992Jul30.201428.8331@news.iastate.edu>
  6. Sender: news@news.iastate.edu (USENET News System)
  7. Organization: Iowa State University, Ames, IA
  8. References: <BETSYS.92Jul29173318@ra.cs.umb.edu> <1992Jul30.022822.5866@eff.org> <1992Jul30.94721.2490@ms.uky.edu>
  9. Date: Thu, 30 Jul 1992 20:14:28 GMT
  10. Lines: 29
  11.  
  12. morgan@ms.uky.edu (Wes Morgan) writes:
  13. }The paragraph marked with "*" has been proposed as a compromise.  If
  14. }it's 11:30 pm and there are only 5 people logged in, I don't think I'll
  15. }have a problem with MUD/IRC/whatever usage.  During working hours, which
  16. }I'll probably set as 0800-2200, I have to preserve the system for the
  17. }(rather heavy) academic users.
  18. }
  19. }I'm writing the code to implement these restrictions; the algorithm looks
  20. }something like this:
  21. }
  22. }    if(time > 2200 and time < 0700)  /* limit subject to tuning */
  23. }        AND if(users logged in < 30)  /* subject to tuning */
  24. }            AND if(recreational users < 15) /* subject to tuning */
  25. }                allow access to game/MUD/IRC/whatever
  26. }
  27. }Comments?
  28.  
  29.     Another common methodology is to use the load average (easier to
  30.     determine than `recreation_users').  It has the advantage of being
  31.     more automatic -- for example, if your finals week load lasts until
  32.     4 am, or if it's between semesters and hardly anybody is using the
  33.     system at 6 pm.
  34.  
  35. John
  36. -- 
  37. John Hascall                                       ``Live with it pink-boy!''
  38. Project Vincent                                                              
  39. Iowa State University Computation Center                     john@iastate.edu
  40. Ames, IA  50011                                      515/294-9551 [fax -1717]
  41.