Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using Putty to SSH into my server. I installed iptraf to see my network usage. And (horrors) my IP address is sending in traffic at my server's SSH at 60kbps. Keeping Putty open for a few hours can generate GBs of traffic.

I know that WinSCP doesnt generate idle traffic. What seems to be the problem?


EDIT:ANSWER

I ran wireshark along with Putty. Turns out that iptraf was the problem. An interactive app which constantly updates the display generates lots of traffic. An idle terminal generates no traffic.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

As per your update regarding iptraf, this is common to any console app that updates large chunks of screen regularly.

One solution if you want to leave such things running is to run them via screen (available in just about any Linux distribution) or similar (tmux is a popular alternative, though not as widely available in standard repositories so you may need to compile it up yourself). Have the tool running in one screen "window" and an idle shell in another, leave the idle one on normally and switch when you want to look at the tool's output for a short while. You can even completely log off and leave the tool(s) running so you can log back in again at a later time and find them still there doing their job.

share|improve this answer
    
Great - will try that out! –  aitchnyu Oct 1 '11 at 11:02

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.