Environment variables on Linux -
I hope you can help me I'm trying to understand how the / proc file system or profile Use settings. I am trying to write a script which pulls the CPU's temporary and list of peripherals connected to the SEEE device. It will use native functionality instead of device. Is there a path of type of variable for the list of temporary and enclosed devices of CPU?
Hope this makes sense.
QuinsUK or For attached devices: lspci - list PCI: lsscsi - List scans device [3: 0: 0: 0] Disc ATA ST3500418AS CC38 / dev / sda [4: 0: 0: 0] CD / DVD Sony DVD RW DRU-190A 1.63 / dev / sr0 lsusb - list USB buses and device details: - All at one time
$ sensor coratempe- / / sys / class / hwmon /
$ cd / sys See / class / hwmon / hwmon0 / device / {cat temp3_label; Cat temp3_input; } Core 1 58000
$ lspci 00: 00.0 host bridge: Intel Corporation 82G35 Express DRAM Controller (03 Modifications) 00: 02.0 VGA Compatible Controller: Intel Corporation 82G35 Express Integrated Graphics Controller (03 Modifications) 00: 02.1 Performance Controller: Intel Corporation 82G35 Express Integrated Graphics Controller (0300 rev) 00: 19.0 Ethernet Controller : Intel Corporation 82566 DC Gigabit Network Connection (RA V2) 00: 1A USB Controller: Intel Corporation 82801H (ICH 8 Family) USB UHCI Controller # 4 (RIV02)
$ lsusb bus 002 device 001: id 1d6b: 0002 linux foundation 2.0 root hub bus 007 device 001: id 1d6b: 0001 linux foundation 1.1 root hub bus 006 device 00 1: ID 1d6b: 0001 Linux Foundation 1.1 Root Hub Bus 005 Device 002: ID 045 A: 00 CB Microsoft Corporation Basic Optical Mouse v2.0 Bus 005 Device 001: ID 1d6b: 0001 Linux Foundation 1.1 root hub
Comments
Post a Comment