Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm interested to access large log files on a unix server with textpad. (textpad for history reasons, i personally prefer ofcourse less awk grep etc) but I have many personal who rather be using textpad they have years of experience with it and can tweak it to do whatever they want.

The problem is that if i connect for example with winscp to get the log files to textpad it first fetches the full log and user needs to wait and it bloats etc. I would rather the textpad to somehow access the unix machine and get only the relevant segment of the log file (large log files could be GB) anyone knows how can this be achieved?

share|improve this question
add comment

3 Answers

up vote 1 down vote accepted

If you were to set up Samba, this would allow you to share parts of your linux filesystem with your windows systems. The samba share acts just like a windows share so only the portions of a file in use get pulled across the network. There are lots of HowTos available on setting up Samba but as you don't say which linux distribution you're using I can't point you at one.

share|improve this answer
    
is there anything i can install on the windows side of the system? unfortunately I can't (and cant explain here why) install samba on the server side. –  Tomer Jan 12 '11 at 12:30
    
Installing Samba will not fix this. Jason's users wants to use a GUI text editor to only edit parts of a text file. Not possible, AFAIK. –  mfinni Jan 12 '11 at 12:55
add comment

Rotate your logs on a smaller interval so that they don't get so big. You can't use a GUI text editor to only load/display/edit parts of a text file. That's what ed and sed are for.

share|improve this answer
add comment

I 've seen that Eclipse's editor ( kate in linux) is capable of dealing with large files. It does not prefetch it. Of course the performance is a little limited it has to load segments on its scroll.

Generally, if you want to access a large file it's better to disable the line indicator (which can cause too much overhead).

you may have a look at http://forums.dzone.com/eclipse/2159-editor-large-text-files-1-gig.html (it's a bit old and probably for windows)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.