[Nut-upsdev] newhidups capture
ngpost1
ngpost1 at etitech.net
Fri Jan 27 10:51:47 UTC 2006
Hello!
I am tracking the Development tree and I am trying to capture the
output from newhidups, as such:
[root]# newhidups -u root -DD -x generic -x vendorid=0001 auto >
UPSdump.txt
If I don't redirect the output to the .txt file, everything is printed
on the screen. If I add the redirect, the output is again printed on the
screen; the .txt file however only contains the first line of the output:
Network UPS Tools: New USB/HID UPS driver 0.28 (2.1.0)
a blank line or two and nothing else. I eventually connected via an ssh
session and copied and pasted all the output from the session, so I got
what I needed somehow. Just wanted to point out the problem, though.
--Max
More information about the Nut-upsdev
mailing list