Displaying 20 results from an estimated 10000 matches similar to: "nut_clock_* unit test ideas"
2012 Nov 09
1
nut_clock_* UT review
2012/11/9 <VaclavKrpec at eaton.com>
> Hello gentlemen,
>
Hi Vasek,
I'm moving the thread to -upsdev, since it has not to be private...
please note that revisions 3771 and 3772 conclude nut_clock_*
> development (including UTs):
>
interestingly enough, we were talking about that 5 mn ago with Emilien ;)
my conclusion was that nut_clock devs were completed with 3772, and
2012 Sep 27
3
NUT Bugs #313634 & #313714: unification & encapsulation of timer proposition
?Hello everybody,
I'm working on the "Use difftime for time comparison" bug (#313634).
Charles directed me to the other one "Use monotonic clock for monitoring"
attended to by Baruch; I believe that's very good idea, however I'd use a bit
more encapsulated & general approach:
1/ I'd create an opaque timer type and its get/set/cmp/inc/dec etc interface
2012 Dec 10
0
UPP schedule and progress
Hello everybody,
so, here's the summary of my progress (note that it also includes a few items
to discuss, so I'm cc-ing this to nut-upsdev as well).
I. The planning:
1/ libnutconf:
The core (i.e. config. classes and their (de)serialisers) is coded, UT in progress.
Signalisation shall follow; I have a couple of practical thoughts & comments to this,
see below.
In general, I'd
2012 Nov 28
1
upsmon.conf::POWERDOWNFLAG
?Hello everybody,
I've just noticed that POWERDOWNFLAG defaults to
/etc/killpower in upsmon.conf.
I believe that such files belong to the /run sub-tree.
Not only because it's not a config. file; mainly because
many embedded systems actually have most of the FS
read-only and have only the /tmp, /var and /run
writable...
Is there any particular reason to keep the file in /etc?
Thanks,
2012 Oct 08
1
HPUX warning during build spotted
?Hello everybody,
during the last build (#380) on HPUX (eaton-hpux11-pa-risc buildslave),
I've noticed the following warning when compiling upsd:
../../server/upsd.c:417: warning: implicit declaration of function 'fromhost'
fromhost is either an alias for sock_host or declared as
extern void fromhost() in tcpd.h (iff any of TLI or PTX or TLI_SEQUENT macra
are defined), which I guess
2012 Oct 10
1
upsmon twin-daemon?
?Hello gents,
I just have a quick question: yesterday, I was doing some UTing with upsmon
and I've noticed that I always get 2 upsmon daemons; is that intentional?
Why?
Thanks,
vasek
--
V?clav Krpec
Software Developer
Network UPS Tools project
Eaton Opensource Team
Eaton European Innovation Center
-----------------------------
Eaton Elektrotechnika s.r.o. ~ S?dlo spolecnosti, jak je
2012 Dec 04
1
libnutconf: specific C++ accessors technique proposition
?Hello fellow developers,
yesterday, I was thinking about how to implement specific config.
attributes accessors in section-based nut config. files so that
it's nice to use and consistent with NutConfiguration, UpsmonConfiguration
and UpsdConfiguration config. classes (where it's done via Settable attributes).
The GenericConfiguration class provides generic access to name/value
items of
2012 Oct 29
1
Nut-upsdev Digest, Vol 88, Issue 22
?Hello everybody,
just a few notes to the doxygen X man issue:
1/ AFAIK doxygen can generate man pages, so why don't
we just generate them and decide then whether they
are ill fitted or usable...
2/ I'd definitely use doxygen when possible; I mean I don't
know any alternative that's able to do (at least partial)
validation of the documentation with the source
3/ I
2012 Dec 10
0
libnutconf: An overview
?Hello fellow developers,
as you may have noticed from a few e-mails in the past,
there is a new NUT library in development these days.
It should be part of the NUT platform API in the future
and I'd like to present the status of work, hereby.
1/ The library shall be responsible of NUT configuration
management. It shall encapsulate access and manipulation
with all the configuration
2012 Oct 09
1
network-ups-tools won't shutdown my PC
Hello,
I'm using Archlinux x86_64 with linux-nouveau kernel (based on
linux-mainline (that is linux-3.6)).
I've installed nut-2.6.5. I first tried to use new systemctl .service
scripts, but they are problematic.
So I start and stop nut from /etc/rc.c script.
This way, it "woks".
Here are my config files :
nut.conf :
MODE=netserver
ups.conf :
[ellipse]
driver = usbhid-ups
2008 Oct 27
1
replace a few strings in a text file
Dear all,
I wrote a wrapper to a FORTRAN program using R. The main program uses
a text file (~200 lines) as an input describing the simulation to be
run. I typically generate the file once with the right parameters
using a combination of file(), paste(), cat(). This is fine, and it
works well, however I then need to update only a few values in the
file many times (~200 times,
2005 Apr 25
6
Proba( Ut+2=1 / ((Ut+1==1) && (Ut==1))) ?
Dear all,
First I apologize if my question is quite simple,
but i'm very newbie with R.
I have vectors of the form v = c(1,1,-1,-1,-1,1,1,1,1,-1,1)
(longer than this one of course).
The elements are only +1 or -1.
I would like to calculate :
- the frequencies of -1 occurences after 2 consecutives -1
- the frequencies of +1 occurences after 2 consecutives +1
It looks probably something like
2016 Apr 01
2
Centos7: Mount problem (Unit mnt-bk\x2dbenvet\x2d01.mount is bound to inactive unit dev-disk-by\x2dlabel-bk\x2dbenvet\x2d01.device. Stopping, too.
On a server Centos 7.2 ?I insert my 1Tb usb disk and run
sudo mount LABEL=bk-benvet-01 /mnt/bk-benvet-01
the command seem to work but nothing is mounted
Into log I see this issue:
> apr 01 13:49:06 s-virt.dom.loc kernel: XFS (sdb1): Mounting V4 Filesystem
> apr 01 13:49:06 s-virt.dom.loc kernel: XFS (sdb1): Ending clean mount
> apr 01 13:49:06 s-virt.dom.loc systemd[1]: Unit
2005 Nov 15
1
Linear model mixed with an ARIMA model
Dear all,
I'm looking for how can I input a linear model with an arma model,like
log(y) = 8.95756 + 0.0346414^t - 0.1*t^2 + ut
ut=-0.296ut-1+at-0.68at-1
where log(y) is qudratic function ,for the time series trend,
and get then get the residuals from the first function.
" obersvations value - the fit value = ut"
and fit an ARIMA(1,1,1) model for ut.
2014 Feb 24
1
loginrec.c: bug in construct_utmpx() definition?
Hello,
I am trying to cross compile OpenSSH_5.8p2 on linux for a powerpc target with uClibc available. My problem is that I get a error when loginrec.c is compiled:
openssh/loginrec.c: In function 'construct_utmpx':
openssh/loginrec.c:790:10: error: 'ut' undeclared (first use in this function)
openssh/loginrec.c:790:10: note: each undeclared identifier is reported only once for
2007 Sep 24
1
PicTeX output: how to suppress escaping of $ signs and braces?
Dear All,
I'm trying to draw a TeX histogram with the following pair of commands,
pictex(file = "realhisto.tex")
hist(Peaklist$V3,xlab="Height $z/\\ut{mm}$",ylab="Probability density $\\phi{}(z-z_0)/(1/\\ut{mm})$")
However, in the resulting file realhisto.tex, I get, for example
\put {Height \$z/\ut\{mm\}\$} [lB] <0.00pt,0.00pt> at 136.13 9.17
when
2013 Apr 18
0
Nut-upsuser Digest, Vol 94, Issue 18
?Hello Sabine,
this seems as a problem with PATH env. variable; if you issue the command
by hand, you do so in an environment with PATH set so that
the binaries are found.
I guess that the nut user doesn't have so nice PATH, being non-interactive.
Try to add full paths to your binaries in the command and see what happens...
Regards,
vasek
--
Vaclav Krpec
NUT developer
2007 Jan 19
1
Is this possible to do?
I'm a bit confused if this is possible to do. I would like to
write some instructional pages using markdown, here is a short
example of my problem. The text looks like this:
============================================================
Risken ?r dock att du har lite mer komplicerade objekt, tex
att det ?r uppbyggt av flera delobjekt:
![A complex object](images/CloneAdvancedObject.png)
Om
2014 Mar 29
1
uefi
How can I install
a dual boot centos
in my laptop
while my windows has
UEFI partition?
--
With The Best
H.Lanjanian
-----------------------------------------------------------------------
Hossein Lanjanian,
Ph.D. student
Laboratory of Systems Biology and Bioinformatics
(LBB)
Institute of Biochemistry and Biophysics (IBB), University of
Tehran
Tehran, Iran
http://LBB.ut.ac.ir
2005 Jul 13
1
problems with MNP
Hi all,
Does anybody have a hint on what may be going wrong in this R code? I
mimic the sample code from the MNP developers but I seem unable to get the
choice specific variables right.
Thanks,
Joan Serra
> rm(list=ls())
> library(foreign)
> small<-read.spss("small.sav")
Warning message:
small.sav: Unrecognized record type 7, subtype 13 encountered in system
file.
>