[ydl-gen] Scroll lock in terminal mode?
David Seikel
onefang at gmail.com
Wed Jan 10 18:19:02 MST 2007
On Wed, 10 Jan 2007 15:58:42 -0800 jekillen <jekillen at prodigy.net>
wrote:
> Hello;
> I am running YDL 3.0 on a Mac 3400c Powerbook. I use it
> for backup DNS server for my web sites. Since that is all
> it really does, now, I have it running 24/7 in terminal mode.
> I would like to do 'cat access_log | tail -100' to see the
> latest and greatest hits. I have a placeholder web site
> running on it and someone has taken to overloading it
> with what look like pings ("-" "-"). It has been eating up
> the memory (only has 144Mb max) and it is killing httpd
> processes, and sendmail process. So I reboot, and since
> I don't really need Apache running I shut it down. But I
> need to do some sleuthing and maybe set some hosts.deny
> rules.
>
> I don't know how to clear the display or do scroll lock so I
> can see what is above the actual display. Does anyone know?
cat access_log | tail -100 | less
But simply -
less access_log
might be better.
More information about the yellowdog-general
mailing list