i am attempting to parse a simple text file with multiple lines and four fields in each line, formatted as such:
12/10/2006 12:34:06 77 38
this is what i'm having problems with in my bash script:
sed '1,6d' $RAWDATA > $NEWFILE
#removes first 6 lines from file, which are... (3 Replies)
I have a file that has a header followed by 8 columns of data. I want to toss out the header, and then write the data to another file with a different header and footer. I also need to grab the first values of the first and second column to put in the header.
How do I chop off the header? ... (9 Replies)
Hi guys,
I am new on here, I have a function in oracle that returns a specific value:
create or replace
PACKAGE BODY "CTC_ASDGET_SCHED" AS
FUNCTION FN_ASDSCHEDULE_GET
RETURN VARCHAR2
AS
BEGIN
DECLARE
ASDSchedule varchar2(6);
ASDComplete... (1 Reply)
Hi guys,
I desperately need some help here...
I need to parse a file similar to this:
I need to read the values for MY_BANNER_SSHD and WARNING_MESSAGE. The value could be empty/single line or multi-line!
# Comments
.
.
.
Some lines
MY_BANNER_SSHD=""... (7 Replies)
I wanted to parse a text file and join in specific format. please suggest me how to get this done..
The output should be in fasta format which consists of lines starting with ID, PT, PA and Sequence. "//" the two slashes are dividing lines between two different sequences.
Like... (10 Replies)
Hi everyone,
another question while using sed.
my sed statement should parse every line in a file and store all "i" variable item a a new file.
any wrong arguments here?
Thanks a million.
task_name => name,
object_type => 'TABLE',
attr1 => 'TestR3',
attr2 => '$i',
for i... (4 Replies)
Hi Forum.
Need your expertise on the following question.
I have the following file which I would like to parse, find first block of SELECT statment and concatenate all input fields as 1 field (~ delimited):
Old File:
SELECT /*+ USE_HASH(CCOMM ICAR IMAP IAS IP IMAS IMPS IAP SPCA) */
... (5 Replies)
Hello,
I have a Pro*C program which contains SQL sentences, such as:
....
Pro*C sentences
....
/*SQL 1*/
EXEC SQL SELECT t1.field1, t1.field2
INTO :w_field
FROM TABLE1 t1, TABLE1 t2
WHERE t1.field1 = t2.field1
AND t1.ID = :wl_id;
....
Pro*C sentences
....
/*SQL 1*/
EXEC... (11 Replies)
Discussion started by: mvalonso
11 Replies
LEARN ABOUT XFREE86
powerman-pdu
POWERMAN-PDU(8) NUT Manual POWERMAN-PDU(8)NAME
powerman-pdu - Driver for Powerman PDU
SYNOPSIS
powerman-pdu -h
powerman-pdu -a PDU_NAME [OPTIONS]
Note
This man page only documents the hardware-specific features of the powerman-pdu driver. For information about the core driver, see
nutupsdrv(8).
SUPPORTED HARDWARE
This driver supports a wide range of PDUs through the Powerman project.
This includes various models from APC, Baytech, Cyclades, but also support IPMI and various blade management modules from HP, IBM and Sun.
EXTRA ARGUMENTS
This driver doesn't support any optional settings.
INSTALLATION
This driver is not built by default. You can build it by using "configure --with-powerman=yes".
UPS COMMANDS
The following instant commands (see upscmd(8)) are available for each outlet of the PDU, with X standing for the outlet number:
outlet.X.load.on
Power on the outlet.
outlet.X.load.off
Power off the outlet.
outlet.X.load.cycle
Cycle the outlet (power off then power on, possibly with a delay).
IMPLEMENTATION
The hostname of the Powerman server is specified using the "port" value in ups.conf, i.e.:
[pdu]
driver = powerman-pdu
port = host.example.com:port
The port used to reach powermand is optional if the default port is used.
KNOWN ISSUES
In the current NUT version (2.4.1), ups.status is still exposed, with the value "WAIT". Some other values from the ups collection are also
exposed.
AUTHOR
Arnaud Quette <arnaud.quette@gmail.com>
SEE ALSO
The core driver:
nutupsdrv(8)
Internet resources:
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
The PowerMan home page: http://powerman.sourceforge.net/
Network UPS Tools 05/21/2012 POWERMAN-PDU(8)