Adsense code (2021-10-05)

Monday, March 30, 2015

nproc - check the number of processing units available

The Linux command nproc print the number of processing units available to the current process, which may be less than the number of online processors.


Dump detailed CPU information with cpuid

cpuid dump detailed information about the CPU(s) gathered from the CPUID instruction,
and also determine the exact model of CPU(s).


To install cpuid:
$ sudo apt-get install cpuid



Saturday, March 7, 2015

iwconfig - Linux command to configure a wireless network interface

Iwconfig  is  similar  to ifconfig(8), but is dedicated to the wireless interfaces. It is used to set the parameters of the  network  interface which  are  specific  to the wireless operation (for example : the fre‐quency).  Iwconfig may also be used to display  those  parameters,  and the wireless statistics (extracted from /proc/net/wireless).

All  these  parameters and statistics are device dependent. Each driver will provide only some of them depending on hardware support,  and  the range of values may change. Please refer to the man page of each device for details.