Re: logwatch patches - disk_space

"Stefan Jakobs" <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
gulikoza wrote:
> This has always bothered me, the disk_space script will not sort human
> readable sizes :-)
> This would be easy to solve if coreutils >= 7.5 is used (sort -h) but it's a
> bit more complicated otherwise. Patch attached.

I'm not satisfied with that patch. The result doesn't excuse to call du twice. 

> Regards,
> gulikoza

Thanks for sharing your code.
Regards
Stefan

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.