Hi
Is there a way to create a list of entries in a file without using vi to create this list ? I like to write a shell script that would create a list like this:
apple : 2
orange : 4
pear : 3
Any tips/suggestions ?
Thanks (3 Replies)
Hi Friends,
my input file is this way
chr1 100 120 abc
chr1 100 121 def
chr1 100 122 ghi
chr2 240 263 kil
chr2 240 276 ghj
chr2 255 290 hjh
my output
chr1 100 122 abc
chr2 240 276 kil
chr2 255 290 hjh
Basically, I want to match on first and second column and then print the... (4 Replies)
Can I print the minimum and maximum values of values in first 4 columns ?
input
3038669 3038743 3037800 3038400 m101c
3218627 3218709 3217600 3219800 m290
.............
output
3037800 3038743 m101c
3217600 3219800 m290 (2 Replies)
I am trying to find the minimum maximum and average from one file which has values
Received message from https://www.demandmatrix.net/app/dm/xml] in milliseconds.
Received message from https://www.demandmatrix.net/app/dm/xml] in milliseconds.
Received message from... (5 Replies)
Hi Evreyone
below is the sample data i have in one file
Wed Jan 30 7 :04:50 2013 type1 419990050 101 ms
Wed Jan 30 7 :04:58 2013 type1 488226363 101 ms
Wed Jan 30 7 :05:03 2013 type1 431525334 101 ms
Wed Jan 30 7 :05:48 2013 type2 400676615 101 ms
Wed Jan 30 8 :09:46... (3 Replies)
From the below table I want to print highest value and lowest value using awk script.
aaa 55 66 96 77
ggg 22 96 77 23
ddd 74 58 18 3
kkk 45 89 47 92
zzz 34 58 89 92
Thanks, Green
edit by bakunin: it sure is not news to you that you should use CODE-tags, no? And that we do not want such... (3 Replies)
Good evening
In a production system there are houndred of Jobs running and i´ve got to monitor all of them, but the problem arises when a job running takes much longer or conversely takes nothing and as operator is almost imposible to detect the máximum or mínimum threshold for a running job.
Ive... (1 Reply)
Hi All
I hope that someone could help me!
I have an input file like this, with 4 colum(ID, feature1, start, end):
a x 1 5
b x 3 10
b x 4 9
b x 5 16
c x 5 9
c x 4 8
And my output file should be like this:
a x 1 5
b x 3 16
c x 4 9
What I would like to do is to output for each ID... (2 Replies)
Hello,
I need to find out the minimum and maximum values based on specific column, and then print out the entire row with the max value.
Infile.txt:
scf6 290173 290416 . + X_047241 T_00113118-1
scf6 290491 290957 . + X_047241 T_00113118-2
scf6 290898 290957 . + X_047241 T_00113119-3
scf6... (2 Replies)
Need your support for below. Please help to get required output
If column 5 is INV then only consider column1 and take out duplicates/identical rows/values from column1 and then put minimum value of column6 in column7 and put maximum value in column 8 and then need to do subtract values of... (7 Replies)
Discussion started by: as7951
7 Replies
LEARN ABOUT DEBIAN
racount
RACOUNT(1) General Commands Manual RACOUNT(1)NAME
racount - count things from an argus(8) data file/stream.
COPYRIGHT
Copyright (c) 2000-2003 QoSient. All rights reserved.
SYNOPSIS
racount -r argus-file [ra options]
DESCRIPTION
Racount reads argus data from an argus-file list, and prints out various counts from the data in the file.
OPTIONS
Racount, like all ra based clients, supports a number of ra options including filtering of input argus records through a terminating filter
expression. See ra(1) for a complete description of ra options.
EXAMPLE INVOCATION
racount -r argus.file
racount records total_pkts src_pkts dst_pkts total_bytes src_bytes dst_bytes
sum 279 1112 661 451 165567 94561 71006
racount -ar argus.file
racount records total_pkts src_pkts dst_pkts total_bytes src_bytes dst_bytes
tcp 47 777 405 372 119782 66541 53241
udp 135 180 137 43 35987 20466 15521
icmp 18 47 40 7 3318 2814 504
ip 50 50 50 0 3000 3000 0
arp 29 58 29 29 3480 1740 1740
sum 279 1112 661 451 165567 94561 71006
racount -r argus.file - tcp and retrans
racount records total_pkts src_pkts dst_pkts total_bytes src_bytes dst_bytes
tcp 15 276 141 135 22073 8758 13315
AUTHORS
Carter Bullard (carter@qosient.com).
SEE ALSO ra(1), rarc(5), argus(8)tcpdump(1),
07 November 2000 RACOUNT(1)