|
synology群晖NAS synogear Diagnosis Tool
ssh登陆查看有没有安装synogear工具包
- $ sudo -s
- # synogear list
- Tools are not installed yet. You can run this command to install it:
- synogear install
复制代码 像上面顯示表示還沒安裝,可以用命令
進行安裝。
- root@nas:~# iperf3
- -ash: iperf3: command not found
- root@nas:~# synogear install
- root@nas:~# iperf3
- iperf3: parameter error - must either be a client (-c) or server (-s)
- Usage: iperf [-s|-c host] [options]
- iperf [-h|--help] [-v|--version]
- Server or Client:
- -p, --port # server port to listen on/connect to
- -f, --format [kmgKMG] format to report: Kbits, Mbits, KBytes, MBytes
- -i, --interval # seconds between periodic bandwidth reports
- -F, --file name xmit/recv the specified file
- -A, --affinity n/n,m set CPU affinity
- -B, --bind <host> bind to a specific interface
- -V, --verbose more detailed output
- -J, --json output in JSON format
- --logfile f send output to a log file
- -d, --debug emit debugging output
- -v, --version show version information and quit
- -h, --help show this message and quit
- Server specific:
- -s, --server run in server mode
- -D, --daemon run the server as a daemon
- -I, --pidfile file write PID file
- Client specific:
- -c, --client <host> run in client mode, connecting to <host>
- -u, --udp use UDP rather than TCP
- -b, --bandwidth #[KMG][/#] target bandwidth in bits/sec (0 for unlimited)
- (default 1 Mbit/sec for UDP, unlimited for TCP)
- (optional slash and packet count for burst mode)
- -t, --time # time in seconds to transmit for (default 10 secs)
- -n, --bytes #[KMG] number of bytes to transmit (instead of -t)
- -k, --blockcount #[KMG] number of blocks (packets) to transmit (instead of - t or -n)
- -l, --len #[KMG] length of buffer to read or write
- (default 128 KB for TCP, 8 KB for UDP)
- --cport <port> bind to a specific client port (TCP and UDP, default : ephemeral port)
- -P, --parallel # number of parallel client streams to run
- -R, --reverse run in reverse mode (server sends, client receives)
- -w, --window #[KMG] TCP window size (socket buffer size)
- -C, --congestion <algo> set TCP congestion control algorithm (Linux and Free BSD only)
- -M, --set-mss # set TCP maximum segment size (MTU - 40 bytes)
- -N, --nodelay set TCP no delay, disabling Nagle's Algorithm
- -4, --version4 only use IPv4
- -6, --version6 only use IPv6
- -S, --tos N set the IP 'type of service'
- -L, --flowlabel N set the IPv6 flow label (only supported on Linux)
- -Z, --zerocopy use a 'zero copy' method of sending data
- -O, --omit N omit the first n seconds
- -T, --title str prefix every output line with this string
- --get-server-output get results from server
- --udp-counters-64bit use 64-bit counters in UDP test packets
- [KMG] indicates options that support a K/M/G suffix for kilo-, mega-, or giga-
- iperf3 homepage at: http://software.es.net/iperf/
- Report bugs to: https://github.com/esnet/iperf
复制代码
- root@nas:~# synogear list
- All tools:
- addr2line avahi-resolve eu-ar eu-readelf fio-btrace2fio gcore iperf3 mpstat nslookup pkill readelf size tcpdump_wrapper traceroute6
- addr2name bash eu-elfcmp eu-size fio-dedupe gdb kill name2addr objcopy pmap rltraceroute6 slabtop tcpspray tracert6
- ar c++filt eu-elfcompress eu-stack fio_generate_plots gdbserver killall ncat objdump ps sa1 sockstat tcpspray6 uptime
- arping cifsiostat eu-elflint eu-strings fio-genzipf genfio ld ndisc6 perf-check.py pstree sa2 speedtest-cli.py tcptraceroute6 vmstat
- as clockdiff eu-findtextrel eu-strip fio_latency2csv.py gprof ld.bfd nethogs pgrep pwdx sadc strace telnet w
- ash dig eu-make-debug-archive eu-unstrip fiologparser.py iftop ldd nfsiostat-sysstat pidof ranlib sadf strings tload watch
- autojump domain_test.sh eu-nm file fio-verify-state iostat log-analyzer.sh nm pidstat rarpd sar strip tmux zblacklist
- avahi-browse elfedit eu-objdump fio fix_idmap.sh iotop lsof nmap ping rdisc sh sysctl top zmap
- avahi-publish eu-addr2line eu-ranlib fio2gnuplot free iperf ltrace nping ping6 rdisc6 sid2ugid.sh sysstat tracepath ztee
复制代码 :lol
会玩的小伙伴们可以愉快玩耍了。
|
|