Prev: squid with login and password
Next: KDE 4.3.4 Desktops
From: WLS on 31 Jan 2010 17:47 On 01/31/2010 01:56 PM, felmon wrote: > On Fri, 29 Jan 2010 14:41:22 +0000, Rob wrote: > >> it >> would be a good thing if a big balloon appeared on the desktop whenever >> diskspace runs below a certain value, warning the user. > > someone has probably written this utility; we should look. > > if I had the time to think about it, and were less clumsy at composing > scripts, I think I could cook up something primitive using awk and df. > > Felmon Doesn't KDE have a System Monitor app? The Gnome System Monitor shows available disk space in the System tab. The Files Systems tab shows disk usage for all devices.
From: JT on 1 Feb 2010 02:36 On 31/01/10 23:47, WLS wrote: > On 01/31/2010 01:56 PM, felmon wrote: > >> On Fri, 29 Jan 2010 14:41:22 +0000, Rob wrote: >> >> >>> it >>> would be a good thing if a big balloon appeared on the desktop whenever >>> diskspace runs below a certain value, warning the user. >>> >> someone has probably written this utility; we should look. >> >> if I had the time to think about it, and were less clumsy at composing >> scripts, I think I could cook up something primitive using awk and df. >> >> Felmon >> > Doesn't KDE have a System Monitor app? The Gnome System Monitor shows > available disk space in the System tab. The Files Systems tab shows disk > usage for all devices. > The Gnome one even gives you warnings (pop-ups) when disk space runs low. Found that out when using rerouting to '/dev/nul' (sic) :) -- Kind regards, JT
From: WLS on 1 Feb 2010 08:55 On Mon, 01 Feb 2010 08:36:28 +0100, JT wrote: > On 31/01/10 23:47, WLS wrote: >> On 01/31/2010 01:56 PM, felmon wrote: >> >>> On Fri, 29 Jan 2010 14:41:22 +0000, Rob wrote: >>> >>> >>>> it >>>> would be a good thing if a big balloon appeared on the desktop >>>> whenever diskspace runs below a certain value, warning the user. >>>> >>> someone has probably written this utility; we should look. >>> >>> if I had the time to think about it, and were less clumsy at composing >>> scripts, I think I could cook up something primitive using awk and df. >>> >>> Felmon >>> >> Doesn't KDE have a System Monitor app? The Gnome System Monitor shows >> available disk space in the System tab. The Files Systems tab shows >> disk usage for all devices. >> > The Gnome one even gives you warnings (pop-ups) when disk space runs > low. Found that out when using rerouting to '/dev/nul' (sic) :) Sweet! -- openSUSE 11.2x86_64 (Gnome 2.28.0) | AMD Athlon(tm) 64 3000+ | 2GB RAM
From: Paul J Gans on 1 Feb 2010 15:19 JT <reply_only_to(a)newsgroup.nl> wrote: >On 31/01/10 23:47, WLS wrote: >> On 01/31/2010 01:56 PM, felmon wrote: >> >>> On Fri, 29 Jan 2010 14:41:22 +0000, Rob wrote: >>> >>> >>>> it >>>> would be a good thing if a big balloon appeared on the desktop whenever >>>> diskspace runs below a certain value, warning the user. >>>> >>> someone has probably written this utility; we should look. >>> >>> if I had the time to think about it, and were less clumsy at composing >>> scripts, I think I could cook up something primitive using awk and df. >>> >>> Felmon >>> >> Doesn't KDE have a System Monitor app? The Gnome System Monitor shows >> available disk space in the System tab. The Files Systems tab shows disk >> usage for all devices. >> >The Gnome one even gives you warnings (pop-ups) when disk space runs >low. Found that out when using rerouting to '/dev/nul' (sic) :) It should be simple enough to put together a script in bash, perl, or python that basically does a df -h, and then extracts the percentage used for each file system (the fourth column on the output) and display a warning if it rises above some value such as 95%. Running this via cron every 30 seconds or whatever should do the trick. I'm sure the Gnome one (which should run from KDE as well) does it more efficiently and presents better warnings though. -- --- Paul J. Gans
From: JT on 2 Feb 2010 04:15
On 01/02/10 21:19, Paul J Gans wrote: > JT <reply_only_to(a)newsgroup.nl> wrote: > >> On 31/01/10 23:47, WLS wrote: >> >>> On 01/31/2010 01:56 PM, felmon wrote: >>> >>> >>>> On Fri, 29 Jan 2010 14:41:22 +0000, Rob wrote: >>>> >>>> >>>> >>>>> it >>>>> would be a good thing if a big balloon appeared on the desktop whenever >>>>> diskspace runs below a certain value, warning the user. >>>>> >>>>> >>>> someone has probably written this utility; we should look. >>>> >>>> if I had the time to think about it, and were less clumsy at composing >>>> scripts, I think I could cook up something primitive using awk and df. >>>> >>>> Felmon >>>> >>>> >>> Doesn't KDE have a System Monitor app? The Gnome System Monitor shows >>> available disk space in the System tab. The Files Systems tab shows disk >>> usage for all devices. >>> >>> >> The Gnome one even gives you warnings (pop-ups) when disk space runs >> low. Found that out when using rerouting to '/dev/nul' (sic) :) >> > It should be simple enough to put together a script in > bash, perl, or python that basically does a df -h, and then > extracts the percentage used for each file system (the > fourth column on the output) and display a warning if it > rises above some value such as 95%. > > Running this via cron every 30 seconds or whatever should > do the trick. I'm sure the Gnome one (which should run from > KDE as well) does it more efficiently and presents better > warnings though. > > I don't think it will run from KDE, because this is done by the 'gnome-settings-daemon' as far as I can see. This sounds very gnome-internal. But I'm sure KDE has it's own neat trick for it? A google will maybe show me wrong ;-) -- Kind regards, JT |