9 More Discussions You Might Find Interesting
1. Programming
I take this question of the The Linux Programming Interface: A Linux and Unix System Programming page 652 exercise 30.1
I want someone to explain the under line statement because it sounds complex to me couldn't understand anything
30-1 Modify the program (thread_incr.c) so that each loop in... (3 Replies)
Discussion started by: fwrlfo
3 Replies
2. UNIX for Advanced & Expert Users
Hi, all:
Is there any shell command to show which interrupt handler handle which interrupt number in the system?
li,kunlun (5 Replies)
Discussion started by: liklstar
5 Replies
3. Programming
hello to all
i want to use multithreading to my UDP broadcast server client program. will anyone help me by proving C code. i am working in fedora. also my requirement is POSIX compliance.please help me..... (6 Replies)
Discussion started by: moti12
6 Replies
4. UNIX for Advanced & Expert Users
I receive the following warning messages on a very new machine which has FreeBSD 8.1 x64 installed on it:
Interrupt storm detected on "irq 20" throttling interrupt source
It is unclear what this means and what its origins are (motherboard? CPU? RAM?).
I can start the desktop and the message is... (4 Replies)
Discussion started by: figaro
4 Replies
5. Programming
Situation:
i have multiple pthread_create calls like this:
pthread_create(...., ThreadFunc1,.....);
pthread_create(...., ThreadFunc2,.....);
.
.
which i am using to create multiple threads.All the "ThreadFunc<i>" functions are actually calling same function "Receive" of a class using same... (3 Replies)
Discussion started by: Sastra
3 Replies
6. Shell Programming and Scripting
Hi
I need to insert 1million records into MySQL database, but it is taking lot of time as there is no bulk insert support.
I want to spawn 10 processes which will insert 100k records each parallely.
Can somebody help me with a example program to execute this task through shell scripting. (5 Replies)
Discussion started by: sach_roger
5 Replies
7. UNIX for Advanced & Expert Users
Hi,
Can you please give me a suitable reference to learn multithreading programming in C in UNIX?
Thanks (3 Replies)
Discussion started by: naan
3 Replies
8. Programming
Hi all, I have a query about multithreading. What I would like to do is, at the start of my main update() function, start a couple of threads in parallel, once they are all complete carry on with my main update function.
void update() {
thread1->update(); // fluid solver
... (3 Replies)
Discussion started by: memoid
3 Replies
9. Programming
:confused:
Hi!
I have created a Multhreaded Application in Pro*C (using pthreads) with about 5 Threads running simultaneously. The Application is basically to Update a Centralized Table in Oracle, which updates different rows in the Table (Each Thread updates different rows!). The... (16 Replies)
Discussion started by: shaik786
16 Replies
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)