07-03-2008
Still struggling with material/code hunting, not yet successful.
Any one could you please help me.
Thanks in Advance,
Naga
9 More Discussions You Might Find Interesting
1. Programming
hi everybody,
My name is Raj i work in GE Global Software Solutions As Siebel Analyst. Can any one help in writing the code in Ansi C on HP-Unix platform to get data from IBM MQ-Series Server. IBM MQ-series client will be installed on the client machine which is on WIN NT platform. And MQ-series... (2 Replies)
Discussion started by: garimella
2 Replies
2. Shell Programming and Scripting
Need code to run the Fibonacci series from 0 to 10 (16 Replies)
Discussion started by: nycol
16 Replies
3. Shell Programming and Scripting
suppose
fileA
kanika123ABC 1222222222222222
raciat5678ty 1221123333331121
jessica78ulllo 2233243223333333
so output shud be print only first 10 characters in series and rest remain same
kanika123A 1222222222222222
raciat5678 1221123333331121
jessica78u ... (1 Reply)
Discussion started by: cdfd123
1 Replies
4. Shell Programming and Scripting
hi,
I'm a beginner to UNIX and got some problem in this fibonacci.Please help me out.Here is the code:
fibo()
{
if
then
fibo=` expr {fibo ($1 - 2)} + {fibo ($1 - 1)}` | bc
echo $fibo
fi
}
echo "enter a number:"
read x
#echo "The fibonnacci series for value $x is:"
fibo $x
... (4 Replies)
Discussion started by: janani_kalyan
4 Replies
5. Programming
HI I have a series(sorted), which i require to create combinations. I am not getting the good code for doing this. My series should generate the following combinations... Please help me in getting this in C++. Thanks for your help.
A:
A
A B:
A
B
A B
A B C:
A
... (1 Reply)
Discussion started by: rameshmelam
1 Replies
6. Shell Programming and Scripting
Hi.
How can I write this in a shorter way?
for NUMs in 1 2 3 4 5 6
I looked at the"seq" command, but I do not think that is what I want.
Can I code
for NUMs (1..7)
Hey!! Is that it? (8 Replies)
Discussion started by: Ccccc
8 Replies
7. Solaris
Hi All,
Do anyone know if I upgrade cpu module and memory module for one of the domain inside Sun M5000. After the upgrade, will the hostid for the domain change or it will remain as long we don't change the system board?
Currently will try to upgrade one of the Sun M5000 with 4 domains... (2 Replies)
Discussion started by: mailbox80
2 Replies
8. Shell Programming and Scripting
Hi Guys,
Can someone give me a simple script that can extract the numbers in between numbers from start to end. As shown below, it start from 100 to 110 and revealed the numbers in between.
INPUT:
100 - 110
DESIRED OUTPUT:
100
101
102
103
104
105
106
107 (6 Replies)
Discussion started by: pinpe
6 Replies
9. Red Hat
Hai
what command is used to find red hat linux 5 series? (2 Replies)
Discussion started by: vinayd
2 Replies
BCMXCP(8) NUT Manual BCMXCP(8)
NAME
bcmxcp - Driver for UPSes supporting the serial BCM/XCP protocol
NOTE
This man page only documents the hardware-specific features of the bcmxcp driver. For information about the core driver, see nutupsdrv(8).
SUPPORTED HARDWARE
This driver should recognize all serial BCM/XCP-compatible UPSes. It has been developed and tested on Powerware PW5115 and PW9120 hardware.
If your UPS has a USB connection, you may also consult the bcmxcp_usb(8) driver documentation.
EXTRA ARGUMENTS
This driver supports the following optional settings in the ups.conf(5).
shutdown_delay=delay
The number of seconds that the UPS should wait between receiving the shutdown command (upsdrvctl shutdown) and actually shutting off.
baud_rate=rate
Communication speed for the UPS. If this is set to 9600, it tries to connect to the UPS at 9600bps. If it fails to communicate, it will
go into baud-hunting. It starts at 1200 and goes up to 19200. If it succeeds, it tell you the speed it connected with. If not included
in the config, it defaults to baud-hunting.
DEFAULT VALUES FOR THE EXTRA ARGUMENTS
o shutdown_delay = 120
o baud_rate = none
INSTANT COMMANDS
This driver supports the following Instant Commands:
shutdown.return
Turn off the load and return when power is back.
shutdown.stayoff
Turn off the load and remain off.
test.battery.start
Start a battery test.
outlet.n.shutdown.return
Turn off the load on outlet n and return when power is back. (n is the outlet number reported by the upsc command)
TODO LIST
Report UPS statistics information
BCM/XCP supports reporting of UPS statistics data.
Change settings
Access the config register to change settings.
BUGS
None known.
AUTHOR
Tore Orpetveit <tore@orpetveit.net>
SEE ALSO
The core driver:
nutupsdrv(8)
The USB BCM/XCP driver:
bcmxcp_usb(8)
Internet resources:
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
Network UPS Tools 05/21/2012 BCMXCP(8)