linux檢視硬碟資訊等
[[email protected] data]# hdparm -i /dev/sdb ---------->硬碟資訊整體檢查
/dev/sdb:
Model=ST2000VX000-1CU164, FwRev=CV22, SerialNo=Z1E5F8GW
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=3907029168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=no WriteCache=enabled
Drive conforms to: unknown: ATA/ATAPI-4,5,6,7
* signifies the current active mode
[[email protected] data]#
[[email protected] proc]# smartctl -H /dev/sdb ---------->硬碟健康整體檢查
smartctl 5.43 2012-06-30 r3573 [x86_64-linux-2.6.32-358.el6.x86_64] (local build)
Copyright (C) 2002-12 by Bruce Allen,
http://smartmontools.sourceforge.net
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
[[email protected] data]# smartctl -a /dev/sdb ---------->硬碟資訊整體檢查
smartctl 5.43 2012-06-30 r3573 [x86_64-linux-2.6.32-358.el6.x86_64] (local build)
Copyright (C) 2002-12 by Bruce Allen,
http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Model Family: Seagate SV35
Device Model: ST2000VX000-1CU164
Serial Number: Z1E5F8GW
LU WWN Device Id: 5 000c50 064c3e516
Firmware Version: CV22
User Capacity: 2,000,398,934,016 bytes [2.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 4
Local Time is: Thu Jan 23 10:21:55 2014 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 80) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 210) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x10b9) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 117 099 006 Pre-fail Always - 152561640
3 Spin_Up_Time 0x0003 095 095 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 46
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 078 060 030 Pre-fail Always - 68275090
9 Power_On_Hours 0x0032 098 098 000 Old_age Always - 2074
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 46
184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 100 100 000 Old_age Always - 0
189 High_Fly_Writes 0x003a 007 007 000 Old_age Always - 93
190 Airflow_Temperature_Cel 0x0022 063 056 045 Old_age Always - 37 (Min/Max 25/39)
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 27
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 46
194 Temperature_Celsius 0x0022 037 044 000 Old_age Always - 37 (0 16 0 0 0)
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Interrupted (host reset) 00% 0 -
# 2 Short offline Completed without error 00% 0 -
# 3 Short offline Completed without error 00% 0 -
# 4 Short offline Completed without error 00% 0 -
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
[[email protected] data]#
相關推薦
linux檢視硬碟資訊等
[[email protected] data]# hdparm -i /dev/sdb ---------->硬碟資訊整體檢查 /dev/sdb: Model=ST2000VX000-1CU164, FwRev=CV22, SerialNo=Z1E5F8
Linux檢視硬碟資訊
在Linux下檢視硬碟的方式有很多: 1.fdisk -l 2.lsblk 如果使用的是scsi介面的可以使用: 3.lsscsi smartctl會檢視sda具體資訊,包括型號,sn,firmware等
Linux 檢視CPU資訊,機器型號,記憶體等相關配置資訊
轉載一下以後檢視:https://my.oschina.net/hunterli/blog/140783 系統 # uname -a # 檢視核心/作業系統/CPU資訊 # head -n 1 /etc/issue # 檢視作業系統版本 # cat /proc/c
Linux 檢視CPU資訊,機器型號,記憶體等資訊
系統 # uname -a # 檢視核心/作業系統/CPU資訊 # head -n 1 /etc/issue # 檢視作業系統版本 # cat /proc/cpuinfo # 檢視CPU資訊 # hostname
linux下檢視硬碟資訊、硬碟分割槽、格式化、掛載、及swap分割槽
df 命令參看硬碟資訊 -T選項, 檢視檔案系統型別 centos6檔案系統是ext4,因為設計較早,對於現今動輒上T的海量資料處理,效能較低。centos7檔案系統是xfs,適用於海量資料。這兩種
Linux 檢視CPU資訊、機器型號等硬體資訊
測試機器的硬體資訊: 檢視CPU資訊(型號) # cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c 8 Intel(R) Xeon(R) CPU E5410 @ 2.33GHz
linux檢視硬碟空間 檔案大小
du,disk usage,是通過搜尋檔案來計算每個檔案的大小然後累加,du能看到的檔案只是一些當前存在的,沒有被刪除的。他計算的大小就是當前他認為存在的所有檔案大小的累加和 df,disk free,通過檔案系統來快速獲取空間大小的資訊,當我們刪除一個檔案的
Linux檢視GPU資訊和使用情況
Linux檢視顯示卡資訊: lspci | grep -i vga 使用nvidia GPU可以: lspci | grep -i nvidia [[email protected] ~]# lspci | grep -i nvidia 02:00.0 VGA comp
centos、linux檢視系統資訊
檢視位數命令 命令實在是不要太多,為了防止選擇性障礙,一致選擇第一種方式,後面的僅作為補充。 方法1: [[email protected] ~]# uname -a Linux bogon 3.10.0-327.18.2.el7.x86_64 #1 SMP Thu May 12
linux 檢視硬碟 檢視記憶體 檢視CPU核數
3.1 檢視硬碟大小 # fdisk -l | grep Disk 2.1 檢視記憶體總數 #cat /proc/meminfo | grep MemTotal MemTotal: 32941268 kB //記憶體32G 1.3 檢視CPU型號 # cat /pr
linux檢視資源資訊常用命令
系統# uname -a # 檢視核心/作業系統/CPU資訊 # lsb_release -a # 檢視作業系統版本 (適用於所有的linux,包括Redhat、SuSE、Debian等發行版,但是在debian下要安裝lsb)
Linux檢視版本資訊
一、檢視核心資訊 1、Linux檢視版本當前作業系統核心資訊 uname -a 2、Linux檢視當前作業系統核心版本資訊 cat /proc/version 二、檢視發行版資訊 1、Linux檢視版本當前作業系統發行版資訊 cat /etc/issue cat /etc/redhat-re
Linux-檢視CPU資訊
Linux: 檢視CPU型號: cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c 檢視物理CPU個數 cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l 檢視每
Linux 檢視登入資訊(w/who/last/lastlog)
w命令 w //檢視登入使用者的資訊 USER 當前登入的使用者名稱 TTY 登入的終端 FROM 進行登入的IP [email protected]
linux檢視裝置資訊和驅動安裝資訊
lspci是列出所有的硬體資訊,包括已經安裝了驅動還是沒有安裝驅動的硬體裝置,因為根據pci規範,只要改裝置在pci總線上掛著,就可以讀到起Vendor ID和Device ID等一些列資訊,就能知道這個裝置是什麼裝置。如果要確認有沒有安裝驅動,就需要通過lsmod命令來看,
linux 檢視系統資訊命令(比較全)
# iptables -L # 檢視防火牆設定 [[email protected] ~]# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT
linux 檢視硬碟序列號
1. fdisk hdparm # fdisk -l 檢視硬碟位置 # hdparm -i /dev/sda1 # hdparm -i /dev/sdb1 |grep -i serialno S
linux檢視磁碟資訊
[[email protected] ~]# lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsda 8:0 0 20G 0 disk ├─sda1
linux 檢視庫資訊
ar : 建立靜態庫,插入,刪除,列出和提取成員 strings : 列出檔案中的所有可列印字串 strip : 從目標檔案中刪除符號表資訊 nm : 列出目標檔案中符號表中定義的符號 size : 列出目標檔案中節的名字和大小 ldd 列出可執行檔案和動態庫所依賴的動
Linux檢視系統資訊常用命令大全
[b]系統[/b]# uname -a # 檢視核心/作業系統/CPU資訊# head -n 1 /etc/issue # 檢視作業系統版本# file /sbin/init 或者 file /bin/ls # 檢視作業系統位數# cat