How to issue SMART command

smartmontools 5.40-1:
For Windows: http://sourceforge.net/projects/smartmontools/files/smartmontools/5.40/smartmontools-5.40-1.win32-setup.exe/download
For Linux: http://sourceforge.net/projects/smartmontools/files/smartmontools/5.40/smartmontools-5.40.tar.gz/download

Table 60 — SMART Feature field values
00h-CFh Reserved  
D0h SMART READ DATA smartctl /dev/sda –a
D1h Obsolete  
D2h SMART ENABLE/DISABLE ATTRIBUTE AUTOSAVE smartctl /dev/sda –S on
D3h Obsolete  
D4h SMART EXECUTE OFF-LINE IMMEDIATE smartctl /dev/sda –t short
D5h SMART READ LOG smartctl /dev/sda –a
D6h SMART WRITE LOG smartctl /dev/sda -t select,10-20
D7h Obsolete  
D8h SMART ENABLE OPERATIONS smartctl /dev/sda -s on
D9h SMART DISABLE OPERATIONS smartctl /dev/sda –s off
DAh SMART RETURN STATUS smartctl /dev/sda -a
DBh Obsolete  
DCh-DFh Reserved  
E0h-FFh vendor specific