@amanda, your expected output shows, just a paragraph printing .. If yes, try the below ..
If question varies, post the expected output along with your tries to achieve ..
hi,
how would i extract a range of lines in a file by using the line number? ex: file contains:
1 title
2 i want
3 this part
4 to be taken out
5 from this file
6 and sent to
7 another file
8 not needed
9 end of file
In this case, i want to copy line number 2 to 7 on a new... (2 Replies)
Hi all,
I need help in doing this scenario. I have two files with multiple lines. I want to compare these two files but ignoring the lines which have words like Tran, Loc, Addr, Charge. Also if i have a word Credit in line, i want to tokenize (i.e string after character "
... (2 Replies)
Hello,
I have a very large text file with about 2 million lines.
Each of the lines starts like..
SNP_12345678 A 1212, 121, 343, ...
SNP_12345678 B 4567, 567, 454, ...
and so on.
I want to extract specific SNPs and plot them by GNUplot or excel.
The file is too large to be opened by text... (1 Reply)
I hava a file with following data:
number|CREDIT_ID|NULL
date|SYS_CREATION_DATE|NULL
varchar2|GGS_COMMIT_CHAR|NULL
varchar2|GGS_OP_TYPE|NULL
number|GGS_SCN|NULL|
number|GGS_LOG_SEQ|NULL
number|GGS_LOG_POS|NULL
number|GGS_ORACREC_SCN|NULL
varchar2|BATCH_ID|NULL
char|GGS_IMAGE_TYPE|NULL
... (6 Replies)
Hi,
I have a file which contains DDL statements- CREATE TABLE, CREATE INDEX, ALTER TABLE etc.
I have to only pick CREATE TABLE statements from the file-
Source :
----------------------------------------------
--DDL for table abc
--------------------------------------------
CREATE TABLE... (4 Replies)
well, i am so not familiar with this kind of things but i am gonna explain extactly what i am looking for so hopfully someone can figure it out :)
i have a command that shows memory usage besides the process name, for example(the command output):
500 kb process_1
600 kb process_2
700 kb... (4 Replies)
Hi,
Please have a look on below records.
STG_HCM_STATE_DIS_TAX_TBL.1207.Xfm: The value of the row is: EMPLID = 220677 COMPANY = 919 BALANCE_ID = 0 BALANCE_YEAR = 2012
STG_HCM_STATE_DIS_TAX_TBL.1207.Xfm: ORA-00001: unique constraint (SYSADM.PS_TAX_BALANCE) violated
... (4 Replies)
Hi there,
I need a help with extracting data from tab delimited file which look like this
#CHROM POS ID REF ALT Human Cow Dog Mouse Lizard
chr2 3033 . G C 0/0 0/0 0/0 1/1 0/0
chr3 35040 . G T 0/0 0/0 ./. 1/1 0/1
chr4 60584 . T G 1/1 1/1 0/1 1/1 0/0
chr10 7147815 . G A 0/0 1/1 0/0 0/0... (9 Replies)
Data file example
I look for primary and * to isolate the interesting slot number.
slot=`sed '/^primary$/,/\*/!d' filename | tail -1 | sed s'/*//' | awk '{print $1" "$2}'`
Now I want to get the Touch line for only the associate slot number, in this case, because the asterisk... (2 Replies)
I have a folder containing text files. I need to extract specific lines from the files of this folder based on another file input.txt. How can I do this with awk/sed?
file1
ARG 81.9 8 81.9 0
LEU 27.1 9 27.1 0
PHE .0 10 .0 0
ASP 59.8 11 59.8 0
ASN 27.6 12 27.6 0
ALA .0 13 .0 0... (5 Replies)
Discussion started by: alanmathew84
5 Replies
LEARN ABOUT REDHAT
amreport
AMREPORT(1) General Commands Manual AMREPORT(1)NAME
amreport - generate a formatted output of statistics for an Amanda run
SYNOPSIS
amreport [ config ] [ -l logfile ] [ -f outputfile ] [ -p postscriptfile ]
DESCRIPTION
Amreport generates a summary report of an amanda(8) backup run. If no configuration name is specified, amanda.conf is read from the cur-
rent directory.
See the amanda(8) man page for more details about Amanda.
OPTIONS
config Name of the configuration to process.
[-l logfile]
Name of the log file to parse to generate the report. If a log file is not specified, it defaults to the file:
logdir/log
where logdir is the log directory defined in amanda.conf.
[-f outputfile]
Normally, amreport sends the report via e-mail to the mailto user as defined in the amanda.conf file. If outputfile is specified,
then the report is put in outputfile.
[-p postscriptfile]
Send the postscript output to the file postscriptfile instead of to the lpr(1) command. This option has an effect only if the lbl-
templ directive is specified in amanda.conf.
LABEL PRINTING
Amanda can print postscript labels describing the contents of tape(s) written in a run. The labels are designed to be folded and inserted
into the tape case along with the tape or hole punched and put in a 3-ring binder. Various label templates are provided to format data for
different tape sizes.
The information printed varies slightly between label templates due to size constraints. Labels contain one line for each host/file-system
pair and may also contain the file number on the tape, the level of the dump, the original size of the dump and the size of the (possibly
compressed) tape file.
Add the lbl-templ parameter to the tapetype definition in amanda.conf to enable labels. If you don't add this line to your tapetype defi-
nition, amreport will not print tape labels.
You may use the printer keyword in amanda.conf to print to other than the system default printer.
TEMPLATES
Amanda provides label templates for the following tape types. These are pretty generic labels and should be easy to customize for other
tape types or particular site needs.
* ExaByte 8mm tapes
* DAT 4mm tapes
* DLT tapes
* 3-ring binder
The 3-ring binder type is the most generic. It may be used to make a hardcopy log of the tapes.
SEE ALSO amanda(8), amflush(8)AMREPORT(1)