广州活力数据恢复中心

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 4283|回复: 0

synology群晖NAS synogear Diagnosis Tool

[复制链接]

860

主题

1784

帖子

9514

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9514
QQ
发表于 2018-7-6 16:05:24 | 显示全部楼层 |阅读模式
synology群晖NAS synogear Diagnosis Tool

ssh登陆查看有没有安装synogear工具包
  1. $ sudo -s
  2. # synogear list
  3. Tools are not installed yet. You can run this command to install it:
  4.    synogear install
复制代码
像上面顯示表示還沒安裝,可以用命令
  1. synogear install
复制代码
進行安裝。


  1. root@nas:~# iperf3
  2. -ash: iperf3: command not found
  3. root@nas:~# synogear install
  4. root@nas:~# iperf3
  5. iperf3: parameter error - must either be a client (-c) or server (-s)

  6. Usage: iperf [-s|-c host] [options]
  7.        iperf [-h|--help] [-v|--version]

  8. Server or Client:
  9.   -p, --port      #         server port to listen on/connect to
  10.   -f, --format    [kmgKMG]  format to report: Kbits, Mbits, KBytes, MBytes
  11.   -i, --interval  #         seconds between periodic bandwidth reports
  12.   -F, --file name           xmit/recv the specified file
  13.   -A, --affinity n/n,m      set CPU affinity
  14.   -B, --bind      <host>    bind to a specific interface
  15.   -V, --verbose             more detailed output
  16.   -J, --json                output in JSON format
  17.   --logfile f               send output to a log file
  18.   -d, --debug               emit debugging output
  19.   -v, --version             show version information and quit
  20.   -h, --help                show this message and quit
  21. Server specific:
  22.   -s, --server              run in server mode
  23.   -D, --daemon              run the server as a daemon
  24.   -I, --pidfile file        write PID file
  25. Client specific:
  26.   -c, --client    <host>    run in client mode, connecting to <host>
  27.   -u, --udp                 use UDP rather than TCP
  28.   -b, --bandwidth #[KMG][/#] target bandwidth in bits/sec (0 for unlimited)
  29.                             (default 1 Mbit/sec for UDP, unlimited for TCP)
  30.                             (optional slash and packet count for burst mode)
  31.   -t, --time      #         time in seconds to transmit for (default 10 secs)
  32.   -n, --bytes     #[KMG]    number of bytes to transmit (instead of -t)
  33.   -k, --blockcount #[KMG]   number of blocks (packets) to transmit (instead of -                                                                                                                                                             t or -n)
  34.   -l, --len       #[KMG]    length of buffer to read or write
  35.                             (default 128 KB for TCP, 8 KB for UDP)
  36.   --cport         <port>    bind to a specific client port (TCP and UDP, default                                                                                                                                                             : ephemeral port)
  37.   -P, --parallel  #         number of parallel client streams to run
  38.   -R, --reverse             run in reverse mode (server sends, client receives)
  39.   -w, --window    #[KMG]    TCP window size (socket buffer size)
  40.   -C, --congestion <algo>   set TCP congestion control algorithm (Linux and Free                                                                                                                                                             BSD only)
  41.   -M, --set-mss   #         set TCP maximum segment size (MTU - 40 bytes)
  42.   -N, --nodelay             set TCP no delay, disabling Nagle's Algorithm
  43.   -4, --version4            only use IPv4
  44.   -6, --version6            only use IPv6
  45.   -S, --tos N               set the IP 'type of service'
  46.   -L, --flowlabel N         set the IPv6 flow label (only supported on Linux)
  47.   -Z, --zerocopy            use a 'zero copy' method of sending data
  48.   -O, --omit N              omit the first n seconds
  49.   -T, --title str           prefix every output line with this string
  50.   --get-server-output       get results from server
  51.   --udp-counters-64bit      use 64-bit counters in UDP test packets

  52. [KMG] indicates options that support a K/M/G suffix for kilo-, mega-, or giga-

  53. iperf3 homepage at: http://software.es.net/iperf/
  54. Report bugs to:     https://github.com/esnet/iperf

复制代码

  1. root@nas:~# synogear list
  2. All tools:
  3. addr2line      avahi-resolve   eu-ar                  eu-readelf   fio-btrace2fio      gcore      iperf3           mpstat             nslookup       pkill   readelf        size              tcpdump_wrapper  traceroute6
  4. addr2name      bash            eu-elfcmp              eu-size      fio-dedupe          gdb        kill             name2addr          objcopy        pmap    rltraceroute6  slabtop           tcpspray         tracert6
  5. ar             c++filt         eu-elfcompress         eu-stack     fio_generate_plots  gdbserver  killall          ncat               objdump        ps      sa1            sockstat          tcpspray6        uptime
  6. arping         cifsiostat      eu-elflint             eu-strings   fio-genzipf         genfio     ld               ndisc6             perf-check.py  pstree  sa2            speedtest-cli.py  tcptraceroute6   vmstat
  7. as             clockdiff       eu-findtextrel         eu-strip     fio_latency2csv.py  gprof      ld.bfd           nethogs            pgrep          pwdx    sadc           strace            telnet           w
  8. ash            dig             eu-make-debug-archive  eu-unstrip   fiologparser.py     iftop      ldd              nfsiostat-sysstat  pidof          ranlib  sadf           strings           tload            watch
  9. autojump       domain_test.sh  eu-nm                  file         fio-verify-state    iostat     log-analyzer.sh  nm                 pidstat        rarpd   sar            strip             tmux             zblacklist
  10. avahi-browse   elfedit         eu-objdump             fio          fix_idmap.sh        iotop      lsof             nmap               ping           rdisc   sh             sysctl            top              zmap
  11. avahi-publish  eu-addr2line    eu-ranlib              fio2gnuplot  free                iperf      ltrace           nping              ping6          rdisc6  sid2ugid.sh    sysstat           tracepath        ztee
复制代码
:lol
会玩的小伙伴们可以愉快玩耍了。



硬盘数据恢复/优盘内存卡数据恢复/服务器数据恢复
data recovery service www.rflashdata.com 数据热线+86 18620923827(微信whatsapp)
buffalo 隨身碟數據救援 bitlocker WDV2 lacie EFS等加密硬盘数据恢复,指纹爱国者加密优盘数据恢复 +86 18620923827
回复

使用道具 举报

860

主题

1784

帖子

9514

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9514
QQ
 楼主| 发表于 2018-7-6 16:07:41 | 显示全部楼层
  1. # uptime
  2. 16:07:16 up 4 days,  4:25,  1 user,  load average: 1.25, 1.36, 1.45
复制代码


uptime
硬盘数据恢复/优盘内存卡数据恢复/服务器数据恢复
data recovery service www.rflashdata.com 数据热线+86 18620923827(微信whatsapp)
回复 支持 反对

使用道具 举报

860

主题

1784

帖子

9514

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
9514
QQ
 楼主| 发表于 2018-7-6 16:16:09 | 显示全部楼层
Diagnosis tool









本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
硬盘数据恢复/优盘内存卡数据恢复/服务器数据恢复
data recovery service www.rflashdata.com 数据热线+86 18620923827(微信whatsapp)
回复 支持 反对

使用道具 举报

59

主题

84

帖子

560

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
560
QQ
发表于 2018-7-6 21:12:50 | 显示全部楼层
  1. root@NAS:~# synogear install
  2. can't get correct package link string!
复制代码
如上synogear install命令无法安装,问题原因在于环境变量问题,下面是显示环境变量命令
  1. root@NAS:~# echo $PATH
  2. /opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
复制代码


环境变量改成
  1. root@nas:~# PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
复制代码
就可以正常安装synogear了。
or
  1. root@nas:~# export PATH=$PATH:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
  2. root@nas:~# source ~/.profile
复制代码
.



回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|硬盘FLASH数据恢复论坛

GMT+8, 2024-5-17 03:55 , Processed in 0.068978 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表