Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

set LED command 1

Status
Not open for further replies.

we2aresame

Technical User
Feb 10, 2003
128
CA
Anyone can tell me the command use to set LED, for example make the LED show 888 even the box is runing very well, thanks.
 
What I think he means is that he wants to be able to display something on the LED panel while the system is up to play a pratical joke on someone..
 
we2aresame,
The command you are looking for is:
Code:
/usr/lib/methods/showled
If you wan't it to appear that the system has crashed you could do something like:
Code:
while [ 0 ]
do
  /usr/lib/methods/showled 0x888
  sleep 1
  /usr/lib/methods/showled
  sleep 1
done
I did this on a test system to one of my junior SA's when I was going on vacation. System was still blinking 2 weeks later. Oh well guess most people don't look.

Hope that helps.
 

Hmm... Just tried this but 0x888 gives "0888" not "888".
How would you show a whole string like "888 102 700"? It only shows 0888?

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top