1
1
Форкнуть 0
smartmontools/smartmontools
СВД Встраиваемые Системы 841e15bd9c Правила сборки для ЗОСРВ "Нейтрино" редакции 2020 2023-02-11 14:35:14 +03:00
..
examplescripts examplescripts/Example8: Try mail and mailx first, then fall back to sendmail. 2019-08-04 15:29:43 +00:00
getopt getopt/*, regex/*: Add _GETOPT/REGEX*_STANDALONE configurations. 2018-08-19 17:39:21 +00:00
nto Правила сборки для ЗОСРВ "Нейтрино" редакции 2020 2023-02-11 14:35:14 +03:00
os_darwin add experimental support for the launchd startup 2016-01-25 17:12:37 +00:00
os_win32 configure.ac, update-smart-drivedb.*: Use RELEASE_7_3_DRIVEDB for 2022-02-23 21:47:28 +00:00
regex getopt/*, regex/*: Add _GETOPT/REGEX*_STANDALONE configurations. 2018-08-19 17:39:21 +00:00
.editorconfig Add ident style configuration for EditorConfig (http://editorconfig.org/): 2017-01-28 15:31:50 +00:00
AUTHORS Add support for SCT Error Recovery Timer features added in ACS-4 (#1427). 2021-01-15 18:02:19 +00:00
COPYING Replace COPYING file with current (2010-03-24) version from 2011-10-26 20:14:00 +00:00
ChangeLog Release 7.3 RELEASE_7_3 2022-02-28 16:34:26 +00:00
ChangeLog-5.0-6.0 smartctl.cpp, scsiprint.cpp: extend --log=defects option so it works for the SCSI Pending Defects log page; add --log=envrep option to output Environmental Reporting log page; add: --log=zdevstat option to output Zone block device statistics log page; fix spelling 2022-02-26 00:15:22 +00:00
ChangeLog-6.0-7.0 smartctl.cpp, scsiprint.cpp: extend --log=defects option so it works for the SCSI Pending Defects log page; add --log=envrep option to output Environmental Reporting log page; add: --log=zdevstat option to output Zone block device statistics log page; fix spelling 2022-02-26 00:15:22 +00:00
Doxyfile Remove 'scsiata.h'. 2009-07-24 16:47:03 +00:00
INSTALL INSTALL: Update or remove various outdated info. 2018-12-29 20:27:01 +00:00
Makefile Правила сборки для ЗОСРВ "Нейтрино" редакции 2020 2023-02-11 14:35:14 +03:00
Makefile.am Allow to specify a separate install location for drivedb.h. 2022-02-18 17:23:14 +00:00
NEWS Release 7.3 RELEASE_7_3 2022-02-28 16:34:26 +00:00
README Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
TODO drivedb.h, smartctl.8.in, smartd.8.in, INSTALL, NEWS, TODO, WARNINGS: 2014-06-15 14:21:15 +00:00
aacraid.h Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
atacmdnames.cpp Replace all ASSERT_*() macros with STATIC_ASSERT(). 2019-07-01 20:54:14 +00:00
atacmdnames.h Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
atacmds.cpp Rework 'get_timer_usec()', use a C++11 clock if possible. 2021-06-04 16:39:50 +00:00
atacmds.h Add support for SCT Error Recovery Timer features added in ACS-4 (#1427). 2021-01-15 18:02:19 +00:00
ataidentify.cpp ataidentify.cpp, ataprint.cpp: ACS-5 enhancements. 2021-06-26 15:20:41 +00:00
ataidentify.h Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
ataprint.cpp ataprint.cpp: add suggestion when 'Read Device Identity failed: xxx' error generated to look at --device-type=TYPE variants 2022-02-26 18:30:35 +00:00
ataprint.h ataprint.cpp, ataprint.h, smartctl.cpp: Optionally exit immediately 2021-02-01 17:26:52 +00:00
autogen.sh autogen.sh: automake 1.16.3-5 work. 2022-02-01 18:39:20 +00:00
cciss.cpp cciss.cpp: Replace printf() and fprintf() with pout(). 2019-11-22 19:57:04 +00:00
cciss.h Add missing license headers to some source files. 2018-08-20 19:33:04 +00:00
cissio_freebsd.h Including FreeBSD ciss header to the base to avoid compilation problems. 2011-06-16 12:11:16 +00:00
common.mk Правила сборки для ЗОСРВ "Нейтрино" редакции 2020 2023-02-11 14:35:14 +03:00
configure.ac Release 7.3 RELEASE_7_3 2022-02-28 16:34:26 +00:00
cppcheck.sh remove cppcheck 2.7 warning as we are using it now on our CI builds 2022-02-09 08:02:23 +00:00
csmisas.h Windows: Compile fixes for 64-bit Cygwin. 2013-03-24 18:36:21 +00:00
dev_areca.cpp route all SCSI pass through calls in scsicmds.cpp via scsi_pass_through_yield_sense(); Use aggregate initialization to bypass the need for many memset() calls 2022-02-27 07:53:55 +00:00
dev_areca.h Add C++11 'override' specifier where applicable (cppcheck: missingOverride). 2021-02-01 20:36:02 +00:00
dev_ata_cmd_set.cpp Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
dev_ata_cmd_set.h Add C++11 'override' specifier where applicable (cppcheck: missingOverride). 2021-02-01 20:36:02 +00:00
dev_intelliprop.cpp Add C++11 'override' specifier where applicable (cppcheck: missingOverride). 2021-02-01 20:36:02 +00:00
dev_interface.cpp Rework 'get_timer_usec()', use a C++11 clock if possible. 2021-06-04 16:39:50 +00:00
dev_interface.h Rework 'get_timer_usec()', use a C++11 clock if possible. 2021-06-04 16:39:50 +00:00
dev_jmb39x_raid.cpp route all SCSI pass through calls in scsicmds.cpp via scsi_pass_through_yield_sense(); Use aggregate initialization to bypass the need for many memset() calls 2022-02-27 07:53:55 +00:00
dev_legacy.cpp Add C++11 'override' specifier where applicable (cppcheck: missingOverride). 2021-02-01 20:36:02 +00:00
dev_tunnelled.h Add C++11 'override' specifier where applicable (cppcheck: missingOverride). 2021-02-01 20:36:02 +00:00
do_release do_release: Update code signing key id. 2022-02-22 18:15:45 +00:00
drivedb.h drivedb.h: 2022-02-19 17:48:34 +00:00
freebsd_nvme_ioctl.h os_freebsd.cpp: Fix build under -CURRENT (patch by cy@) 2018-03-01 17:31:54 +00:00
json.cpp json.cpp, json.h: Allow to use any string for object keys. 2022-01-06 17:13:25 +00:00
json.h json.cpp, json.h: Allow to use any string for object keys. 2022-01-06 17:13:25 +00:00
knowndrives.cpp Print drive database version in smartctl and smartd. 2021-02-09 20:25:13 +00:00
knowndrives.h Print drive database version in smartctl and smartd. 2021-02-09 20:25:13 +00:00
linux_nvme_ioctl.h linux_nvme_ioctl.h: Replace with current version from Linux kernel sources 2019-08-04 14:39:24 +00:00
megaraid.h Add missing license headers to some source files. 2018-08-20 19:33:04 +00:00
netbsd_nvme_ioctl.h os_netbsd.cpp: Migrate to new dev_interface (ticket #101). 2016-09-25 16:46:49 +00:00
nvmecmds.cpp Rework 'get_timer_usec()', use a C++11 clock if possible. 2021-06-04 16:39:50 +00:00
nvmecmds.h nvmecmds.cpp, nvmecmds.h, nvmeprint.cpp: Fix check for LPO support. 2020-12-04 20:40:43 +00:00
nvmeprint.cpp ataprint.cpp, nvmeprint.cpp: Add JSON values 'smart_support.*' to keep 2021-06-04 15:46:36 +00:00
nvmeprint.h ataprint.h, nvmeprint.h, scsiprint.h: Use C++11 in-class member initializers. 2021-01-24 16:40:20 +00:00
os_darwin.cpp os_darwin.cpp: implement APM set feature, based on hdparm macOS sources 2021-02-14 18:02:51 +00:00
os_darwin.h os_darwin: Fix NVMe log support, cleanup 2020-06-24 08:08:38 +00:00
os_freebsd.cpp megaraid: relax LSI PERC RAID matching 2021-11-24 08:31:31 +00:00
os_freebsd.h Add '-d megaraid' support on the FreeBSD (#734) 2021-11-23 12:08:56 +00:00
os_generic.cpp Fix many typos. 2018-12-02 16:07:26 +00:00
os_generic.h Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
os_linux.cpp os_linux.cpp: Enhance device scan range to '/dev/sdzz'. 2022-02-02 17:34:26 +00:00
os_linux.h Fix many typos. 2018-12-02 16:07:26 +00:00
os_netbsd.cpp Add C++11 'override' specifier where applicable (cppcheck: missingOverride). 2021-02-01 20:36:02 +00:00
os_netbsd.h Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
os_openbsd.cpp os_openbsd.cpp: fix SAT autodetection for the sd* devices (#1467) 2021-04-07 06:42:07 +00:00
os_openbsd.h Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
os_os2.cpp Fix many typos. 2018-12-02 16:07:26 +00:00
os_os2.h Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
os_qnxnto.cpp Fix many typos. 2018-12-02 16:07:26 +00:00
os_qnxnto.h Add missing license headers to some source files. 2018-08-20 19:33:04 +00:00
os_solaris.cpp os_solaris.cpp: Suggest '-d sat' if '-d ata' is specified. 2020-06-20 13:47:36 +00:00
os_solaris.h Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
os_solaris_ata.s Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
os_win32.cpp os_win32.cpp: Decode Windows 10, 11 and Server 2022 21H2 build numbers. 2021-10-31 18:34:22 +00:00
popen_as_ugid.cpp popen_as_ugid.cpp: Add missing <signal.h> 2021-12-13 19:22:38 +00:00
popen_as_ugid.h smartd.cpp: Add ability to run warning script as non-privileged user. 2021-12-13 18:55:13 +00:00
scsiata.cpp route all SCSI pass through calls in scsicmds.cpp via scsi_pass_through_yield_sense(); Use aggregate initialization to bypass the need for many memset() calls 2022-02-27 07:53:55 +00:00
scsicmds.cpp route all SCSI pass through calls in scsicmds.cpp via scsi_pass_through_yield_sense(); Use aggregate initialization to bypass the need for many memset() calls 2022-02-27 07:53:55 +00:00
scsicmds.h route all SCSI pass through calls in scsicmds.cpp via scsi_pass_through_yield_sense(); Use aggregate initialization to bypass the need for many memset() calls 2022-02-27 07:53:55 +00:00
scsinvme.cpp route all SCSI pass through calls in scsicmds.cpp via scsi_pass_through_yield_sense(); Use aggregate initialization to bypass the need for many memset() calls 2022-02-27 07:53:55 +00:00
scsiprint.cpp route all SCSI pass through calls in scsicmds.cpp via scsi_pass_through_yield_sense(); Use aggregate initialization to bypass the need for many memset() calls 2022-02-27 07:53:55 +00:00
scsiprint.h NEWS: update for changes in previous commit; run untab of scsi source 2022-02-26 01:02:56 +00:00
sg_unaligned.h switch usage of unaligned.h to sg_unaligned.h 2018-04-16 15:12:21 +00:00
smartctl.8.in smartctl.cpp, scsiprint.cpp: extend --log=defects option so it works for the SCSI Pending Defects log page; add --log=envrep option to output Environmental Reporting log page; add: --log=zdevstat option to output Zone block device statistics log page; fix spelling 2022-02-26 00:15:22 +00:00
smartctl.cpp smartctl.cpp, scsiprint.cpp: extend --log=defects option so it works for the SCSI Pending Defects log page; add --log=envrep option to output Environmental Reporting log page; add: --log=zdevstat option to output Zone block device statistics log page; fix spelling 2022-02-26 00:15:22 +00:00
smartctl.h Always add timestamp to JSON output (#1436). 2021-02-07 14:19:40 +00:00
smartd.8.in smartctl.cpp, scsiprint.cpp: extend --log=defects option so it works for the SCSI Pending Defects log page; add --log=envrep option to output Environmental Reporting log page; add: --log=zdevstat option to output Zone block device statistics log page; fix spelling 2022-02-26 00:15:22 +00:00
smartd.conf Update homepage URL to the www.smartmontools.org 2015-08-27 16:12:21 +00:00
smartd.conf.5.in smartctl.cpp, scsiprint.cpp: extend --log=defects option so it works for the SCSI Pending Defects log page; add --log=envrep option to output Environmental Reporting log page; add: --log=zdevstat option to output Zone block device statistics log page; fix spelling 2022-02-26 00:15:22 +00:00
smartd.cpp smartd.cpp: Ensure that '--warn-as-user=restricted' failure is visible in syslog. 2022-02-22 18:00:47 +00:00
smartd.cygwin.initd.in Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
smartd.freebsd.initd.in FreeBSD: sync init script with one from ports repository. 2012-03-06 13:16:45 +00:00
smartd.initd.in Add SPDX-License-Identifier to all files with GPL header (#919). 2018-08-19 18:45:53 +00:00
smartd.service.in drivedb.h: Add xerrorlba flag to the WD Caviar Black (#1558) family 2022-01-14 08:02:52 +00:00
smartd_warning.sh.in Don't pass possible command escapes to the 'mail' command (#1535). 2021-10-23 10:22:01 +00:00
static_assert.h Replace all ASSERT_*() macros with STATIC_ASSERT(). 2019-07-01 20:54:14 +00:00
update-smart-drivedb.8.in Allow to specify a separate install location for drivedb.h. 2022-02-18 17:23:14 +00:00
update-smart-drivedb.in configure.ac, update-smart-drivedb.*: Use RELEASE_7_3_DRIVEDB for 2022-02-23 21:47:28 +00:00
utility.cpp scsiprint.cpp: remove jsonify_name() and use json::str2key() where required 2022-01-07 00:51:15 +00:00
utility.h scsiprint.cpp: remove jsonify_name() and use json::str2key() where required 2022-01-07 00:51:15 +00:00

README

==========================================================
smartmontools - S.M.A.R.T. utility toolset for Darwin/Mac
OSX, FreeBSD, Linux, NetBSD, OpenBSD, Solaris, and Windows.
==========================================================

$Id$

== HOME ==
The home for smartmontools is located at:
    
    http://www.smartmontools.org/

Please see this web site for updates, documentation, and for submitting
patches and bug reports.

You will find a mailing list for support and other questions at:

    https://listi.jpberlin.de/mailman/listinfo/smartmontools-support


== COPYING ==
Copyright (C) 2002-9 Bruce Allen
Copyright (C) 2004-18 Christian Franke

This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2, or (at your option) any later
version.

You should have received a copy of the GNU General Public License (for
example COPYING).  If not, see <http://www.gnu.org/licenses/>.

SPDX-License-Identifier: GPL-2.0-or-later


== CREDITS ==
See AUTHORS file.


== OVERVIEW ==
smartmontools contains utilities that control and monitor storage
devices using the Self-Monitoring, Analysis and Reporting Technology
(SMART) system build into ATA/SATA and SCSI/SAS hard drives and
solid-state drives.  This is used to check the reliability of the
drive and to predict drive failures.


== CONTENTS ==
The suite contains two utilities:

smartctl is a command line utility designed to perform S.M.A.R.T. tasks
	 such as disk self-checks, and to report the S.M.A.R.T. status of
	 the disk.

smartd   is a daemon that periodically monitors S.M.A.R.T. status and
         reports errors and changes in S.M.A.R.T. attributes to syslog.


== OBTAINING SMARTMONTOOLS ==

Source tarballs
---------------

http://sourceforge.net/projects/smartmontools/files/

SVN
---

svn co http://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools smartmontools

This will create a subdirectory called smartmontools containing the code.

To instead get the 5.38 release:

svn co http://svn.code.sf.net/p/smartmontools/code/tags/RELEASE_5_38/sm5 smartmontools

You can see what the different tags are by looking at
http://sourceforge.net/p/smartmontools/code/HEAD/tree/tags/

== BUILDING/INSTALLING SMARTMONTOOLS ==

Refer to the "INSTALL" file for detailed installation instructions.

== GETTING STARTED ==

To examine SMART data from a disk, try:
  smartctl -a /dev/sda
See the manual page 'man smartctl' for more information.

To start automatic monitoring of your disks with the smartd daemon,
try:
  smartd -d
to start the daemon in foreground (debug) mode, or
  smartd
to start the daemon in background mode.  This will log messages to
SYSLOG.  If you would like to get email warning messages, please set
up the configuration file smartd.conf with the '-m' mail warning
Directive.  See the manual page 'man smartd' for more information.