| 1 |
<!DOCTYPE html> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta charset="utf-8" /> |
| 5 |
<title>Cockpit Speed Tests</title> |
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 7 |
<link href="speed.css" type="text/css" rel="stylesheet" /> |
| 8 |
<script src="../base1/cockpit.js"></script> |
| 9 |
<script src="speed.js"></script> |
| 10 |
</head> |
| 11 |
<body class="pf-v6-m-tabular-nums" hidden="true"> |
| 12 |
<div class="pf-v6-c-page"> |
| 13 |
<main class="pf-v6-c-page__main" tabindex="-1"> |
| 14 |
<section class="pf-v6-c-page__main-section pf-m-light"> |
| 15 |
<h1>Speed Tests</h1> |
| 16 |
<table> |
| 17 |
<tbody> |
| 18 |
<tr> |
| 19 |
<td><label class="control-label">Speed: </label></td> |
| 20 |
<td><label id="speed"></label></td> |
| 21 |
</tr> |
| 22 |
<tr> |
| 23 |
<td><label class="control-label">Process ID: </label></td> |
| 24 |
<td><label id="pid"></label></td> |
| 25 |
</tr> |
| 26 |
<tr> |
| 27 |
<td><label class="control-label">Bridge Memory: </label></td> |
| 28 |
<td><label id="memory"></label></td> |
| 29 |
</tr> |
| 30 |
</tbody> |
| 31 |
</table> |
| 32 |
<p><button class="pf-v6-c-button pf-m-secondary pf-m-primary" id="stop">Stop</button></p> |
| 33 |
|
| 34 |
<h2>Echo Tests</h2> |
| 35 |
<table> |
| 36 |
<tbody> |
| 37 |
<tr> |
| 38 |
<td><label class="control-label" for="message">Message</label></td> |
| 39 |
<td><input class="form-control" id="message" value="100000" /></td> |
| 40 |
</tr> |
| 41 |
<tr> |
| 42 |
<td><label class="control-label" for="batch">Batch</label></td> |
| 43 |
<td><input class="form-control" id="batch" value="1" /></td> |
| 44 |
</tr> |
| 45 |
<tr> |
| 46 |
<td><label class="control-label" for="interval">Interval</label></td> |
| 47 |
<td><input class="form-control" id="interval" value="100" /></td> |
| 48 |
</tr> |
| 49 |
<tr> |
| 50 |
<td><label class="control-label" for="binary">Binary</label></td> |
| 51 |
<td><input type="checkbox" id="binary" /></td> |
| 52 |
</tr> |
| 53 |
<tr> |
| 54 |
<td><button class="pf-v6-c-button pf-m-secondary pf-m-primary" id="echo-normal">Normal Channel</button></td> |
| 55 |
<td><button class="pf-v6-c-button pf-m-secondary pf-m-primary" id="echo-sideband">Sideband Channel</button></td> |
| 56 |
</tr> |
| 57 |
</tbody> |
| 58 |
</table> |
| 59 |
</section> |
| 60 |
<section class="pf-v6-c-page__main-section pf-m-light"> |
| 61 |
<h1>Read Test</h1> |
| 62 |
<table> |
| 63 |
<tbody> |
| 64 |
<tr> |
| 65 |
<td><label class="control-label" for="message">Path</label></td> |
| 66 |
<td><input class="form-control" id="read-path" value="/dev/sda" /></td> |
| 67 |
</tr> |
| 68 |
<tr> |
| 69 |
<td><button class="pf-v6-c-button pf-m-secondary pf-m-primary" id="read-normal">Normal Channel</button></td> |
| 70 |
<td><button class="pf-v6-c-button pf-m-secondary pf-m-primary" id="read-sideband">Sideband Channel</button></td> |
| 71 |
</tr> |
| 72 |
</tbody> |
| 73 |
</table> |
| 74 |
</section> |
| 75 |
<section class="pf-v6-c-page__main-section pf-m-light"> |
| 76 |
<h1>Download Test</h1> |
| 77 |
<table> |
| 78 |
<tbody> |
| 79 |
<tr> |
| 80 |
<td><label class="control-label" for="message">Path</label></td> |
| 81 |
<td><input class="form-control" id="download-path" value="/dev/sda" /></td> |
| 82 |
</tr> |
| 83 |
<tr> |
| 84 |
<td><button class="pf-v6-c-button pf-m-secondary pf-m-primary" id="download-external">External Download</button></td> |
| 85 |
</tr> |
| 86 |
</tbody> |
| 87 |
</table> |
| 88 |
</section> |
| 89 |
<section class="pf-v6-c-page__main-section pf-m-light"> |
| 90 |
<h1>spawn test</h1> |
| 91 |
<table> |
| 92 |
<tbody> |
| 93 |
<tr> |
| 94 |
<td><label class="control-label" for="spawn">command</label></td> |
| 95 |
<td><input class="form-control" id="spawn-command" value="seq 1000000" /></td> |
| 96 |
</tr> |
| 97 |
<tr> |
| 98 |
<td><label class="control-label" for="spawn-result">result</label></td> |
| 99 |
<td><label class="form-control" id="spawn-result"></label></td> |
| 100 |
</tr> |
| 101 |
<tr> |
| 102 |
<td><label class="control-label" for="spawn-output">output block</label></td> |
| 103 |
<td><pre id="spawn-output"></pre></td> |
| 104 |
</tr> |
| 105 |
<tr> |
| 106 |
<td><button class="pf-v6-c-button pf-m-secondary pf-m-primary" id="spawn">spawn command</button></td> |
| 107 |
</tr> |
| 108 |
</tbody> |
| 109 |
</table> |
| 110 |
</section> |
| 111 |
<section class="pf-v6-c-page__main-section pf-m-light"> |
| 112 |
<h1>spawn input test</h1> |
| 113 |
<table> |
| 114 |
<tbody> |
| 115 |
<tr> |
| 116 |
<td><label class="control-label" for="spawn-input-result">result</label></td> |
| 117 |
<td><label class="form-control" id="spawn-input-result"></label></td> |
| 118 |
</tr> |
| 119 |
<tr> |
| 120 |
<td><button class="pf-v6-c-button pf-m-secondary pf-m-primary" id="spawn-input">spawn command</button></td> |
| 121 |
</tr> |
| 122 |
</tbody> |
| 123 |
</table> |
| 124 |
</section> |
| 125 |
</main> |
| 126 |
</div> |
| 127 |
</body> |
| 128 |
</html> |