Autor Thema: Blinkende LED zeigt die Load an  (Gelesen 2636 mal)

pretec

  • Gast
Blinkende LED zeigt die Load an
« am: 16. November 2002, 22:41:46 »
Hallo  *,

ich hab auf www.obsolyte.com einen lustigen Artikel gefunden, in dem beschrieben wird, wie bei einer SparcStation unter OpenBSD die Power-LED zur Anzeige der Load benutzt werden kann.

in die /etc/sysctl.conf  folgendes eintragen:
set machdep.led_blink=1

Kompletter Artikel von Obsolyte.com:
-----8<--------
Jason @ OS Strategies has passed on this neat-o trick for any SparcStation running OpenBSD.

In /etc/sysctl.conf set machdep.led_blink=1 and reboot the machine.

This makes the power LED blink (it actually reflects the load average: the slower the blinking the higher the load, the higher the blinking the lower the load!). Sort of the reverse of what you'd expect, but still a handy indicator!

This has been tested on IPX's, SS2's, SS4's, SS5's, and I believe SS10's/SS20's as well -- so it likely works everywhere.... Try it out!
-----8<--------


Bis Bald
Matthias

sonnenblen.de - Das unabhängige Sun User Forum

Blinkende LED zeigt die Load an
« am: 16. November 2002, 22:41:46 »

blende4711

  • Gast
Re: Blinkende LED zeigt die Load an
« Antwort #1 am: 27. November 2002, 12:50:35 »
Bei NetBSD blinkt die Power LED genauso, wenn folgender Eintrag in der config-Datei  keinen Lattenzaun mehr hat:
Hab ich so gemacht, und siehe da: funkt  8)

## System options specific to the sparc machine type

# Blink the power LED on some machines to indicate the system load.
options       BLINK

Natürlich muß man jetzt einen neuen Kernel "machen".