8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello geeks, Find below a Perl script am writing to calculate some failure rate in our GPRS network, am just starting to use perl for scripting.
#!/usr/bin/perl
#Script written to calculate the following:
#PDP activation failure rate for every 15 minutes interval
#Number of Active PDP... (1 Reply)
Discussion started by: infinitydon
1 Replies
2. Shell Programming and Scripting
Thanks Bartus11 for your help in the following code to compare the two files "t1" and "t2".
awk 'NR==FNR{a=1;next}$2 in a{print $2}' t1 t2
First can anyone explain that what is the purpose of assigning a =1?
Second, the current script is printing out the matched columns between the... (4 Replies)
Discussion started by: coder83
4 Replies
3. Shell Programming and Scripting
Hi all,
I have a tab-delimited text file in which i have a few columns which look like,
X Y U V
2 3 4 5
4 5 3 4
6 4 3 2
For example, I want to calculate the ratio (X+Y)/(X+Y+U+V) for each row and print the output.
X Y U V ... (3 Replies)
Discussion started by: mehar
3 Replies
4. UNIX for Dummies Questions & Answers
Hi, I have the following file called addresses, (it is a large file i have only copy and pasted few of the data below) and I am wanting to write a command so it will Find the ratio of mobile (07....) to land line (01....) telephone numbers?
then find the most popular first name and list the... (1 Reply)
Discussion started by: tina_2010
1 Replies
5. UNIX for Dummies Questions & Answers
Dear friends,
Does any one know about alert "write catch hit ratio" on Solaris 9?
How to avoid???? (0 Replies)
Discussion started by: solaris5.10
0 Replies
6. Shell Programming and Scripting
in the instance of a file compressed with compress to a .Z extension...
how would I, in the Bourne Shell, capture its compression ratio? Gunzip returns -1 and I'd then gone down the track of roughly calculating the ratio (not including time) manually.
Until I found out the Bourne Shell... (7 Replies)
Discussion started by: nortypig
7 Replies
7. Solaris
All.
How can i calculate the fragmentation ratio on a mounted disk, given that i have no root privilege and i cannot switch to single user mode. (0 Replies)
Discussion started by: Negm
0 Replies
8. Programming
Hi, everybody.
I wanted to know the networking aspect of Linux i.e how Linux works using networks.
If anyone knows it or the site or book where I can find this topic then please inform me.
Thanks a lot for your co-operation. (1 Reply)
Discussion started by: kinnaree
1 Replies