Re: Possible dcache BUG

From: viro
Date: Sun Aug 15 2004 - 06:27:06 EST


On Sun, Aug 15, 2004 at 07:04:49AM -0400, Gene Heskett wrote:
> On Sunday 15 August 2004 06:37, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> wrote:
> >On Sun, Aug 15, 2004 at 06:10:28AM -0400, Gene Heskett wrote:
> >> all in one line of text, its a bit hard to locate real duplicates.
> >> But I think I see some right now! Can this line be modified to
> >> spit them out, one entry per line with all dups sorted to be
> >> adjacent?
> >
> >Sure, just add \n in format here. Sorry, hadn't noticed that...
> >
> >> >+ seq_printf(m, "%d:%d:%lu:%o\n",
>
> And here it is right after starting x on the reboot. (I take it the
> first number is the number of dups?)

Yes - uniq -c merges duplicates and puts the number of copies in front
of line, so sort | uniq -c | sort -nr will sort by frequency and print
each line with number of times it had occured.

You don't have any duplicates so far and the output looks OK...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/