Displaying 14 results from an estimated 14 matches for "o'shaughnessy".
2017 Oct 31
2
Email Alerts for Multiple UPSs with upssched
Ah! So I can detect the source UPS in the upssched.conf and pass it as a distinct event to the shell script. That sounds like an excellent approach.
Thanks!
GMH
From: O'Shaughnessy, Mike [mailto:Mike.OShaughnessy at gd-ms.com]
Sent: Tuesday, October 31, 2017 12:46 PM
To: Garrett Michael Hayes <...
2010 Jan 09
4
[LLVMdev] Using a function from another module
Hi all,
I'm trying to use a function defined in one LLVM module from another module
(in the JIT) but for some reason it's not working out. My sequence of
activity is roughly like this:
1) Create moduleA
2) Create moduleB with "func()"
3) execEng = ExecutionEngine::create(
new ExistingMod...
2012 Jan 13
2
[LLVMdev] ValueMapper question: no type mapping for GlobalValue?
=?ISO-8859-1?Q?Rafael_=C1vila_de_Esp=EDndola?= wrote:
> > I can reproduce this consistently, but only under an extremely large pile of
> > code :-) I haven't tried to strip it down to minimal a test case yet, but I
> > will. One salient difference with the code you've provided...
2017 Oct 31
0
Email Alerts for Multiple UPSs with upssched
There's supposedly another way with a custom upsmon.conf:
NOTIFYMSG type message
upsmon comes with a set of stock messages for various events. You can change them if you like.
NOTIFYMSG ONLINE "UPS %s is getting line power"
NOTIFYMSG ONBATT "Someone pulled the plug on %s"
Note that %s is...
2012 Nov 15
1
[LLVMdev] ValueMapper question: no type mapping for GlobalValue?
Hi Michael, did anything ever happen with this?
Ciao, Duncan.
On 17/01/12 14:45, Michael Muller wrote:
>
> So it looks like the verifier doesn't catch this condition - I think it
> should. The attached program reproduces the problem - verification succeeds,
> but the linker fails with a type assertion.
>
> BTW, if no one has t...
2010 Feb 03
0
[LLVMdev] Interpreter with multiple modules.
Hi James,
> This is interesting. I've just implemented dynamic loading of bitcode modules into lli for my project. I did this by hacking lli using the Linker class. Is ExecutionEngine::addGlobalMapping() preferred for this purpose?
I'm not sure about the preferred way, but at least for the JIT, here is an email from Jeffrey
concerning a previous thread. The...
2012 Jan 17
0
[LLVMdev] ValueMapper question: no type mapping for GlobalValue?
So it looks like the verifier doesn't catch this condition - I think it
should. The attached program reproduces the problem - verification succeeds,
but the linker fails with a type assertion.
BTW, if no one has the bandwidth to work on this I'm willing to attempt a fix,
assuming that you ag...
2010 Feb 03
3
[LLVMdev] Interpreter with multiple modules.
On 3 February 2010 14:13, Garrison Venn <gvenn.cfe.dev at gmail.com> wrote:
> I have not used the C api or the interpreter, but via JIT one can use
> ExecutionEngine::addGlobalMapping(...) after the function decl in the
> foreign module. See if there is an equivalent in the C API, whi...
2012 Jan 13
0
[LLVMdev] ValueMapper question: no type mapping for GlobalValue?
> I can reproduce this consistently, but only under an extremely large pile of
> code :-) I haven't tried to strip it down to minimal a test case yet, but I
> will. One salient difference with the code you've provided is that in my
> code, @a is a struct type. However, changing the example to...
2010 Jan 11
0
[LLVMdev] Using a function from another module
The JIT tries to handle this in some cases
(http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/ExecutionEngine.cpp?annotate=92771#l942),
but doesn't handle it for functions. There aren't any tests, so I'm
not surprised it's broken.
The JIT would be simpler if we just dropped multipl...
2010 Jan 10
0
[LLVMdev] Using a function from another module
Michael Muller wrote:
>
> Hi all,
>
> I'm trying to use a function defined in one LLVM module from another module
> (in the JIT) but for some reason it's not working out. My sequence of
> activity is roughly like this:
>
> 1) Create moduleA
> 2) Create moduleB with "f...
2012 Jan 12
2
[LLVMdev] ValueMapper question: no type mapping for GlobalValue?
=?ISO-8859-1?Q?Rafael_=C1vila_de_Esp=EDndola?= wrote:
> On 11/01/12 07:50 AM, Michael Muller wrote:
> >
> > Hi all, I was looking at the ValueMapper code this morning and I notice that
> > it doesn't do type mapping for GlobalValues. Is this correct?
> >
> > I ask...
2017 Oct 31
4
Email Alerts for Multiple UPSs with upssched
Greetings Gentlebeings,
I have started deploying a number of NUT instances on Raspberry Pi machines (Raspbian Jessie) across my network. The purpose of these "nutcases" as we refer to them is to monitor the status of the UPSs supporting our network switching infrastructure and notify us of power and battery events via email. No sh...
2017 Oct 31
0
Email Alerts for Multiple UPSs with upssched
I'm running a single "nut-server" that monitors seven ups units.
In upsmon.conf:
MONITOR ups-1 0 <User> <Pw> master
MONITOR ups-2 0 <User> <Pw> master
MONITOR ups-3 0 <User> <Pw> master
MONITOR ups-4 0 <User> <Pw> master
MONITOR ups-5 1 <User> <Pw...