09-09-2004
Ok , this thread is over.
There was a lock on this script due to the crash, and the server was sharing disk multibaye with another server and on the reboot something didn't work fine. So the lock was on the other server and every time we wanted to access the script an alarm message appeared.
So after deleting locks on the other server and reboot the server everything is fine.
*Thanks for all
Regards.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello
I have a server HP ES40 with unix 5.1B, and if i open from Start-Programs-IN Tools-GUI/pfmalarm/Alarm-start monitoring , I receive this error message "IOR : STRING IS TOO LONG ! MAXIMUM SIZE = 1024"
Anybody heard about this error?
Thanks
Alin (0 Replies)
Discussion started by: tomaalin
0 Replies
2. Shell Programming and Scripting
I am trying to write a signal to exit when a process times out. What I have come up with from poking around the web is this.
#!/usr/bin/perl
eval {
local $SIG{ALRM} = sub { die "alarm clock restart" };
alarm 10;
open(DSMADMC, "dsmadmc -se=tsmpc1 -id=XXXXX... (2 Replies)
Discussion started by: reggiej
2 Replies
3. Programming
I am trying to write a program that will;
1) Show the message "Snoozing now...zzzz" on the screen for 5 seconds
2) Then in the same position show the message "The ALARM is going off now!" for 5 seconds
3) Repeat 1) then 2) infinitely until user presses Ctrl C
I can't make it work. Any hints... (17 Replies)
Discussion started by: enuenu
17 Replies
4. AIX
Hey,
I want to ask a simple Question....
How would I be able to come to know that files/directoires in a Parent directory has been accessed (means contents of the file has been just viewed) by the user(s) in a group ? and mail the name(s) of those files/directories which has been accessed... (1 Reply)
Discussion started by: varungupta
1 Replies
5. Shell Programming and Scripting
Hey,
I want to ask a simple Question....
How would I be able to come to know that files/directoires in a Parent directory has been accessed (means contents of the file has been just viewed) by the user(s) in a group ? and mail the name(s) of those files/directories which has been accessed... (16 Replies)
Discussion started by: varungupta
16 Replies
6. Shell Programming and Scripting
Hi members, I am working in WebSphere in Unix environment. we are working with 500 odd servers and most of the times processes got down. Can i have any shell script through whih some popup with alarm get raised whenever some server get down. kindly help.. Thanks Rishi (1 Reply)
Discussion started by: rishi.madan
1 Replies
7. Programming
I'm writing a function right now, and I want to set an alarm to avoid a timeout, here's the general idea of my code:
int amt = -2;
alarm(10);
amt = read(fd, &t->buf, TASKBUFSIZ - tailpos); //do a read
when the alarm goes off, i want to check the value of "amt"
... (1 Reply)
Discussion started by: liaobert
1 Replies
8. Solaris
Hello,
how can we determine alarm threshold from sysedge in a solaris box? can anybody please help me?
Thanks, (1 Reply)
Discussion started by: Pouchie1
1 Replies
9. Shell Programming and Scripting
Hi All,
I am monitoring batch Processes running in UNIX environment.
I use PuTTy to monitor the process running.
I have to continuously monitor and look on the screen if some error has come or not.
If an error comes FAILURE word is displayed instead of SUCCESS as shown below on the... (2 Replies)
Discussion started by: sampandey31
2 Replies
10. What is on Your Mind?
Hi Friends
any know how became a friend in this Android Programming Language (0 Replies)
Discussion started by: ljarun
0 Replies
LEARN ABOUT SUSE
hpialarms
hpialarms(1) OpenHPI hpialarms(1)
NAME
hpialarms - A openhpi sample application that shows "Alarm Control" management instruments
SYNOPSIS
hpialarms [-a -b -c -i -m -n -p -o -x]
DESCRIPTION
hpialarms walks the RPT (Resource Present Table) for resouces that have "Alarm Control" management instruments (SAHPI_CTRL_LED).
OPTIONS
-c1 sets Critical Alarm on
-c0 sets Critical Alarm off
-m1 sets Major Alarm on
-m0 sets Major Alarm off
-n1 sets Minor Alarm on
-n0 sets Minor Alarm off
-p1 sets Power Alarm on
-p0 sets Power Alarm off
-i5 sets Chassis ID on for 5 sec
-i0 sets Chassis ID off
-a1 sets Disk A fault on
-a0 sets Disk A fault off
-b1 sets Disk B fault on
-b0 sets Disk B fault off
-d[byte] sets raw Alarm byte
-o sets all Alarms off
-x show eXtra debug messages
SAMPLE OUTPUT
hpialarmpanel ver 0.6
RptInfo: UpdateCount = 5, UpdateTime = 8a2dc6c0
rptentry[0] resourceid=1 tag: Mullins
RDR[45]: ctltype=2:1 oem=0 Chassis Identify Control
RDR[48]: ctltype=0:1 oem=10 Front Panel Power Alarm LED state = off
RDR[51]: ctltype=0:1 oem=13 Front Panel Minor Alarm LED state = ON
RDR[46]: ctltype=0:0 oem=0 Cold Reset Control
RDR[49]: ctltype=0:1 oem=11 Front Panel Critical Alarm LED state = off
RDR[50]: ctltype=0:1 oem=12 Front Panel Major Alarm LED state = off
SEE ALSO
AUTHORS
Authors of this man page:
Peter D Phan (pdphan@users.sourceforge.net)
2.14.1 2009-11-23 hpialarms(1)