Showing posts with label lshw. Show all posts
Showing posts with label lshw. Show all posts

Tuesday, 4 October 2022

Cek Hardware CPU dengan lshw

 # lshw -class processor
  *-cpu                     
       description: CPU
       product: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
       vendor: Intel Corp.
       physical id: 31
       bus info: cpu@0
       version: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
       serial: To Be Filled By O.E.M.
       slot: U3E1
       size: 896MHz
       capacity: 4005MHz
       width: 64 bits
       clock: 100MHz
       capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp cpufreq
       configuration: cores=4 enabledcores=4 threads=8

Install lshw

 # apt-get install lshw
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  lshw
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 254 kB of archives.
After this operation, 781 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 lshw amd64 02.18.85-0.1 [254 kB]
Fetched 254 kB in 0s (527 kB/s)
apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = "en_US:en",
    LC_ALL = (unset),
    LC_TIME = "id_ID.UTF-8",
    LC_MONETARY = "id_ID.UTF-8",
    LC_ADDRESS = "id_ID.UTF-8",
    LC_TELEPHONE = "id_ID.UTF-8",
    LC_NAME = "id_ID.UTF-8",
    LC_MEASUREMENT = "id_ID.UTF-8",
    LC_IDENTIFICATION = "id_ID.UTF-8",
    LC_NUMERIC = "id_ID.UTF-8",
    LC_PAPER = "id_ID.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package lshw.
(Reading database ... 42661 files and directories currently installed.)
Preparing to unpack .../lshw_02.18.85-0.1_amd64.deb ...
Unpacking lshw (02.18.85-0.1) ...
Setting up lshw (02.18.85-0.1) ...
Processing triggers for man-db (2.8.5-2) ...