- 浏览: 454754 次
- 性别:
- 来自: 深圳
文章分类
- 全部博客 (178)
- linux (25)
- java (31)
- eclipse (3)
- web (19)
- database (11)
- framework (7)
- spring (1)
- jbpm (1)
- error and solution (3)
- struts2 (3)
- hibernate (12)
- other (15)
- ubuntu (2)
- build tools (1)
- 服务器配置 (3)
- extjs (2)
- ssl相关 (1)
- 项目管理 (0)
- 软件测试 (0)
- java maven2 (2)
- Windows Server 2003 (1)
- glassfish (1)
- build tools,maven (2)
- Heritrix3 (1)
最新评论
-
lbs1026:
您好,卸载后怎么再装上去呢?
java中dll文件的加载和卸载。 -
mp19901204:
请教下,能通过js播放指定的影片吗。不刷新网页,用js直接调用 ...
Flv播放器 Vcastr3.0的用法参考 -
wiflish:
hanmiao 写道试了第壹個,好用。
使maven2在下载依赖包的同时下载其源代码包。 -
hanmiao:
试了第壹個,好用。
使maven2在下载依赖包的同时下载其源代码包。 -
chuanwang66:
请问Heritrix 3.1.0 你是怎么配置进Eclipse ...
Heritrix3.1.0RC1使用Cookie不能自动登录问题的一个解决办法
linux下硬盘检测工具: smartmontools
工具主页: http://smartmontools.sourceforge.net/
Smartmontools for SCSI硬盘: http://smartmontools.sourceforge.net/smartmontools_scsi.html
smartctl命令参数列表:
The following options are currently available for SCSI disks and tape drives unless otherwise noted:
-
-a | --all : equivalent to the combination -i -H -A -l error -l selftest options invoked in that order.
-
-A | --attributes : outputs the current device temperature, trip temperature, the number of elements in the grown defect list (GLIST) and data from the start-stop log page. Outputs some vendor specific information if available.
-
-C | --captive : used in conjunction with -t short or -t long options to do short or long self tests in the foreground. [Has no effect on tape drives.]
-
-d TYPE | --device=TYPE where TYPE is "ata", "scsi", "sat", "marvell", "3ware,N", "hpt,L/N[,M]" or "cciss,N". Overrides utility's guess about the class of the device which is based on the form of the nominated device's name.
-
-h | --help : outputs lengthy usage message and exits without any other action.
-
-H | --health : outputs single device health metric determined by the device manufacturer. This will be "OK" or a failure message.
-
-i | --info : outputs device identification information (derived from a SCSI INQUIRY command) and whether the device supports SMART (and temperature warnings) and if those facilities are currently enabled. The type of transport (e.g. FC or SAS) is also reported, if available. Some users have reported disks that report the wrong transport.
-
-l TYPE | --log=TYPE where TYPE is either "background", "selftest" or "error". Decodes are outputs the requested log. Note that --all does not include --log=background .
-
-q TYPE | --quietmode=TYPE where TYPE is either "silent" or "errorsonly". When the type is silent then nothing is output to the console but the exit status is set (so it is suitable for scripts). For "errorsonly" only errors are output to the console. The exit status is always set. [See the smartctl man page.]
-
-r TYPE | --report=TYPE where TYPE is either "ioctl[,<n>]" or "scsiioctl[,<n>]". Turns on low level debugging of issued commands and responses. These commands are issued through a system command called an "ioctl" in Unix. The debug can be for all issued commands (i.e. "ioctl") or only SCSI commands ("scsiioctl"). Optionally the TYPE can have a comma and a number post pended to increase the volume of debug. See this section for more details.
-
-s VALUE | --smart=VALUE where VALUE is either "on" or "off". Enables or disables SMART monitoring (and temperature warnings).
-
-S VALUE | --saveauto=VALUE where VALUE is either "on" or "off". Controls whether the error log values are preserved across device power cycles.
-
-t TEST | --test=TEST where TEST is either "offline", "short" or "long". Despite its name "offline" is a short foreground test that all SCSI devices should support. A "short" self test is typically 2 minutes or less. A "long" self test will be considerably longer than 2 minutes, depending on the size of the media. The estimated time that a "long" self test will take is printed after the "selftest" log (i.e. with '-l selftest' or '-a')
-
-V | --version : outputs the smartctl version number (including the cvs version of all its source files) and build information then exits without any other action.
-
-X | --abort : will terminate a background short or long self test. Usually the self test log notes that a self test has been aborted. [Has no effect on tape drives.]
简单用法:
1、smartctl -a <device> 检查该设备是否已经打开SMART技术。
2、smartctl -s on <device> 如果没有打开SMART技术,使用该命令打开SMART技术。
3、smartctl -t short <device> 后台检测硬盘,消耗时间短;
smartctl -t long <device> 后台检测硬盘,消耗时间长;
smartctl -C -t short <device> 前台检测硬盘,消耗时间短;
smartctl -C -t long <device> 前台检测硬盘,消耗时间长。
其实就是利用硬盘SMART的自检程序。
4、smartctl -X <device> 中断后台检测硬盘。
5、smartctl -l selftest <device> 显示硬盘检测日志。
6、smartctl -l error <device> 显示硬盘错误汇总。
发表评论
-
【转】生产环境下JAVA进程高CPU占用故障排查
2013-11-01 16:36 1373转自: http://blog.chinaunix.net/ ... -
【转】11 个很少人知道但很有用的 Linux 命令
2013-10-29 20:24 931转自: http://www.oschina.net/t ... -
[转] linux下安装mysql服务器
2006-09-14 11:43 2072[转自:http://www.extmail.org/foru ... -
[转]postfix2.3.3安装
2006-09-25 13:55 1337本文转自:http://www.extmail.org/for ... -
crontab的用法
2006-09-26 15:39 925Crontab命令的格式为:crontab –l|-v|-r| ... -
postfix中编译安装Amavisd-New + Clamav + SpamAssassin
2006-10-08 15:38 15651.安装clamav 官方下载地址:http://w ... -
查看Linux系统版本方法
2006-11-20 15:22 1075cat /etc/redhat-releasecat /etc ... -
编译安装glibc
2006-11-28 14:37 8161编译安装glibc下载glibcwget http://ft ... -
安装PHP
2006-11-28 15:20 939安装PHP从下面的URL下载PHP 4.4.4的源代码:htt ... -
apache安装
2006-11-30 15:24 1001参考:http://www.extmail.org/forum ... -
安装cyrus-sasl-2.x
2006-11-30 16:16 2210参考文档:http://www.extmail.org/for ... -
编译postfix2.2.10
2006-12-01 14:17 1298参考文档:http://blog.5ilinux.com/ar ... -
安装courier-authlib
2006-12-01 14:44 3204参考文档:http://blog.5ilinux.com/ar ... -
安装Courier-IMAP
2006-12-01 15:02 3049参考文档:http://blog.5ilinux.com/ar ... -
安装postfixadmin
2006-12-01 15:34 1798wget http://high5.net/postfixad ... -
编译安装tpop3d(使用mysql验证mail用户)
2006-12-07 11:30 820wget http://www.ex-parrot.com/~ ... -
CVS源代码编译安装
2007-01-17 15:34 10321、删除系统自带的cvs rpm -e cvs2、安 ... -
cvsweb安装
2007-01-18 10:25 1248CVSWEB就是CVS的WEB界面,可以大大提高程序员定位修改 ... -
linux下安装BugZilla
2007-02-08 11:00 1978linux下安装BugZilla Bugzilla安装需要p ... -
在XP系统中虚拟Ubuntu,共享上网问题
2007-10-28 01:44 2037参考文档:http://www.it2918.com/show ...
相关推荐
Linux系统中hdparm硬盘检测工具的使用.docx
一个小巧的硬盘温度检测工具。 一个小巧的硬盘温度检测工具
通过此软件可以查看linux系统的硬盘健康使用情况,很实用的一款软件。
自己写的硬盘检测工具,检测硬盘的速度和读写的错误率
希捷硬盘检测工具,在DOS环境下运行 查找fdauto.bat,回车后按R 然后就可以进入希捷硬盘测试工具就可以检测了
一个简单实用的硬盘寿命评估工具
因为硬盘承载着我们的重要数据,所以时常查看硬盘的健康状况是很有必要的。要达成此目的,你可以使用 HDSentinel 这个命令行程序。HDSentinel 支持 IDE、S-ATA(SATA II)、SCSI、USB 等类型的硬盘,利用它你可以...
Intel SSD Data Center Tool(英特尔硬盘管理工具)是英特尔硬盘的官方管理工具软件,如果用户的硬盘是英特尔的就需要下载一个这样的软件,软件能对硬盘进行检测和固件升级,有需要的可以下载使用。 截图1 软件截图1...
Netdata最新版是一款Linux平台的性能监测工具,Netdata最新版以web的可视化方式展示系统及应用程序的实时运行状态,包括cpu、内存、硬盘输入/输出、网络等linux性能的数据,为Linux系统,应用程序,SNMP服务等提供...
我用ddcopy对双硬盘linux7.3对拷,拷贝时间大概花了2个半小时,硬盘大小36G,数据完整是最重要的,时间花得多些也值。 ddcopy特点: (1)彻底的硬盘拷贝 (2)坏伞区拷贝 (3)支持单硬盘容量最大2TB (4...
ChipGenius是一款USB设备芯片型号检测工具,可以自动查询U盘、MP3/MP4、读卡器、移动硬盘等一切USB设备的主控芯片型号、制造商、品牌、并提供相关资料下载地址。当然也可以查询USB设备的VID/PID信息、设备名称、接口...
smartmontools是 smart的的软件包程序,由 smartctl 和 smartd 两部分工具程序组成,它们一起为 Linux 平台提供对磁盘退化和故障的高级警告。
E.6.4 我有一个IDE系统, 而我不知道和DOS相比, Linux是如何设置硬盘的. 您能解释一下吗? E.6.5 我的cdu31a/33a CD-ROM不能被识别, 怎么办? E.6.6 我在笔记本电脑上安装Linux时遇到困难. E.6.7 我想把我的Red Hat...
E.6.4 我有一个IDE系统, 而我不知道和DOS相比, Linux是如何设置硬盘的. 您能解释一下吗? E.6.5 我的cdu31a/33a CD-ROM不能被识别, 怎么办? E.6.6 我在笔记本电脑上安装Linux时遇到困难. E.6.7 我想把我的Red Hat...
linux中的文件(普通文件或设备文件等)都必须有挂在点,只有挂载到一个目录下才能访问,swap分区是不需要挂载点的,在分区的时候,将文件系统类型选为swap,挂载点自动会变为灰色。一般linux中的swap大小为内存的两倍。...
E.6.4 我有一个IDE系统, 而我不知道和DOS相比, Linux是如何设置硬盘的. 您能解释一下吗? E.6.5 我的cdu31a/33a CD-ROM不能被识别, 怎么办? E.6.6 我在笔记本电脑上安装Linux时遇到困难. E.6.7 我想把我的Red Hat...
E.6.4 我有一个IDE系统, 而我不知道和DOS相比, Linux是如何设置硬盘的. 您能解释一下吗? E.6.5 我的cdu31a/33a CD-ROM不能被识别, 怎么办? E.6.6 我在笔记本电脑上安装Linux时遇到困难. E.6.7 我想把我的Red Hat...
本书全面系统地介绍了Red Hat Linux 6。全书共分为五个部分,包括35章和四个附录。第一部分为Red Hat Linux的介绍和安装;第二部分为服务配置;第三部分为系统管理;第四部分为Linux编程;第五部分为附录。本书内容...
提供了对nvme盘进行读写,查看control、namespace信息等功能。
一、目的 1.通过硬盘健康检测,评估新购买的硬盘质量是否符合预期要求。 2.通过硬盘健康检测,避免将质量不合格的硬盘部署到服务器上。 3.对新购买的硬盘质量检测流程规范化...2、Linux下使用smartctl,badblocks。