Skip to content

Instantly share code, notes, and snippets.

@anu1097
Created March 11, 2017 14:07
Show Gist options
  • Save anu1097/94874d237c57683218886820ea572f9e to your computer and use it in GitHub Desktop.
Save anu1097/94874d237c57683218886820ea572f9e to your computer and use it in GitHub Desktop.
anuraag@anu123:~$ lsof -Pi :9999 -sTCP:LISTEN -t
anuraag@anu123:~$ lsof -Pi :8080 -sTCP:LISTEN -t
anuraag@anu123:~$ cd Documents/Codes/automatic-test/
anuraag@anu123:~/Documents/Codes/automatic-test$ ./Original2.sh -a 1
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[00005595a58577b8] dummy interface: using the dummy interface module...
[00005652c1763148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007facc84c8d18] mux_ogg mux: Open
[00007fb46c000e28] http access error: error: HTTP/1.0 404 Client error
[00007fb46c000e28] http access error: failed to read answer
[00007fb46c000e28] access_mms access error: cannot connect to localhost:9999
QObject::~QObject: Timers cannot be stopped from another thread
Using Splitter_DBS
2017-03-11 19:34:09.210047 /home/anuraag/p2psp-console/src/splitter.cc:200: TRACE: Buffer size = 256
2017-03-11 19:34:09.210385 /home/anuraag/p2psp-console/src/splitter.cc:210: TRACE: Channel = BBB-134.ogv
2017-03-11 19:34:09.210429 /home/anuraag/p2psp-console/src/splitter.cc:220: TRACE: Chunk size = 1024
2017-03-11 19:34:09.210460 /home/anuraag/p2psp-console/src/splitter.cc:230: TRACE: Header size = 30000
2017-03-11 19:34:09.210490 /home/anuraag/p2psp-console/src/splitter.cc:268: TRACE: Splitter port = 8001
2017-03-11 19:34:09.210519 /home/anuraag/p2psp-console/src/splitter.cc:278: TRACE: Source address = 127.0.0.1
2017-03-11 19:34:09.210546 /home/anuraag/p2psp-console/src/splitter.cc:288: TRACE: Source port = 8080
2017-03-11 19:34:09.210574 /home/anuraag/p2psp-console/src/splitter.cc:302: TRACE: Maximun number of lost chunks = 32
2017-03-11 19:34:09.210604 /home/anuraag/p2psp-console/src/splitter.cc:312: TRACE: Number of monitors = 1
| Received | Sent | Team | Team description
Time | (kbps) | (kbps) | size | (peer chunks-lost/sent)
---------------------+----------+----------+------+------------------...
2017-Mar-11 14:04:10 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:11 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:12 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:13 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:14 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:15 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:16 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:17 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:18 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:19 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:20 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:21 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:22 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:23 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:24 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:25 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:26 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:27 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:28 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:29 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:30 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:31 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:32 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:33 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
2017-Mar-11 14:04:34 | 0 | 0 | 2 | 127.0.0.1:36081 0/0 127.0.0.1:36175 0/0
cat monitor.txt
Using Monitor_DBS
2017-03-11 19:34:09.206533 /home/anuraag/p2psp-console/src/peer.cc:151: TRACE: Console initialized
2017-03-11 19:34:09.207206 /home/anuraag/p2psp-console/src/peer.cc:490: TRACE: Player port = 9999
Waiting for the player at (0.0.0.0,9999)
2017-03-11 19:34:09.669894 /home/anuraag/p2psp-console/src/peer.cc:330: TRACE: Player connected. Player is (127.0.0.1,58962)
Player connected
2017-03-11 19:34:09.670051 /home/anuraag/p2psp-console/src/peer.cc:505: TRACE: Splitter address = 127.0.0.1
2017-03-11 19:34:09.670109 /home/anuraag/p2psp-console/src/peer.cc:515: TRACE: Splitter port = 8001
2017-03-11 19:34:09.670371 /home/anuraag/p2psp-console/src/peer.cc:521: TRACE: Connected to the splitter
2017-03-11 19:34:09.671153 /home/anuraag/p2psp-console/src/peer.cc:172: TRACE: source_endpoint = (127.0.0.1,8080)
2017-03-11 19:34:09.671266 /home/anuraag/p2psp-console/src/peer.cc:532: TRACE: Source = (127.0.0.1,8080)
2017-03-11 19:34:09.671809 /home/anuraag/p2psp-console/src/peer.cc:281: TRACE: Connected to the source at (127.0.0.1,8080) from 127.0.0.1
2017-03-11 19:34:09.671909 /home/anuraag/p2psp-console/src/peer.cc:535: TRACE: Connected to the source
2017-03-11 19:34:09.672066 /home/anuraag/p2psp-console/src/peer.cc:215: TRACE: channel_size = 11
2017-03-11 19:34:09.672131 /home/anuraag/p2psp-console/src/peer.cc:223: TRACE: channel = BBB-134.ogv
2017-03-11 19:34:09.672189 /home/anuraag/p2psp-console/src/peer.cc:200: TRACE: GET_message = GET /BBB-134.ogv HTTP/1.1
2017-03-11 19:34:09.672227 /home/anuraag/p2psp-console/src/peer.cc:539: TRACE: channel = BBB-134.ogv
2017-03-11 19:34:09.672262 /home/anuraag/p2psp-console/src/peer.cc:246: TRACE: header_size (in bytes) = 30000
2017-03-11 19:34:09.672299 /home/anuraag/p2psp-console/src/peer.cc:543: TRACE: Header size = 30000
2017-03-11 19:34:09.672374 /home/anuraag/p2psp-console/src/peer.cc:546: TRACE: Header requested
Relaying the header from the source to the player ... 2017-03-11 19:34:35.198143 /home/anuraag/p2psp-console/src/peer.cc:820: TRACE: read_some: End of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment