Unix Technical Forum

Short Shell-Script to watch the LED-Codes

This is a discussion on Short Shell-Script to watch the LED-Codes within the AIX Operating System forums, part of the Unix Operating Systems category; --> I found in some manual a short and nice shell script to watch the LED-Codes from a booting machine, ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 10:06 AM
alex
 
Posts: n/a
Default Short Shell-Script to watch the LED-Codes

I found in some manual a short and nice shell script to
watch the LED-Codes from a booting machine,
but can't remember where -
can anybody help me?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 10:06 AM
miles
 
Posts: n/a
Default Re: Short Shell-Script to watch the LED-Codes

For what kind of system?

If it is an older SP system you can use:
spled, or
spmon

For my newer p5 570's using csm, try:
csmstat -l

example:
/opt/csm/bin/csmstat -n 'unxt1' '-l'

Miles

alex wrote:
> I found in some manual a short and nice shell script to
> watch the LED-Codes from a booting machine,
> but can't remember where -
> can anybody help me?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 10:06 AM
sol gongola
 
Posts: n/a
Default Re: Short Shell-Script to watch the LED-Codes

alex wrote:
> I found in some manual a short and nice shell script to
> watch the LED-Codes from a booting machine,
> but can't remember where -
> can anybody help me?


You canwatch this display without a script by standing in front of
the display and looking at it

How can you be running a shell script on a machine that is booting?
How can you read an output only device?

Are you really looking for /usr/lib/methods/showled, which lets you
manipulate the led display.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 10:06 AM
Asim
 
Posts: n/a
Default Re: Short Shell-Script to watch the LED-Codes


alex wrote:
> I found in some manual a short and nice shell script to
> watch the LED-Codes from a booting machine,
> but can't remember where -
> can anybody help me?


If you talking about the SP nodes then use something like this:

while true
do
spmon -L <frame#>/<node#>
sleep 2
done


regards,
Asim

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 10:06 AM
alex
 
Posts: n/a
Default Re: Short Shell-Script to watch the LED-Codes

Asim schrieb:
> alex wrote:
>> I found in some manual a short and nice shell script to
>> watch the LED-Codes from a booting machine,
>> but can't remember where -
>> can anybody help me?

>
> If you talking about the SP nodes then use something like this:
>
> while true
> do
> spmon -L <frame#>/<node#>
> sleep 2
> done
>
>
> regards,
> Asim
>



That's it! Thank you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:00 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com