Re: [newbie] Disk Space Left?
On Saturday 04 September 2004 17:34, Steve wrote: Hi, I'm using Mandrake 10.0 with KDE. Where Can I find how much disk space I have left? Thank you, Steve In a terminal : df Kaj Haulrich. -- *sent from a 100% Microsoft-free workstation* * http://haulrich.net * *Running Linux (Mandrake 10.0) - kernel 2.6.7* Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Disk Space Left?
On Saturday 04 Sep 2004 16:34, Steve wrote: Hi, I'm using Mandrake 10.0 with KDE. Where Can I find how much disk space I have left? System/Configuration/KDE/Information/Sorage Devices works here :-) I'm sure there will be a quicker way...if its just your Home dir.right click and select properties.. -- [EMAIL PROTECTED] Powered by Mandrake 10 Microsoft Free Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Disk Space Left?
On Sat, 4 Sep 2004 08:34:45 -0700 Steve [EMAIL PROTECTED] wrote: Hi, I'm using Mandrake 10.0 with KDE. Where Can I find how much disk space I have left? Thank you, Steve *** Try.. df -h. All mounted partitions will be shown with usage and what is left. -- Johan Sch Registered Linux User #330034 May this be a good day for learning Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] disk space advice
On Wed, 05 Jun 2002 08:33, Azrael wrote: two very good answers.. and I have gone with both of them :) many thanks!! Azrael, I would have a look in the syslog and see what the offender was/is (it is just a text file). Something must be putting out lots of error messages to cause syslog to get that huge. Fix the error... fix the problem the right way. -- Michael Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] disk space advice
keep a console open, and in it, have this running: tail -f /var/log/syslog then you get a realtime updating window of whats being added to syslog.. then you can use all your usual apps and see what they are adding. rgds frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of dfox Sent: Wednesday, 5 June 2002 11:22 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] disk space advice /dev/hdb3 12G 11G 1.5G 88% / /dev/hdb6 2.0G 868M 1.1G 44% /home which seems fine... but nearly every day '/' gets up to 100% .. and can be brought down to 88% by deleting /var/log/syslog .. meaning this log file gets to about 1.5G in size. Hmm. I went through an exercise recently (I get a big pile of news nere). syslog and fetchnews (mainly due to that) tend to write fairly *large* files when slogging down a big newsfeed. I originally had /var on its own rather small partition (maybe 500 megs). It turned out that well -- 500 megs wasn't nearly enough to use for /var, and 1.6 gigs (/var/spool, on a separate older drive) was too small to use for news. So I moved things around, got rid of /opt (didn't really need it anyway), and used the extra disk space. Plus I gave /var/spool its own slice of disk real estate - 5 gigs (used to have /opt there) and turned the whole 1.6 gig drive over to /var, just becauase of those really big logs. There were several times when I had to do my own rotating - which isn't all that difficult. You need to 'service stop syslog' to turn the syslog service off (as root, btw) and also go into the /var/log and gzip the rather large file. At the same time, you can move the old log files out of the way. That's basically what the syslog script does. For instance: cd /var/log rm -f biglog.5.gz mv biglog.4.gz biglog.5.gz mv biglog.3.gz biglog.4.gz mv biglog.2.gz biglog.3.gz mv biglog.1.gz biglog.2.gz gzip biglog mv biglog.gz biglog.1.gz touch biglog Then restart ('service syslog start') your syslog, and the space is given back. And you don't have to blindly remove stuff in /var/log - that approach may cause you to lose some log data that you will need. Oh, and I've experienced times where there wasn't enough space on the disk to hold the gzipped copy - so in that event, I would cp the log files to /tmp, gzip them there and then mv out of /tmp to /var/log. :) What can I do to prevent this? tips? I don't really like the idea of setting up a cron job to daily delete it! :) That would be counterproductive - why delete logs that you just created that day? And the other suggestions - they too have merit. You might have to make /var bigger, or symlink /var/log to /home. I don't particularly like the latter, since it means that if you backup /home you get log files in the backup too. What you probably should do first is to try and narrow down what it is that's creating such a big log file. Use 'tail' on it periodically to find ouit what kinds of things it's writing there. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] disk space advice
Michael Adams wrote: On Wed, 05 Jun 2002 08:33, Azrael wrote: two very good answers.. and I have gone with both of them :) many thanks!! Azrael, I would have a look in the syslog and see what the offender was/is (it is just a text file). Something must be putting out lots of error messages to cause syslog to get that huge. Fix the error... fix the problem the right way. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com this is the sort of stuff syslog is giving me: Jun 5 11:46:26 localhost kernel: ppp_synctty: send buffer, count = 44 Jun 5 11:46:26 localhost kernel: FF 03 00 21 45 00 00 28 ...!E..( Jun 5 11:46:26 localhost kernel: 00 00 40 00 FF 06 9D 64 ..@d Jun 5 11:46:26 localhost kernel: C3 89 20 01 C2 6A 38 76 .. ..j8v Jun 5 11:46:26 localhost kernel: 94 60 00 8F 6C 13 62 20 .`..l.b Jun 5 11:46:26 localhost kernel: 00 00 00 00 50 04 00 00 P... Jun 5 11:46:26 localhost kernel: 6E 52 00 00 nR.. Jun 5 11:46:26 localhost kernel: ppp_synctty: receive buffer, count = 56 Jun 5 11:46:26 localhost kernel: FF 03 00 21 45 00 00 34 ...!E..4 Jun 5 11:46:26 localhost kernel: 60 E2 40 00 3F 06 FC 76 `.@.?..v Jun 5 11:46:26 localhost kernel: C2 6A 38 76 C3 89 20 01 .j8v.. . Jun 5 11:46:26 localhost kernel: 00 8F 94 60 7E 5D DD 4F ...`~].O Jun 5 11:46:26 localhost kernel: 6C 13 62 21 80 10 16 A0 l.b! Jun 5 11:46:26 localhost kernel: 4A 59 00 00 01 01 08 0A JY.. Jun 5 11:46:26 localhost kernel: 1D A7 3F 21 00 7F 1B 40 ..?!... Jun 5 11:46:26 localhost kernel: ppp_synctty: send buffer, count = 44 Jun 5 11:46:26 localhost kernel: FF 03 00 21 45 00 00 28 ...!E..( Jun 5 11:46:26 localhost kernel: 00 00 40 00 FF 06 9D 64 ..@d Jun 5 11:46:26 localhost kernel: C3 89 20 01 C2 6A 38 76 .. ..j8v Jun 5 11:46:26 localhost kernel: 94 60 00 8F 6C 13 62 21 .`..l.b! Jun 5 11:46:26 localhost kernel: 00 00 00 00 50 04 00 00 P... Jun 5 11:46:26 localhost kernel: 6E 51 00 00 nQ.. it doesn't make all that much sense to me . :/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] disk space advice
I have the following packages installed, and yet xine doesn't play encrypted dvds. What am I doing wrong? (I assume it's always my fault - and am hardly ever wrong there). package libcss-0.1.0-5 is already installed package libdvdcss2-1.2.0-2plf is already installed package libdvdcss2-devel-1.2.0-2plf is already installed package libdvdnav-0.1.1-0 is already installed package libdvdread-0.9.3-ogle1 is already installed package libdvdread-devel-0.9.3-ogle1 is already installed package libxine0-0.9.10-1 is already installed package libxine0-devel-0.9.10-1 is already installed package w32codec-0.50-1 is already installed package xine-dvdnav-0.9.10-0 is already installed package xine-ui-0.9.10-1 is already installed package xvid-0.20020412-3 is already installed package xvid-devel-0.20020412-3 is already installed -- many thanks Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
DVD with XINE was .. Re: [newbie] disk space advice
That'll teach me to not watch what I'm doing.. Azrael wrote: I have the following packages installed, and yet xine doesn't play encrypted dvds. What am I doing wrong? (I assume it's always my fault - and am hardly ever wrong there). package libcss-0.1.0-5 is already installed package libdvdcss2-1.2.0-2plf is already installed package libdvdcss2-devel-1.2.0-2plf is already installed package libdvdnav-0.1.1-0 is already installed package libdvdread-0.9.3-ogle1 is already installed package libdvdread-devel-0.9.3-ogle1 is already installed package libxine0-0.9.10-1 is already installed package libxine0-devel-0.9.10-1 is already installed package w32codec-0.50-1 is already installed package xine-dvdnav-0.9.10-0 is already installed package xine-ui-0.9.10-1 is already installed package xvid-0.20020412-3 is already installed package xvid-devel-0.20020412-3 is already installed -- many thanks Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: DVD with XINE was .. Re: [newbie] disk space advice
On Wednesday 05 June 2002 14:53, you wrote: That'll teach me to not watch what I'm doing.. Azrael wrote: I have the following packages installed, and yet xine doesn't play encrypted dvds. What am I doing wrong? (I assume it's always my fault - and am hardly ever wrong there). package libcss-0.1.0-5 is already installed package libdvdcss2-1.2.0-2plf is already installed package libdvdcss2-devel-1.2.0-2plf is already installed package libdvdnav-0.1.1-0 is already installed package libdvdread-0.9.3-ogle1 is already installed package libdvdread-devel-0.9.3-ogle1 is already installed package libxine0-0.9.10-1 is already installed package libxine0-devel-0.9.10-1 is already installed package w32codec-0.50-1 is already installed package xine-dvdnav-0.9.10-0 is already installed package xine-ui-0.9.10-1 is already installed package xvid-0.20020412-3 is already installed package xvid-devel-0.20020412-3 is already installed -- many thanks -- -- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com You don't say which distro your on, but if it's LM8.2 take their xine version off and download an rpm package from Redhat, it has DeCss in the title, eg. xine-0.4.3-fr1.decss.rpm and install it straight as it comes, mine works just fine. John -- John Richard Smith [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: DVD with XINE was .. Re: [newbie] disk space advice
On Wednesday 05 June 2002 15:19, you wrote: John Richard Smith wrote: On Wednesday 05 June 2002 14:53, you wrote: That'll teach me to not watch what I'm doing.. Azrael wrote: I have the following packages installed, and yet xine doesn't play encrypted dvds. What am I doing wrong? (I assume it's always my fault - and am hardly ever wrong there). package libcss-0.1.0-5 is already installed package libdvdcss2-1.2.0-2plf is already installed package libdvdcss2-devel-1.2.0-2plf is already installed package libdvdnav-0.1.1-0 is already installed package libdvdread-0.9.3-ogle1 is already installed package libdvdread-devel-0.9.3-ogle1 is already installed package libxine0-0.9.10-1 is already installed package libxine0-devel-0.9.10-1 is already installed package w32codec-0.50-1 is already installed package xine-dvdnav-0.9.10-0 is already installed package xine-ui-0.9.10-1 is already installed package xvid-0.20020412-3 is already installed package xvid-devel-0.20020412-3 is already installed -- many thanks -- -- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com You don't say which distro your on, but if it's LM8.2 take their xine version off and download an rpm package from Redhat, it has DeCss in the title, eg. xine-0.4.3-fr1.decss.rpm and install it straight as it comes, mine works just fine. John I did take off the default installed version of LM8.2 xine. And installed all of the above. I uninstalled all.. installed the xine you indicated.. and got this when trying to run it: This is xine - a free video player v0.4.3 (c) 2000, 2001 by G. Bartsch and the xine project team libpng warning: Application was compiled with png.h from libpng-1.2.1 libpng warning: Application is running with png.c from libpng-1.0.12 libpng error: Incompatible libpng version in application and library IMLIB ERROR: Cannot load image: /usr/share/xine/skins/xine_logo.png All fallbacks failed. logo not found :-(( Isn't there a way I can use the latest 0.9.10 rpm's I have got.. and just enable proper decryption of dvd's using libcss? - Azrael Well I wish there was. I'm guessing but it would seem that your choice of install seems to fail to enable decss encription. As I'm unfamiliar with your choice it is difficult to say what may be the reason. I can only say that when you first tried to install the main xine rpm , it failed because of dependenties, it usually does, but it is a question as to whether you have the right dependencies and whether indeed it can work with decss encription file at all. I had the same problems, and that is why I chose the abovementioned Redhat package as it included as part of it's own install the correct decss encription file.I was built in . Mine seem to work flawlessly. So I guess from the above message that there is still a piece of libpng left installed that is in conflict with this package. I know that when I went down the same path as you I had all sorts of versions to try out before I hit on one that worked. It is often difficult to tellwhether in fact everything is cleared out on uninstall. I don't suppose you have been installing tar ball version by any chance. they don't remove easily unless you installed it with checkinstall programme command. I can see that you have libdvdcss2 which suggests an encription package, but is it the right one. It looks as though xine0-0.9.10-1 is your main xine package, does the installer mention which decss package it is dependent upon. You see this version may or may not work with decss encription packages.I don't know. These are the sort of question you will have to ask youself and seek to answer. The abovemention list of your looks impressive but unless they are the right combination of packages it will not work. John -- John Richard Smith [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: DVD with XINE was .. Re: [newbie] disk space advice
John Richard Smith wrote: On Wednesday 05 June 2002 15:19, you wrote: John Richard Smith wrote: On Wednesday 05 June 2002 14:53, you wrote: That'll teach me to not watch what I'm doing.. Azrael wrote: I have the following packages installed, and yet xine doesn't play encrypted dvds. What am I doing wrong? (I assume it's always my fault - and am hardly ever wrong there). package libcss-0.1.0-5 is already installed package libdvdcss2-1.2.0-2plf is already installed package libdvdcss2-devel-1.2.0-2plf is already installed package libdvdnav-0.1.1-0 is already installed package libdvdread-0.9.3-ogle1 is already installed package libdvdread-devel-0.9.3-ogle1 is already installed package libxine0-0.9.10-1 is already installed package libxine0-devel-0.9.10-1 is already installed package w32codec-0.50-1 is already installed package xine-dvdnav-0.9.10-0 is already installed package xine-ui-0.9.10-1 is already installed package xvid-0.20020412-3 is already installed package xvid-devel-0.20020412-3 is already installed -- many thanks -- -- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com You don't say which distro your on, but if it's LM8.2 take their xine version off and download an rpm package from Redhat, it has DeCss in the title, eg. xine-0.4.3-fr1.decss.rpm and install it straight as it comes, mine works just fine. John I did take off the default installed version of LM8.2 xine. And installed all of the above. I uninstalled all.. installed the xine you indicated.. and got this when trying to run it: This is xine - a free video player v0.4.3 (c) 2000, 2001 by G. Bartsch and the xine project team libpng warning: Application was compiled with png.h from libpng-1.2.1 libpng warning: Application is running with png.c from libpng-1.0.12 libpng error: Incompatible libpng version in application and library IMLIB ERROR: Cannot load image: /usr/share/xine/skins/xine_logo.png All fallbacks failed. logo not found :-(( Isn't there a way I can use the latest 0.9.10 rpm's I have got.. and just enable proper decryption of dvd's using libcss? - Azrael Well I wish there was. I'm guessing but it would seem that your choice of install seems to fail to enable decss encription. As I'm unfamiliar with your choice it is difficult to say what may be the reason. I can only say that when you first tried to install the main xine rpm , it failed because of dependenties, it usually does, but it is a question as to whether you have the right dependencies and whether indeed it can work with decss encription file at all. I had the same problems, and that is why I chose the abovementioned Redhat package as it included as part of it's own install the correct decss encription file.I was built in . Mine seem to work flawlessly. So I guess from the above message that there is still a piece of libpng left installed that is in conflict with this package. I know that when I went down the same path as you I had all sorts of versions to try out before I hit on one that worked. It is often difficult to tellwhether in fact everything is cleared out on uninstall. I don't suppose you have been installing tar ball version by any chance. they don't remove easily unless you installed it with checkinstall programme command. I can see that you have libdvdcss2 which suggests an encription package, but is it the right one. It looks as though xine0-0.9.10-1 is your main xine package, does the installer mention which decss package it is dependent upon. You see this version may or may not work with decss encription packages.I don't know. These are the sort of question you will have to ask youself and seek to answer. The abovemention list of your looks impressive but unless they are the right combination of packages it will not work. John Well at least something is impressive this end :) It's really annoying.. just about a year ago I had xine working with encrypted dvd's - and now I seem to have taken steps backwards. It's enough to make you turn to god! well... not quite. thanks for your help !!! :) -- Azrael Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] disk space advice
On Wed, 05 Jun 2002 22:47, Azrael wrote: Michael Adams wrote: On Wed, 05 Jun 2002 08:33, Azrael wrote: two very good answers.. and I have gone with both of them :) many thanks!! Azrael, I would have a look in the syslog and see what the offender was/is (it is just a text file). Something must be putting out lots of error messages to cause syslog to get that huge. Fix the error... fix the problem the right way. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com this is the sort of stuff syslog is giving me: Jun 5 11:46:26 localhost kernel: ppp_synctty: send buffer, count = 44 Jun 5 11:46:26 localhost kernel: FF 03 00 21 45 00 00 28 ...!E..( Jun 5 11:46:26 localhost kernel: 00 00 40 00 FF 06 9D 64 ..@d Jun 5 11:46:26 localhost kernel: C3 89 20 01 C2 6A 38 76 .. ..j8v Jun 5 11:46:26 localhost kernel: 94 60 00 8F 6C 13 62 20 .`..l.b Jun 5 11:46:26 localhost kernel: 00 00 00 00 50 04 00 00 P... Jun 5 11:46:26 localhost kernel: 6E 52 00 00 nR.. Jun 5 11:46:26 localhost kernel: ppp_synctty: receive buffer, count = 56 Jun 5 11:46:26 localhost kernel: FF 03 00 21 45 00 00 34 ...!E..4 Jun 5 11:46:26 localhost kernel: 60 E2 40 00 3F 06 FC 76 `.@.?..v Jun 5 11:46:26 localhost kernel: C2 6A 38 76 C3 89 20 01 .j8v.. . Jun 5 11:46:26 localhost kernel: 00 8F 94 60 7E 5D DD 4F ...`~].O Jun 5 11:46:26 localhost kernel: 6C 13 62 21 80 10 16 A0 l.b! Jun 5 11:46:26 localhost kernel: 4A 59 00 00 01 01 08 0A JY.. Jun 5 11:46:26 localhost kernel: 1D A7 3F 21 00 7F 1B 40 ..?!... Jun 5 11:46:26 localhost kernel: ppp_synctty: send buffer, count = 44 Jun 5 11:46:26 localhost kernel: FF 03 00 21 45 00 00 28 ...!E..( Jun 5 11:46:26 localhost kernel: 00 00 40 00 FF 06 9D 64 ..@d Jun 5 11:46:26 localhost kernel: C3 89 20 01 C2 6A 38 76 .. ..j8v Jun 5 11:46:26 localhost kernel: 94 60 00 8F 6C 13 62 21 .`..l.b! Jun 5 11:46:26 localhost kernel: 00 00 00 00 50 04 00 00 P... Jun 5 11:46:26 localhost kernel: 6E 51 00 00 nQ.. it doesn't make all that much sense to me . :/ Other than recognising it comes from ppp which is the internet connection deamon i am not able to help you much there either. That would definately be the cause of it though. It seems to be dumping the contents of the buffers it talks about to the log. This is deffinately an error of some type. I hope someone else here has seen this before. If there is no helpful reply over the next couple of days take it to the expert list. -- Michael Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] disk space advice
On Tuesday 04 June 2002 03:55 pm, Azrael wrote: I need to ask for some advice :) df -h gives me: /dev/hdb3 12G 11G 1.5G 88% / /dev/hdb6 2.0G 868M 1.1G 44% /home which seems fine... but nearly every day '/' gets up to 100% .. and can be brought down to 88% by deleting /var/log/syslog .. meaning this log file gets to about 1.5G in size. What can I do to prevent this? tips? I don't really like the idea of setting up a cron job to daily delete it! :) symlink it to /home -- Gerald Waugh http://www.frontstreetnetworks.com :: Phone. [011] 203.785.0699 Front Street Networks LLC | SOHO Networks Web Site Hosting 229 Front Street, Ste. #C, New Haven, CT, 06513-3203 United States Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] disk space advice
can't you just edit the cron logrotate setup to roll it over daily instead of weekly?? thats what I did with one of my 7.2 boxs that was hosting blocks of IP's and was filling fast.. worked great.. was awhile ago, but if I remember.. I went into /etc/logrotate.d/syslog and changed weekly to daily (think thats what I did, don't quote me, go and look :-) hope that helps.. oh, and buy another harddrive :-).. I don't think syslog likes symlinks much, I vaguely remmeber trying it once and I had problems with it. rgds Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Azrael Sent: Wednesday, 5 June 2002 3:56 AM To: [EMAIL PROTECTED] Subject: [newbie] disk space advice I need to ask for some advice :) df -h gives me: /dev/hdb3 12G 11G 1.5G 88% / /dev/hdb6 2.0G 868M 1.1G 44% /home which seems fine... but nearly every day '/' gets up to 100% .. and can be brought down to 88% by deleting /var/log/syslog .. meaning this log file gets to about 1.5G in size. What can I do to prevent this? tips? I don't really like the idea of setting up a cron job to daily delete it! :) thanks Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] disk space advice
two very good answers.. and I have gone with both of them :) many thanks!! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] disk space advice
/dev/hdb3 12G 11G 1.5G 88% / /dev/hdb6 2.0G 868M 1.1G 44% /home which seems fine... but nearly every day '/' gets up to 100% .. and can be brought down to 88% by deleting /var/log/syslog .. meaning this log file gets to about 1.5G in size. Hmm. I went through an exercise recently (I get a big pile of news nere). syslog and fetchnews (mainly due to that) tend to write fairly *large* files when slogging down a big newsfeed. I originally had /var on its own rather small partition (maybe 500 megs). It turned out that well -- 500 megs wasn't nearly enough to use for /var, and 1.6 gigs (/var/spool, on a separate older drive) was too small to use for news. So I moved things around, got rid of /opt (didn't really need it anyway), and used the extra disk space. Plus I gave /var/spool its own slice of disk real estate - 5 gigs (used to have /opt there) and turned the whole 1.6 gig drive over to /var, just becauase of those really big logs. There were several times when I had to do my own rotating - which isn't all that difficult. You need to 'service stop syslog' to turn the syslog service off (as root, btw) and also go into the /var/log and gzip the rather large file. At the same time, you can move the old log files out of the way. That's basically what the syslog script does. For instance: cd /var/log rm -f biglog.5.gz mv biglog.4.gz biglog.5.gz mv biglog.3.gz biglog.4.gz mv biglog.2.gz biglog.3.gz mv biglog.1.gz biglog.2.gz gzip biglog mv biglog.gz biglog.1.gz touch biglog Then restart ('service syslog start') your syslog, and the space is given back. And you don't have to blindly remove stuff in /var/log - that approach may cause you to lose some log data that you will need. Oh, and I've experienced times where there wasn't enough space on the disk to hold the gzipped copy - so in that event, I would cp the log files to /tmp, gzip them there and then mv out of /tmp to /var/log. :) What can I do to prevent this? tips? I don't really like the idea of setting up a cron job to daily delete it! :) That would be counterproductive - why delete logs that you just created that day? And the other suggestions - they too have merit. You might have to make /var bigger, or symlink /var/log to /home. I don't particularly like the latter, since it means that if you backup /home you get log files in the backup too. What you probably should do first is to try and narrow down what it is that's creating such a big log file. Use 'tail' on it periodically to find ouit what kinds of things it's writing there. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Disk Space in LM 8.1
On Thu, 07 Feb 2002 17:51:35 +0900 Charles Muller [EMAIL PROTECTED] scribbled in frustration: I just got a warning about insufficient disk space in Ximian Desktop, but I can find any place in the controls to give disk space information. Where can I find this? Chuck Type df in a terminal Mike -- Laws for the liberal education of youth, especially for the lower classes of people, are so extremely wise and useful that to a humane and generous mind, no expense for this purpose would be thought extravagant. --John Adams _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Disk Space in LM 8.1
On Thu, 07 Feb 2002 17:51:35 +0900 Charles Muller [EMAIL PROTECTED] revealed these words to me: I just got a warning about insufficient disk space in Ximian Desktop, but I can find any place in the controls to give disk space information. Where can I find this? Chuck on the commandline, issue the command df -k (or df-kh for more user-friendly display). ciao! -- Programming, an artform that fights back. = Anuerin G. Diaz Design Engineer Millennium Software, Incorporated 2305 B West Tower, Philippines Stocks Exchange Center, Exchange Road, Ortigas Center, Pasig City Tel# 638-3070 loc. 72 Fax# 638-3079 = Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Disk Space?
On Mon, Jul 17, 2000 at 09:33:24PM -0700, Ran Hooper wrote: How can I tell how much disk space I have free on a drive? On a drive? That's a little harder. You can use "df" to get an idea how much space is available on all the mounted filesystems, so if you really want to know how much space is available on a *drive*, you'll need to sum the listing up manually. Alexander Skwar -- Homepage: http://www.digitalprojects.com Sichere Mail? Mail an [EMAIL PROTECTED] fuer GnuPG Keys ICQ:7328191
RE: [newbie] Disk Space?
df -k should show total and free disk space in Kbytes for all drives. How can I tell how much disk space I have free on a drive?
Re: [newbie] Disk Space?
Hi, Pull up Xconsole and type df followed by enter Hope it helps, Rob Saul On Tue, 18 Jul 2000, Ran Hooper wrote: How can I tell how much disk space I have free on a drive? Regards, Ran Hooper [EMAIL PROTECTED]
Re: [newbie] Disk Space?
Ran Hooper wrote: How can I tell how much disk space I have free on a drive? For the drive that are not mounted i personaly use fdisk under root. There is probably a safer way :-). Jacques
Re: [newbie] Disk Space?
On Tue, 18 Jul 2000, you wrote: Ran Hooper wrote: How can I tell how much disk space I have free on a drive? For the drive that are not mounted i personaly use fdisk under root. There is probably a safer way :-). Open a terminal window and type: "df" without the quotes. This will tell you your space on all drives on your puter Hope this helps Maxtor
Re: [newbie] Disk Space?
Hello How about "df" or "df -H" df stands for disk free Jacques Le Marois wrote: Ran Hooper wrote: How can I tell how much disk space I have free on a drive? For the drive that are not mounted i personaly use fdisk under root. There is probably a safer way :-). Jacques -- /Jugge Johansson Linux To The People