Synology has a hidden package to debug and support their systems. This working on DSM 6 & DMS 7. With a little trick you can install the package by your own and use it to help yourself.
The list of applications is also great when you install your linux server and you want to have the most common analytics tools installed.
This package is very useful because the default Disk Station Manager OS does not include helpful tools like nslookup.
You have to login via ssh and get the root user
ssh user@ip
and get the root user
sudo -s
now we can install the DiagnosisTool (in my case Dec. 2022 Version 4.0.0-4124)
synogear install
You now can use the tools from the classic CLI like
file test.pdf
output: test.pdf PDF document, version 1.4
If you want to see all the tools you have to check this folder:
/volume1/@appstore/DiagnosisTool/tools
the following tools are included by default:
autojump
is a command line utility which helps you to navigate through the folder structure like cd
autojump_match.py
cifsiostat
The cifsiostat command displays statistics about read and write
operations on CIFS filesystems.
more information
domain_test.sh
unknown script by Synology
file
determine file type. Helps you to check which type of file independent of the suffix
fio
tool to test the speed of HDDs or SSDs.
for example: fio –rw=write –name=test –size=1000M
more information
fix_idmap.sh
unknown script by Synology
free
show the free memory of the system
more information
iftop
iftop listens to network traffic on a named interface
more information
iostat
The iostat command is used for monitoring system input/output device loading by observing the time the devices are active in relation to their average transfer rates.
more information
iotop
iotop watches I/O usage information output by the Linux kernel
more information
iperf3
perform network throughput tests
more information
kill
terminate a process
more information
log-analyzer.sh
unknown script by Synology
lsof
List open files
more information
mpstat
Report processors related statistics
more information
ncat
Ncat is a feature-packed networking utility which reads and
writes data across networks from the command line
more information
nethogs
NetHogs is a small ’net top‘ tool. Instead of breaking the traffic down per protocol or per subnet, like most such tools do, it groups bandwidth by process
more-information
nmap
Network exploration tool and security / port scanner
more information
nping
Network packet generation tool / ping utility
more information
nslookup
query Internet name servers interactively
more information
nsupdate
Dynamic DNS update utility
more information
perf-check.py
unknown script by Synology
pgrep
look up or signal processes based on name and other
more information
pidof
find the process ID of a running program
more information
pidstat
Report statistics for Linux tasks.
more information
pkill
look up or signal processes based on name and other
more information
pmap
report memory map of a process
more information
ps
report a snapshot of the current processes
more information
pwdx
report current working directory of a process
more information
sa1
Collect and store binary data in the system activity daily data file.
more information
sa2
Create a report from the current standard system activity
daily data file.
more information
sadc
System activity data collector
more information
sadf
Display data collected by sar in multiple formats
more information
sar
Collect, report, or save system activity information
more information
sid2ugid.sh
unknown script by Synology
slabtop
display kernel slab cache information in real time
more information
sockstat
list open sockets
more information
speedtest-cli.py
script to test the internet speed
sysctl
configure kernel parameters at runtime
more information
sysstat
sysstat configuration file
more information
tcpdump
dump traffic on a network
more information
tcpdump_wrapper
i have not found any information about this application
telnet
The telnet command is used for interactive communication with another host using the TELNET protocol.
more information
tload
graphic representation of system load average
more information
tmux
terminal multiplexer
more information
top
display Linux processes
more information
uptime
Tell how long the system has been running
more information
vmstat
Report virtual memory statistics
more information
w
Show who is logged on and what they are doing
more information
watch
execute a program periodically, showing output fullscreen
more information
zblacklist
block ip with a whitelist or blacklist file
zmap
ZMap is a network tool for scanning
more information
ztee
read from standard input and write to standard output and
files
more information