The proc(5)
manpage describes iowait as "time waiting for IO to complete". This was mostly explained in an earlier question. My question is: while waiting in blocking IO, does this include waiting on blocking network IO, or only local IO?
Alex J's questions
Back in the IPv4-only days, a LISTEN connection showing in netstat
as listening on 0.0.0.0
would respond to connections on any IPv4 interface in the system.
As I understand it, the new IPv6 idiom ::
listens on all available IPv6 and IPv4 interfaces. Is this correct, for all OSes (Unix, Windows, Mac)? Is there an idiom to listen on just the IPv6 interfaces?
I have this in my .screenrc
caption always "%{= Kw} [%0c] %-Lw%{= KW}[%50>%n%f* %t]%{= Kw}%+Lw%=| %l | ${FULLHOST}"
It normally displays something like this:
[01:06] 0$ vim 1$ top 2-$ tail [3$* ~] | 0.26 0.54 0.36 | machine.domain.com
However, when I have lots of windows open, the data on the right is pushed off the edge and truncated:
[01:07] 0$ vim 1$ top 2$ tail 3$ ~ 4$ ~ 5$ ~ 6-$ ~ [7$* ~] | 0.21 0.46 0.34 | mac
How can I change the caption command so it will truncate the window list if neccessary, rather than pushing the right information off the edge? Bonus points if the active window is always displayed too.
Using ssh -t
instead of ssh
for connections to remote servers has several advantages. For example, I can directly edit a file with vim: ssh -t host vim foo.txt
, which would fail otherwise.
Are there any circumstances under which allocating a (pseudo)-tty would be a bad thing when using ssh?