mirror of https://github.com/aristocratos/bashtop
...
parent
65ec0b682f
commit
1e4b43d9ea
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
// Use IntelliSense to learn about possible attributes.
|
||||||
|
// Hover to view descriptions of existing attributes.
|
||||||
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"type": "bashdb",
|
||||||
|
"request": "launch",
|
||||||
|
"name": "Bash-Debug (simplest configuration)",
|
||||||
|
"program": "${file}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"bashIde.path": "/usr/local/bin/bash-language-server",
|
||||||
|
"bashIde.highlightParsingErrors": false,
|
||||||
|
"shellcheck.enableQuickFix": true,
|
||||||
|
"Quick open": true,
|
||||||
|
"Toggle render whitespace": true,
|
||||||
|
"bracket-pair-colorizer-2.colorMode": "Independent",
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||||
|
// for the documentation about the tasks.json format
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "run bash script",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "${file}",
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "always",
|
||||||
|
"focus": true,
|
||||||
|
"panel": "dedicated"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -30,6 +30,7 @@ Main UI with graph on.
|
||||||
Config files stored in "$HOME/.config/spdtest" folder
|
Config files stored in "$HOME/.config/spdtest" folder
|
||||||
|
|
||||||
#### spdtest.cfg: (auto generated if not found)
|
#### spdtest.cfg: (auto generated if not found)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
net_device="auto" #* Network interface to get current speed from, set to "auto" to get default interface from "ip route" command
|
net_device="auto" #* Network interface to get current speed from, set to "auto" to get default interface from "ip route" command
|
||||||
unit="megabit" #* Default speed value to use, valid values are "megabit" and "megabyte"
|
unit="megabit" #* Default speed value to use, valid values are "megabit" and "megabyte"
|
||||||
|
@ -78,12 +79,13 @@ mtrpings="25" #* Number of pings sent with mtr
|
||||||
testonly="false" #* If "true", never enter UI mode, always run full tests and quit
|
testonly="false" #* If "true", never enter UI mode, always run full tests and quit
|
||||||
testnum="1" #* Number of times to loop full tests in testonly mode
|
testnum="1" #* Number of times to loop full tests in testonly mode
|
||||||
|
|
||||||
ookla_speedtest="speedtest" #* Command or full path to official speedtest client
|
ookla_speedtest="speedtest" #* Command or full path to official speedtest client
|
||||||
|
|
||||||
trace_errors="true" #* In event of error print line number of offending command to $HOME/.config/spdtest/errors
|
trace_errors="true" #* In event of error print line number of offending command to $HOME/.config/spdtest/errors
|
||||||
```
|
```
|
||||||
|
|
||||||
#### route.cfg.sample: (rename to route.cfg to use additional hosts in route test)
|
#### route.cfg.sample: (rename to route.cfg to use additional hosts in route test)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
#? List of routes to test with mtr
|
#? List of routes to test with mtr
|
||||||
#? Format:
|
#? Format:
|
||||||
|
@ -109,6 +111,7 @@ routelistport["amazon.com"]="auto"
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Command line options: (to be updated)
|
#### Command line options: (to be updated)
|
||||||
|
|
||||||
```
|
```
|
||||||
USAGE: ./spdtest.sh [OPTIONS]
|
USAGE: ./spdtest.sh [OPTIONS]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue