smartd --version (return code: 0)
smartd 6.6 2016-05-31 r4324 [x86_64-linux-4.10.0-35-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
smartd comes with ABSOLUTELY NO WARRANTY. This is free
software, and you are welcome to redistribute it under
the terms of the GNU General Public License; either
version 2, or (at your option) any later version.
See http://www.gnu.org for further details.
smartmontools release 6.6 dated 2016-05-07 at 11:17:46 UTC
smartmontools SVN rev 4324 dated 2016-05-31 at 20:45:50
smartmontools build host: x86_64-pc-linux-gnu
smartmontools build with: C++98, GCC 5.4.0 20160609
smartmontools configure arguments: '--prefix=/usr' '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--sysconfdir=/etc' '--mandir=/usr/share/man' '--with-initscriptdir=no' '--docdir=/usr/share/doc/smartmontools' '--with-savestates=/var/lib/smartmontools/smartd.' '--with-attributelog=/var/lib/smartmontools/attrlog.' '--with-exampledir=/usr/share/doc/smartmontools/examples/' '--with-drivedbdir=/var/lib/smartmontools/drivedb' '--with-systemdsystemunitdir=/lib/systemd/system' '--with-smartdscriptdir=/usr/share/smartmontools' '--with-smartdplugindir=/etc/smartmontools/smartd_warning.d' '--with-systemdenvfile=/etc/default/smartmontools' '--with-selinux' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CXXFLAGS=-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -fsigned-char -Wall -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CFLAGS=-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -fsigned-char -Wall -O2'
smartd --help (return code: 0)
smartd 6.6 2016-05-31 r4324 [x86_64-linux-4.10.0-35-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
Usage: smartd [options]
-A PREFIX, --attributelog=PREFIX
Log ATA attribute information to {PREFIX}MODEL-SERIAL.ata.csv
[default is /var/lib/smartmontools/attrlog.MODEL-SERIAL.ata.csv]
-B [+]FILE, --drivedb=[+]FILE
Read and replace [add] drive database from FILE
[default is +/etc/smart_drivedb.h
and then /var/lib/smartmontools/drivedb/drivedb.h]
-c NAME|-, --configfile=NAME|-
Read configuration file NAME or stdin
[default is /etc/smartd.conf]
-C, --capabilities
Drop unneeded Linux process capabilities.
Warning: Mail notification does not work when used.
-d, --debug
Start smartd in debug mode
-D, --showdirectives
Print the configuration file Directives and exit
-h, --help, --usage
Display this help and exit
-i N, --interval=N
Set interval between disk checks to N seconds, where N >= 10
-l local[0-7], --logfacility=local[0-7]
Use syslog facility local0 - local7 or daemon [default]
-n, --no-fork
Do not fork into background
-p NAME, --pidfile=NAME
Write PID file NAME
-q WHEN, --quit=WHEN
Quit on one of: nodev, errors, nodevstartup, never, onecheck, showtests
-r, --report=TYPE
Report transactions for one of: ioctl[,N], ataioctl[,N], scsiioctl[,N], nvmeioctl[,N]
-s PREFIX, --savestates=PREFIX
Save disk states to {PREFIX}MODEL-SERIAL.TYPE.state
[default is /var/lib/smartmontools/smartd.MODEL-SERIAL.TYPE.state]
-w NAME, --warnexec=NAME
Run executable NAME on warnings
[default is /usr/share/smartmontools/smartd_warning.sh]
-V, --version, --license, --copyright
Print License, Copyright, and version information