hello
I have a number of lines that need to be added at the end of a file each time I add a field in another file (let's name it file2)
file2 has this format:
filed1:field2:path1:path2:path3:path...
Whenever I add a path field, I should add to file1 these lines:
<Location path1>... (0 Replies)
Hi,
I've one requirement. I have to split one comma delimited file into multiple files based on one of the column values.
How can I achieve this Unix
Here is the sample data. In this case I have split the files based on date column(c4)
Input file
c1,c2,c3,c4,c5... (1 Reply)
I can't decide if I should use AWK or PERL after pouring over these forums for hours today I decided I'd post something and see if I couldn't get some advice.
I've got a text file full of hundreds of events in this format:
Record Number : 1
Records in Seq : ... (3 Replies)
Hi All,
I'm having a hard time finding a starting point for my issue. I have a 30k line file (fspsec.txt) that I would like to parse into smaller files based on any character existing in field 1.
ACCOUNTANT LEVEL 1 (ACCT.ACCOUNTANT)
OPERATORS: DOEJO (418)
TOOLS: Branch Maintenance
... (2 Replies)
If a file has following kind of data, comma delimited
1,2,3,4
1
1
1,2,3,4
1,2
2
2,3,4
My required output must have only 4 columns with comma delimited
1,2,3,4
111,2,3,4
1,222,3,4
I have tried many awk command using ORS="" but couldnt progress (10 Replies)
Hi,
I have a requirement where I need to combine two lines in a file based on first character of each line in a file.
Please find the sample content of the file below:
Code:
_______________________
5, jaya, male, 4-5-90, single
smart
6, prakash, male, 5-4-84, married
fair
7, raghavi,... (1 Reply)
Hi,
I have a requirement where I need to combine two lines in a file based on first character of each line in a file.
Please find the sample content of the file below:
Code:
_______________________
5, jaya, male, 4-5-90, single
smart
6, prakash, male, 5-4-84, married
fair
7, raghavi,... (1 Reply)
I am trying to remove lines in the target.txt file if $5 before the - in that file matches sorted_list. I have tried grep and awk. Thank you :).
grep
grep -v -F -f targets.bed sort_list
grep -vFf sort_list targets
awk
awk -F, '
> FILENAME == ARGV {to_remove=1; next}
> ! ($5 in... (2 Replies)
Hi Folks,
I have a file with fields as follows which has last field in multiple lines. I would like to combine a line which has three fields with single field line for as shown in expected output. Please help.
INPUT
hname01 windows appnamec1eda_p1, ... (5 Replies)
I have an input file with
A=xyz
B=pqr
I would want the value in Second Field (xyz or pqr) updated with a value present in Shell Variable based on the value passed in the first field. (A or B )
while read line
do
NEW_VALUE = `some functionality done on $line`
If $line=First Field-... (1 Reply)
Discussion started by: infernalhell
1 Replies
LEARN ABOUT REDHAT
isag
ISAG(1) System Activity Grapher ISAG(1)NAME
isag - Interactive System Activity Grapher
SYNOPSIS
isag [-p datafiles_path] [-c config_file] [-ght gr_height] [-gwd gr_width]
DESCRIPTION
The isag command graphically displays the system activity data stored in a binary data file by a previous sar run. The isag command invokes
sar to extract the data to be plotted.
The data are processed using sar command and slightly transformed to tabular format, and then this format is visualized using gnuplot pro-
gram.
OPTIONS -p datafiles_path
Specify the pathname where are located the daily data files. Default path is: /var/log/sysstat
-c config_file
Specify the configuration file used by the isag command. The contents of this file may depend on isag version number. Default config
file is: $HOME/.isag.cfg.
-ght gr_height
Specify the height of the chart area. Default value is: 400.
-gwd gr_width
Specify the width of the chart area. Default value is: 720.
CONFIG FILE
As mentioned above there is a config file. There are stored following values:
last showed graph
y limits for each kind of graph
It seems useful, because new run doesn't need new settings to obtain same scale.
PREREQUSITIES
Here is list of prerequsities including versioning and built-in features.
Tcl/Tk Version 8.0 or newer.
gnuplot
Gnuplot must have a tkcanvas display.
AUTHOR
D. Doubrava 2000, 2002 e-mail: linux_monitor(at)volny(dot)cz
HTTP Site: http://www.volny.cz/linux_monitor/isag/index.html
SEE ALSO
sar (1), sadc (8).
3rd Berkeley Distribution 0.81.0 ISAG(1)