Ascend Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (ASCEND) Hangups... Anyone have this script:



Phillip - thanks a bunch.  I really should learn to use fgrep, sed, awk etc. 

So many things to do, so little time....

At 11:57 AM 9/24/98 -0400, you wrote:
>Well, I don't have this script, but it's easy to throw something together
>that should work...
>
>fgrep "Ascend-Disconnect-Cause" detail | awk '{ print $3 }' | sort | uniq
-c | sort -rn
>
>Doesn't give percentages, but hey, it's a one liner :-)
>
>-Phil


Anyways, here's what I got out of your one-liner...

Max1
#	%	Code
-----------------
19228	77.72%	45
2578	10.42%	185
2014	8.14%	11
413	1.67%	100
389	1.57%	240
96	0.39%	47
9	0.04%	180
7	0.03%	1
5	0.02%	35

24739	total in detail file

Max2

#	%	Code
-----------------
16264	81.65%	45
1736	8.72%	185
1649	8.28%	11
266	1.34%	100
0	0.00%	240
0	0.00%	47
0	0.00%	180
1	0.01%	1
2	0.01%	40

19919	total in detail file

Max3
#	%	Code
-----------------
9590	76.90%	45
862	6.91%	185
707	5.67%	11
318	2.55%	100
975	7.82%	240
18	0.14%	47
0	0.00%	180
0	0.00%	1
1	0.01%	40

12471	total in detail file

max4
#	%	Code
-----------------
9102	74.07%	45
826	6.72%	185
631	5.13%	11
727	5.92%	100
995	8.10%	240
8	0.07%	47
0	0.00%	180
0	0.00%	1
0	0.00%	40

12289	total in detail file	

max5
#	%	Code
-----------------
5517	73.88%	45
506	6.78%	185
337	4.51%	11
488	6.53%	100
608	8.14%	240
11	0.15%	47
0	0.00%	180
0	0.00%	1
1	0.01%	40
		
7468	total in detail file	

max6
#	%	Code
-----------------
1494	84.22%	45
104	5.86%	185
74	4.17%	11
8	0.45%	100
86	4.85%	240
8	0.45%	47
0	0.00%	180
0	0.00%	1
0	0.00%	40
		
1774	total in detail file	


At 11:57 AM 9/24/98 -0400, you wrote:
>Well, I don't have this script, but it's easy to throw something together
>that should work...
>
>fgrep "Ascend-Disconnect-Cause" detail | awk '{ print $3 }' | sort | uniq
-c | sort -rn
>
>Doesn't give percentages, but hey, it's a one liner :-)
>
>-Phil

----
Robert Hof, 
Head-Honcho-Type			If at first you don't succeed, then 
NETinc - The Internet People		skydiving definitely isn't for you.
++ Ascend Users Mailing List ++
To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd:	<http://www.nealis.net/ascend/faq>


References: