152 | | nilanjan@console.sb4:~/exp/dl-iperf/5.2$ sqlite3 values.db ".dump" |
153 | | PRAGMA foreign_keys=OFF; |
154 | | BEGIN TRANSACTION; |
155 | | CREATE TABLE t1 (t1key INTEGER PRIMARY KEY, atten INTEGER, nBytes INTEGER, time INTEGER, kBperS FLOAT); |
156 | | INSERT INTO "t1" VALUES(1,0,10878976,10.0952429920435,8419.01478418953); |
157 | | INSERT INTO "t1" VALUES(2,5,11141120,10.2252359986305,8512.2729697053); |
158 | | INSERT INTO "t1" VALUES(3,10,11010048,10.1255509853363,8494.94512689406); |
159 | | INSERT INTO "t1" VALUES(4,15,11010048,10.1354229897261,8486.67096451635); |
160 | | INSERT INTO "t1" VALUES(5,20,2097152,12.675085991621,1292.61450461408); |
161 | | INSERT INTO "t1" VALUES(6,0,2097152,12.675085991621,1292.61450461408); |
162 | | INSERT INTO "t1" VALUES(7,5,2097152,12.675085991621,1292.61450461408); |
163 | | INSERT INTO "t1" VALUES(8,10,2097152,12.675085991621,1292.61450461408); |
164 | | INSERT INTO "t1" VALUES(9,15,2097152,12.675085991621,1292.61450461408); |
165 | | INSERT INTO "t1" VALUES(10,20,2097152,12.675085991621,1292.61450461408); |
| 152 | nilanjan@console.sb4:~/exp/dl-iperf/5.2$ sqlite3 -header -column values.db "select * from t1" |
| 153 | t1key atten nBytes time kBperS |
| 154 | ---------- ---------- ---------- ---------------- ---------------- |
| 155 | 1 0 10878976 10.0952429920435 8419.01478418953 |
| 156 | 2 5 11141120 10.2252359986305 8512.2729697053 |
| 157 | 3 10 11010048 10.1255509853363 8494.94512689406 |
| 158 | 4 15 11010048 10.1354229897261 8486.67096451635 |
| 159 | 5 20 2097152 12.675085991621 1292.61450461408 |
| 160 | 6 0 2097152 12.675085991621 1292.61450461408 |
| 161 | 7 5 2097152 12.675085991621 1292.61450461408 |
| 162 | 8 10 2097152 12.675085991621 1292.61450461408 |
| 163 | 9 15 2097152 12.675085991621 1292.61450461408 |
| 164 | 10 20 2097152 12.675085991621 1292.61450461408 |
168 | | We can use R studio to |
| 167 | We can use R studio to analyze the data. So first dump the contents out to a file. |
| 168 | {{{ |
| 169 | nilanjan@console.sb4:~/exp/dl-iperf/5.2$ sqlite3 -header values.db "select * from t1" > data.tmp |
| 170 | nilanjan@console.sb4:~/exp/dl-iperf/5.2$ more data.tmp |
| 171 | t1key|atten|nBytes|time|kBperS |
| 172 | 1|0|10878976|10.0952429920435|8419.01478418953 |
| 173 | 2|5|11141120|10.2252359986305|8512.2729697053 |
| 174 | 3|10|11010048|10.1255509853363|8494.94512689406 |
| 175 | 4|15|11010048|10.1354229897261|8486.67096451635 |
| 176 | 5|20|2097152|12.675085991621|1292.61450461408 |
| 177 | 6|0|2097152|12.675085991621|1292.61450461408 |
| 178 | 7|5|2097152|12.675085991621|1292.61450461408 |
| 179 | 8|10|2097152|12.675085991621|1292.61450461408 |
| 180 | 9|15|2097152|12.675085991621|1292.61450461408 |
| 181 | 10|20|2097152|12.675085991621|1292.61450461408 |
| 182 | 11|0|11010048|10.100084990263|8516.36397940451 |
| 183 | 12|0|11010048|10.1232209950686|8496.90034840705 |
| 184 | 13|0|11141120|10.2302289903164|8508.11844802196 |
| 185 | 14|0|11141120|10.2948209941387|8454.73661460998 |
| 186 | 15|5|11010048|10.1497679948807|8474.67646978575 |
| 187 | 16|10|11141120|10.2250469923019|8512.43031602002 |
| 188 | 17|15|10878976|10.1348799914122|8386.08844623893 |
| 189 | 18|20|1179648|10.5095049887896|876.92046483927 |
| 190 | 19|0|11010048|10.125388994813|8495.08103284368 |
| 191 | 20|5|9043968|10.2897919863462|6866.61111262068 |
| 192 | }}} |
| 193 | |