matt@oddjob.UUCP (Matt Crawford) (05/07/85)
Berkeley seems to be pessimistic about how long a machine can go without crashing. A Sun file client hardly ever goes down unless you give it a hefty static spark. ruptime before change: anubis down 22:38 gargoyle up 18:46, 4 users, load 1.63, 1.86, 2.02 guts up ??:??, 0 users, load 2.30, 2.22, 2.02 kaos up 3+18:45, 2 users, load 1.83, 1.39, 1.07 oddjob up 31+22:53, 5 users, load 4.67, 4.20, 3.33 rigel up 11:00, 0 users, load 0.12, 0.02, 0.01 sphinx up 5+18:15, 7 users, load 0.56, 0.56, 0.81 strider up 29+12:36, 1 user, load 0.12, 0.16, 0.00 ruptime after change: anubis down 22:47 gargoyle up 18:53, 2 users, load 1.55, 1.61, 1.83 guts up 91+12:37, 0 users, load 2.21, 2.19, 2.00 kaos up 3+18:54, 1 user, load 1.47, 1.32, 1.02 oddjob up 31+23:01, 5 users, load 6.42, 6.28, 4.76 rigel up 11:09, 0 users, load 0.11, 0.10, 0.00 sphinx up 5+18:26, 7 users, load 0.17, 0.35, 0.59 strider up 29+12:44, 1 user, load 0.20, 0.18, 0.00 the change: *************** *** 140,146 static char resbuf[32]; int days, hours, minutes; ! if (time < 0 || time > 3*30*24*60*60) { (void) sprintf(resbuf, " %s ??:??", updown); return (resbuf); } --- 140,146 ----- static char resbuf[32]; int days, hours, minutes; ! if (time < 0 || time > 365*24*60*60) { (void) sprintf(resbuf, " %s ??:??", updown); return (resbuf); } _____________________________________________________ Matt University crawford@anl-mcs.arpa Crawford of Chicago ihnp4!oddjob!matt