Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

NOTE: Please consider the following notes as more of a brain dump instead of a well thought out document.

Table of Contents

Update 06/07/2018

What are we investigating?

...

2) Instantiate a GNU screen or tmux session on a server that will not be turned off for a couple of days. or tmux session on a server that will not be turned off for a couple of days.
I believe we need a terminal multiplexer; many a times I have interrupted long running jobs when I have closed a terminal window by mistake and lost the session, or that I have to disconnect my laptop from the server and I lose the session. These multiplexers, when instantiated on the server, allow us to spawn the measurement process under their tree. We can then disconnect from the server and reconnect at a later stage. (I personally prefer tmux. However, screen is equally good. Here is some useful documentation on tmux.
3) Executing the script includes passing it the necessary arguments and pipe the output to a file. I tend to prefer tee so that I may also see the output on the terminal, while it is being saved to a file. Please see the command below, which was executed under a tmux session.

 

Code Block
$ sudo ./ping-vs-tcp.pl --prot 4 --port 80 --count 3 | tee 2018-03-02-ps-v4-uk.log

 

...