Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:cmd:hw [2020/11/04 05:55] – created jslinux:cmd:hw [2023/03/30 08:47] (current) js
Line 1: Line 1:
 ====== Hardware Tools & Commands ====== ====== Hardware Tools & Commands ======
  
-=== sg3_utils ===+===== sg3_utils =====
  
 Homepage: [[http://sg.danny.cz/sg/sg3_utils.html]] Homepage: [[http://sg.danny.cz/sg/sg3_utils.html]]
Line 7: Line 7:
 //"The sg3_utils package contains utilities that send SCSI commands to devices."// //"The sg3_utils package contains utilities that send SCSI commands to devices."//
  
-<code bash>sg_inq /dev/sda</code>+=== sg_inq === 
 +<code bash>#sg_inq /dev/sda</code>
  
 <code>standard INQUIRY: <code>standard INQUIRY:
Line 20: Line 21:
  Product revision level: 2.0  Product revision level: 2.0
 </code> </code>
 +
 +=== sginfo ===
 +<code bash>#sginfo -i /dev/sda</code>
 +<code>INQUIRY response (cmd: 0x12)
 +----------------------------
 +Device Type                        0
 +Peripheral Qualifier               0
 +Removable                          0
 +Version                            6
 +NormACA                            0
 +HiSup                              0
 +Response Data Format               2
 +SCCS                               0
 +ACC                                0
 +ALUA                               0
 +3PC                                0
 +Protect                            0
 +BQue                               0
 +EncServ                            0
 +MultiP                             0
 +MChngr                             0
 +Addr16                             0
 +Relative Address                   0
 +Wide bus 16                        1
 +Synchronous neg.                   1
 +Linked Commands                    0
 +Command Queueing                   1
 +Vendor:                    VMware
 +Product:                   Virtual disk
 +Revision level:            2.0
 +</code>
 +
 +===== lsblk =====
 +
 +Homepage: [[https://github.com/karelzak/util-linux]]
 +
 +Wiki: [[https://de.wikipedia.org/wiki/Util-linux]]
 +
 +Lsblk use the filesystem /sys and udev to show details of block devices (e.g. sda).
 +
 +<code bash>#lsblk --noheadings --nodeps --include 8 --output name</code>
 +<code>sda</code>
 +
 +
 +===== nvtop =====
 +
 +github: [[https://github.com/Syllo/nvtop]]
 +
 +===== htop =====
 +
 +github: [[https://github.com/htop-dev/htop]]
 +
 +===== [b|bash|bpy]top =====
 +
 +github: [[https://github.com/aristocratos?tab=repositories]]
 +
 +