getting the last part of a file...???

Advertisement

adri
Joined:
Posts:
2
Location:
UK

getting the last part of a file...???

Hi

Is it possible to only fetch the last say 200 lines of a file? I'm wanting to fetch the last couple of days worth of an apache access log to keep an eye on what's happening. If I fetch the whole thing every time though I'll end up using up my allowed bandwidth!

TIA

Adri
_________________
http://www.peak-hives.co.uk

Reply with quote

Advertisement

adri
Joined:
Posts:
2
Location:
UK

just tried using

'tail --lines 2000 "!"'

as a custom command but it then told me the current sfpt didn't support the command and needed to open a seperate shell. when I said yes open a new shell I get 'invalid access to memory'

If anyone can help it'd be appreciated.

Cheers


Adri
_________________
http://www.peak-hives.co.uk

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
34,943
Location:
Prague, Czechia

adri wrote:

when I said yes open a new shell I get 'invalid access to memory'
Thanks for your post. This bug is being tracked already.

Reply with quote

Guest

Hi, thanks for the reply. When is 4.2.4 due for release?

TIA

Adri


martin wrote:

adri wrote:

when I said yes open a new shell I get 'invalid access to memory'
Thanks for your post. This bug is being tracked already.

Reply with quote

martin
Site Admin
martin avatar

Anonymous wrote:

Hi, thanks for the reply. When is 4.2.4 due for release?
Few weeks. Though the bug is present in 4.2.3 only, so downgrade helps as well.

Reply with quote

Advertisement

You can post new topics in this forum