Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


thanks | 26 comments | Create New Account
Click here to return to the 'thanks' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
thanks
Authored by: moyashi on Aug 09, '01 06:33:38PM

Thanks for saving the trouble. Last night before going to bed I was wondering about that. IP Tables that is.

Although Code Red doesn't necessarily affect my computer it has in another sense. I've noticed hard drive creep. Slowly and steadly the access_log is filling up which takes up space.

Thanks for your reply. I probably would've played with the script and found out the hard.



[ Reply to This | # ]
Hard drive space
Authored by: cardmagic on Aug 10, '01 03:03:12PM

One line of error code from one Code Red attempt is less than 450 bytes. My hard drive is 30 Gigabytes. 450 bytes divided by 30 Gigabytes is just about Zero. Even 100 time 450 bytes (about 44k) when in perspective of a 30Gb, or even 12Gb) is Zero. If you don't think you can spare an extra 44k of disk space, I think it is time for you to get a new computer.


-Lucas
http://www.rufy.com/



[ Reply to This | # ]
Hard drive space
Authored by: moyashi on Aug 10, '01 03:41:38PM

Ok, so it's not that then. Thanks.

How about this then. I open access_log up with pico and it complains that file has long lines and there are now 65571 lines total in my log.

Sure, my question might be outrageous for those more experienced than I am and I probably should open files with a different type of editor that allows scrolling versus control-V or control-Y to page down or up. I should even get myself a book to study more about my system, this I all agree with. I'm not even really complaing that I'm missing some drive space. I just mentioned drive creep and how I can cut down on my log and save space. I should have also mentioned that I would like to reduce the "length" of my log. sorry.


So, let me re-ask my question. How can I cut down my log's "length"?


I prefer using pico since it's a little more unix than let's say textedit would be and therefore reminds me that I'm editing files that are part of the system.



[ Reply to This | # ]
Hard drive space
Authored by: cardmagic on Aug 10, '01 04:00:02PM

To cut down on the space it takes, (which is completely minimal, therefore giving you a trivial amount of hard disk space) just delete the log.

-Lucas



[ Reply to This | # ]