Where is the code for the kinfo executable?

Been trying to find the source code for the kinfo executable because I want it show the number of sockets in a system similar to how fastfetch does. (and maybe make the GUI tool show it too)

CPU: 2 x Intel(R) Xeon(R) E5-2699 v4 (88) @ 3.60 GHz

Full text
usr_40476@2xeon:~> fastfetch -l opensuse-tumbleweed_old --display-compact-type original-with-refresh-rate
                                     ......             usr_40476@2xeon
     .,cdxxxoc,.               .:kKMMMNWMMMNk:.         ---------------
    cKMMN0OOOKWMMXo. A        ;0MWk:'      ':OMMk.      OS: openSUSE Tumbleweed x86_64
  ;WMK;'       'lKMMNM,     :NMK'             'OMW;     Host: X99
 cMW;             WMMMN   ,XMK'                 oMM.    Kernel: Linux 6.14.6-1-default
.MMc             ''^*~l. xMN:                    KM0    Uptime: 21 mins
'MM.                   .NMO                      oMM    Packages: 3861 (rpm), 14 (flatpak-system), 18 (flatpak-user)
.MM,                 .kMMl                       xMN    Shell: zsh 5.9
 KM0               .kMM0' .dl>~,.               .WMd    Display: 1680x1050 @ 60Hz, 1920x1080 @ 60Hz, 1920x1080 @ 60Hz
 'XM0.           ,OMMK'    OMMM7'              .XMK     DE: KDE Plasma 6.3.5
   *WMO:.    .;xNMMk'       NNNMKl.          .xWMx      WM: KWin (X11)
     ^ONMMNXMMMKx;          V  'xNMWKkxllox0NMWk'       WM Theme: Klassy
         '''''                    ':dOOXXKOxl'          Theme: Fusion (Bclassic) [Qt], Breeze [GTK2/3/4]
                                                        Icons: breeze [Qt], breeze [GTK2/3/4]
                                                        Font: NotoSans Nerd Font (10pt) [Qt], NotoSans Nerd Font (10pt) [GTK2/3/4]
                                                        Cursor: klassy (24px)
                                                        Terminal: konsole 25.4.1
                                                        CPU: 2 x Intel(R) Xeon(R) E5-2699 v4 (88) @ 3.60 GHz
                                                        GPU: AMD Radeon R9 390 Series [Discrete]
                                                        Memory: 6.20 GiB / 62.63 GiB (10%)
                                                        Swap: Disabled
                                                        Disk (/): 53.22 GiB / 118.74 GiB (45%) - btrfs
                                                        Disk (/home): 98.60 GiB / 238.47 GiB (41%) - btrfs
                                                        Disk (/run/media/usr_40476/#): 4.56 GiB / 202.50 GiB (2%) - btrfs
                                                        Disk (/run/media/usr_40476/#): 57.03 GiB / 277.30 GiB (21%) - btrfs
                                                        Disk (/run/media/usr_40476/#): 3.86 GiB / 66.07 GiB (6%) - btrfs
                                                        Disk (/run/media/usr_40476/#): 14.97 GiB / 465.76 GiB (3%) - btrfs
                                                        Local IP (wlp2s0): #.#.#.#
                                                        Locale: en_US.UTF-8

                                                                                
                                                                                
usr_40476@2xeon:~>

kinfo is a wrapper script that runs kcmshell6 kcm_about-distro with different arguments depending on the type of session, source: invent.kde.org/plasma/kde-cli-tools/ and the source code for kcm_about-distro is here kcms/about-distro · master · Plasma / KInfoCenter · GitLab
there is also a wishlist bug report about this 500745 – The Hardware section of the Info Center shows wrong and confusing description for 'Processors' on its initial (summary) page

1 Like