Unix philosophy

JPAYNE at BBNG.ARPA JPAYNE at BBNG.ARPA
Thu Sep 29 00:23:00 AEST 1983


At LSRHS, each game has a number (it's weight), where high numbers are
for games that tend to use a lot of system time, and low numbers for
games that don't take much time.  To play a game you type "play game".
The games are in a protected directory that only the "play" program
can access.  Play checks to see if the weight of your requested game
PLUS the weight of all the other games being played, is greater than a
certain limit.  If it is it says, "Too much weight on the system,"
otherwise it plays the game.

During school hours, when students (not hackers) are trying to use the
computer, the allowed weight is VERY low (maybe one game at a time),
but after school the weight is increased to about 4-5 games at a time
(depending on the type).  We have a lot of VIDEO games that NEVER stop
running, and they are murder on the system!  Oh yeah,  the play program
AND the games run at a nice of 39, so typing ^L in the editor tends to
stop all games.

It works well...



More information about the Comp.unix.wizards mailing list