Sponsored Content
Top Forums Shell Programming and Scripting awk script to count percentage from log file Post 302314142 by devtakh on Thursday 7th of May 2009 01:06:36 PM
Old 05-07-2009
Can you calc the % for one of them? What is pmTotNoRrcConnectReqSucc and pmTotNoRrcConnectReq for the object 30011 ?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

awk percentage

how would you calculate percentage by per line? Given a column of 16 lines, grab each line and divide it by the sum of the entire column and multiply by 100? thanks ... (8 Replies)
Discussion started by: rockiefx
8 Replies

2. Shell Programming and Scripting

Need an AWK script to calculate the percentage

Hi I need a awk script to calculate percentage. I have to pass the pararmeters in to the awk script and calculate the percentage. Sum = 50 passed = 43 failed = 7 I need to pass these value in to the awk script and calculate the percentage. Please advice me. (8 Replies)
Discussion started by: bobprabhu
8 Replies

3. Shell Programming and Scripting

awk script to count characters in file 1 in file 2

I need a scripting AWK to compare 2 files. file 1 and 2 are list of keywords 1 is a b c d 2 is aa aaa b bb ccc d I want the AWK script to give us the number of times every keyword in file 1 occurs in file 2. output should be a 2 (7 Replies)
Discussion started by: anhtt
7 Replies

4. Shell Programming and Scripting

Need an awk script to calculate the percentage of value field and replace

Need an awk script to calculate the percentage of value field and replace I have a input file called file.txt with the following content: john|622.5674603562933|8|br:1;cn:3;fr:1;jp:1;us:2 andy|0.0|12|**:3;br:1;ca:2;de:2;dz:1;fr:2;nl:1 in fourth filed of input file, calulate percentage of each... (1 Reply)
Discussion started by: veeruasu
1 Replies

5. UNIX for Dummies Questions & Answers

Need an awk script to calculate the percentage of value field and replace

I have a input file called file.txt with the following content: john|622.5674603562933|8|br:1;cn:3;fr:1;jp:1;us:2 andy|0.0|12|**:3;br:1;ca:2;de:2;dz:1;fr:2;nl:1 in fourth filed of input file, calulate percentage of each sub filed seperated by ; semicolon and replace value with percentage . i... (11 Replies)
Discussion started by: veeruasu
11 Replies

6. Shell Programming and Scripting

Awk: Print count for column in a file using awk

Hi, I have the following input in a file & need output as mentioned below(need counter of every occurance of field which is to be increased by 1). Input: 919143110065 919143110065 919143110052 918648846132 919143110012 918648873782 919143110152 919143110152 919143110152... (2 Replies)
Discussion started by: siramitsharma
2 Replies

7. Shell Programming and Scripting

Count percentage of string

Hi, Am trying to count the number of occurrences and then as a percentage from a log to troubleshoot errors, can someone help please grep -o 'HTTP/1\.1\" 404 3..' access_log | wc -l 6 (5 Replies)
Discussion started by: dmccabe
5 Replies

8. Shell Programming and Scripting

Help with awk percentage calculation from a file

i have a file say test with the below mentioned details Folder Name Total space Space used /test/test1 500.1GB 112.0 GB /test/test2 3.2 TB 5TB /test/test3 3TB 100GB i need to calculate percentage of each row based on total space and space used and copy... (9 Replies)
Discussion started by: venkitesh
9 Replies

9. Shell Programming and Scripting

awk script to detect specific string in a log file and count it

Hello, can someone guide me on this? I don't know what is the best approach, (awk script, shell script) I am using RedHat Linux version 6.5. There is a third party application deployed on that server. This app by default generates 5 log files and each file is 20MB. These log rollover... (5 Replies)
Discussion started by: ktisbest
5 Replies

10. HP-UX

Shell /awk script for Percentage

having two columns, A and B.. i need to add another column C in a file and calculate the percentage based on the column A and B. (COLUMN B/ COLUMN A *100) . "|" is delimiter separating the A and B.. need C column with the percentage value. Thanks for your help 100|50 |50% ... (6 Replies)
Discussion started by: kartikirans
6 Replies
tntnet(8)							Tntnet users guide							 tntnet(8)

NAME
tntnet - web application server for c++ SYNOPSIS
tntnet [-c file] [--logall] tntnet -C [-q query-string] [componentId ...] DESCRIPTION
This manual page documents briefly the tntnet command. tntnet is a web server that can generate dynamic content via precompiled C++ modules. OPTIONS
A summary of options is included below. -c file Use file as the configuration file. If the -c is omitted, the first nonoption argument is used as the config file. --logall Initialize logging earlier. Normally logging is initialized after starting the listeners and changing user so that logfiles are cre- ated with the right owner. For debugging reasons this option forces to do that earlier. -C Call components and print the result to stdout instead of starting tntnet as a webserver -q query-string In -C mode pass this query string to the component. The option may be repeated multiple times to pass name-value-pairs easily. EXAMPLE
tntnet -C -q arg1=35 -q arg2=7 -q op=/ calc@calc calls the component calc@calc with query parameters and prints the result to stdout. FILES
/etc/tntnet/tntnet.conf The default configuration file. ENVIRONMENT
TNTNET_CONF This is checked for the configuration file name if it is not specified on the command line. AUTHOR
tntnet was written by Tommi Makitalo <tommi@tntnet.org>. This manual page was written by Kari Pahula <kaol@debian.org>, for the Debian project (but may be used by others). SEE ALSO
tntnet-config(1), ecpp(7), ecppc(1), ecppl(1), ecppll(1), tntnet.conf(7), tntnet.properties(7). More documentation can be found in /usr/share/doc/tntnet-doc/. Tntnet July 23, 2006 tntnet(8)
All times are GMT -4. The time now is 05:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy