bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] An gawk problem.


From: Aharon Robbins
Subject: Re: [bug-gawk] An gawk problem.
Date: Fri, 18 Oct 2013 12:58:01 +0300
User-agent: Heirloom mailx 12.5 6/20/10

Hi.

You can send these kinds of mails to address@hidden, in the future.
I am cc'ing there.

And your English is good enough that I understood.

I need to know the following:

1. What version of gawk are you using?  Use    gawk --version   to find out.
2. What operating system are you using? Windows (if so, which version),
   Linux, other?
3. Did you compile gawk yourself, and if not where did you get it from?

In any case, what you describe should not be happening.

Please let me know the answers to the above questions and then we
can proceed.

Thanks,

Arnold


> Date: Fri, 18 Oct 2013 17:41:54 +0800
> Subject: An gawk problem.
> From: ?????? <address@hidden>
> To: address@hidden
>
> Hi, Dear Arnold:
> Thank you for your work on gawk, and thanks for this useful tool so that i
> can do some things easily.
>  But recentlly, i have a problem with gawk, i am not sure that this can be
> called a bug, because i can't determine if this is related to my machine's
> performance. The following is my problem:
>
> awk '{NAME[$1]++}; END {for (name in NAME) print NAME[name], name}'
> ip_address.txt | sort -nr | head -n1000 | awk '{print $2}'
>
> I want to use the command above to get the top 1000 visiter's IP address.
> When the size of ip_address.txt is small, everything is OK. But when the
> size of ip_address.txt up to 1 Gbyte, the command above don't have any
> results and still runing after 3 days.(Meanwhile, the memory of my computer
> has been swallowed up)
>
> My computer's main configuration information is as follows:
> CPU: Intel Core i3 330M
> Memory: 4G DDR3 1333MHz
> SWAP: 3.5G
>
> I don't know what to do next, and i want to use gawk to do this job. Can
> you give me some advice or instruct me what reason is this situation.
>  Thanks in advance!
>
> PS: I'm not familiar with English, i have try my best to describe my
> problem but if the description is not clear for you, I'm so sorry!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]