Hi need some advice..
#grep -i hostname test.csv
(gives the below output)
HOSTNAME,name,host_test,,,,,,,,
Now I need to format the above output as below.
HOSTNAME:
name=host_test
Any easy way of doing this using awk or sed or printf? (4 Replies)
Is it possible to convert the attached file to the format mentioned.
Here for a particular job the table name and the corresponding instance name from one test run "X" is compared with the table name and the instance name from the second test run "Y" for output rows,affected rows,applied... (1 Reply)
I am using find and ls to search for "warez" files on my server.
find /home/ -regex ".*\.\(avi\|mp3\|mpeg\|mpg\|iso\)" -print0 | xargs -0 ls -oh
This command produces this:
-rw-r--r-- 1 1000 3.2M Feb 18 2009 /home/user/public_html/lupus.mp3
I want to only get this
3.2M... (4 Replies)
Dear All,
I am new to unix scripting. I need your help to format my output on screen.
echo " --------------------------------------------"
echo " | My Output |"
echo " --------------------------------------------"
echo " | A: $A... (5 Replies)
I have input file in this way
John 1234 BASIC 26000
John 1234 ALLOWC 01550
John 1234 INCER 01700
John 1234 REL 20000
Debi 2345 BASIC 29000
Debi 2345 ALLOWC 01600
Debi 2345 INCR 01900
Debi 2345 REL ... (8 Replies)
Hi Experts,
I have to create a report for certain audit and my output looks as follows
I m trying to format my output to look like
Any inputs would be highly appreciated
Thanks
Syed (5 Replies)
Hi
I have a file with the following structure
"VATTENFALL GLOBAL" "Vattenfall Tray"
"BARCLAYS BANK LONDON" "Capula"
"P1 AGEAS GLOBAL COMPANY" "AAC - Optiver"
The requirement is like this
1) Take 2 input... (16 Replies)
I have the output like below:
DEV#: 9 DEVICE NAME: hdisk9 TYPE: 1750500 ALGORITHM: Load Balance
SERIAL: 68173531021
==========================================================================
Path# Adapter/Path Name State Mode Select Errors
0 ... (4 Replies)
Hi,
I am trying to use printf command and format certain output in a specific format as under:
While the left side (upto |) of the above format is part of a fixed header function, the right side is where i am expecting data to be printed. However, as seen, Row1 value is reflecting on last... (5 Replies)
Discussion started by: EmbedUX
5 Replies
LEARN ABOUT MOJAVE
ataraid
ATARAID(4) BSD Kernel Interfaces Manual ATARAID(4)NAME
ataraid -- ATA software RAID support
SYNOPSIS
device ata
device ataraid
DESCRIPTION
The ataraid driver provides support for so-called software RAID (sometimes referred to as fake RAID or pseudo RAID).
When a controller that supports software RAID is instructed to create a RAID array, its BIOS writes data structures in a specific metadata
format to the disks. These data structures are picked up by the ataraid driver, so that FreeBSD can work with the array. The ataraid driver
has to understand the specific metadata format of a controller BIOS in order to support its RAID capabilities.
Read-only support for a metadata format means that FreeBSD can use the given RAID array for normal read/write operations. Creation and
rebuild of such arrays has to be done from the controller BIOS.
Read and write support for a metadata format means that FreeBSD can use the given RAID array for normal read/write operations. Additionally,
the atacontrol(8) utility can be used to create, rebuild, update and fail such RAID arrays.
The ataraid driver can read the following metadata formats:
o Adaptec HostRAID
o Highpoint V2 RocketRAID
o Highpoint V3 RocketRAID
o Intel MatrixRAID
o Integrated Technology Express (ITE)
o JMicron
o LSI Logic V2 MegaRAID
o LSI Logic V3 MegaRAID
o NVIDIA MediaShield
o Promise FastTrak
o Silicon Image Medley
o Silicon Integrated Systems (SiS)
o VIA Tech V-RAID
o FreeBSD PseudoRAID
The ataraid driver can write the following metadata formats:
o Highpoint V2 RocketRAID
o Intel MatrixRAID
o JMicron
o Promise FastTrak
o Silicon Integrated Systems (SiS)
o VIA Tech V-RAID
o FreeBSD PseudoRAID
It is also possible to use software RAID on controllers that do not have special software RAID capabilities. See atacontrol(8) for details.
FILES
/dev/ar* ATA RAID device nodes
SEE ALSO ata(4), atacontrol(8)CAVEATS
RAID5 is not supported at this time. Code exists, but it neither uses nor maintains parity information.
AUTHORS
The ataraid driver was written by Soren Schmidt <sos@FreeBSD.org>. This manual page was written by Christian Brueffer
<brueffer@FreeBSD.org>.
BSD February 17, 2006 BSD