LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-14-2018, 02:03 PM   #1
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 72

Rep: Reputation: Disabled
Beta testers for Perl inxi requested


Hi Slackware users. I'm working on the new 3.0.0 release of inxi. The development branch is called pinxi, so you can run pinxi and inxi together to compare etc. Once all the bugs and issues that are going to be found are found, the pinxi branch will move to inxi master and become inxi 3.0.0. Pinxi is a full rewrite, in Perl5, of inxi.

Git branch: https://github.com/smxi/inxi/tree/inxi-perl

To test, install/download:

Code:
wget -O /usr/local/bin/pinxi https://github.com/smxi/inxi/raw/inxi-perl/pinxi
chmod +x /usr/local/bin/pinxi
Once installed, updating works the same as with inxi:

Code:
pinxi -U
I want to release version 3.0.0 of inxi with no real bugs, at least as few as possible, and as many improvements over inxi 2.3.56 as possible.

I"m probably now in my final week of beta testing, but I'd like if other distros would give it a spin and see if there are any errors, bugs, issues, glitches, etc.

The only feature that is not totally complete is RAID, but I expect that to be done by today. Once there are no active issues or bugs, pinxi will move to inxi 3.0.0, or maybe inxi 2.9.01.

Of particular interest to me is ARM testing and RAID, those can always use more work.

Note that pinxi/inxi will respect all existing user configurations, no changes will be required, and all short form args for normal options are the same, only now there are also long form args for everything as well, which means any tools that use inxi should see few changes, though you want to check that to make sure.

There's an enhanced debugger as well, called with --debug 21 (leaves tar.gz data file on your system) or --debug 22 (removes all debugging data after automatic upload), which is helping a lot with debugging issues.
The most useful testing command is: pinxi -zv8

-zv8 is basically everything it can do, so any bugs will show there if they exist, plus the -z output filter.

Last edited by h2-1; 03-15-2018 at 03:54 PM.
 
Old 03-14-2018, 02:19 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17
Posts: 5,561
Blog Entries: 20

Rep: Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636
Just breaking the ice. For the slackware users.

Code:
harry@biker:~
$ pinxi -v8
System:    Host: biker Kernel: 4.15.5-antix.1-amd64-smp x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: IceWM 1.4.2 dm: slim Distro: antiX-17_x64-full Heather Heyer 24 October 2017 
Machine:   Type: Laptop System: Dell product: Latitude E4310 v: 0001 serial: N/A Chassis: type: 9 serial: N/A 
           Mobo: Dell model: 0T6M8G v: A01 serial: N/A BIOS: Dell v: A03 date: 07/08/2010 
Battery:   BAT-0: charge: 48.8 Wh condition: 40.3/48.8 Wh (82%) volts: 12.5/11.1 
           model: Samsung SDI DELL RM6618A type: Li-ion serial: N/A status: Full 
Memory:    RAM Report: permissions: Unable to run dmidecode. Are you root? 
PCI Slots: Permissions: Unable to run dmidecode. Are you root? 
CPU:       Topology: Dual Die Dual Core model: Intel Core i5 M 520 type: MT MCP arch: Nehalem rev: 5 
           L2 cache: 3072 KB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19151 
           Speed: 1465 MHz min/max: 1199/2400 MHz Core speeds: 1: 1388 2: 1359 3: 1332 4: 1463 
Graphics:  Card-1: Intel Core Processor Integrated Graphics Controller driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:0046 
           Display Server: X.Org 1.19.2 driver: intel resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel Ironlake Mobile version: 2.1 Mesa 13.0.6 direct render: Yes 
Audio:     Card-1: Intel 5 Series/3400 Series High Definition Audio driver: snd_hda_intel v: kernel 
           bus ID: 00:1b.0 chip ID: 8086:3b57 
           Sound Server: ALSA v: k4.15.5-antix.1-amd64-smp 
Network:   Card-1: Intel 82577LM Gigabit Network Connection driver: e1000e v: 3.2.6-k port: 6040 bus ID: 00:19 
           chip ID: 8086:10ea 
           IF: eth0 state: down mac: 5c:26:0a:06:32:15 
           Card-2: Intel Centrino Advanced-N 6200 driver: iwlwifi v: kernel bus ID: 02:00 chip ID: 8086:422c 
           IF: wlan0 state: up mac: 00:27:10:6a:ae:60 
           IP v4: 192.168.254.67/24 scope: global broadcast: 192.168.254.255 
           IP v6: fe80::227:10ff:fe6a:ae60/64 scope: link 
           WAN IP: 98.20.32.179 
Drives:    HDD Total Size: 55.90 GB used: 23.60 GB (42.2%) 
           ID-1: /dev/sda model: KINGSTON_SV300S3 size: 55.90 GB serial: 50026B7743028DAC rev: BBF0 
           Optical-1: /dev/sr0 vendor: TSSTcorp model: DVD+-RW TS-U633F rev: D500 dev-links: cdrom 
           Features: speed: 24 multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram 
           state: running 
Partition: ID-1: / size: 7.63 GB used: 3.56 GB (46.7%) fs: ext4 dev: /dev/sda2 label: rootantiX 
           uuid: 78252287-6dbf-4719-9c7f-13d6bbc8143b 
           ID-2: /home size: 47.08 GB used: 20.04 GB (42.6%) fs: ext4 dev: /dev/sda1 label: homeantiX 
           uuid: 62a4a2cd-066a-47d3-a366-f8059a89cbcb 
RAID:      Message: No RAID data was found. 
Unmounted: Message: No unmounted partitions found. 
USB:       Hub: 1:1 usb: 2.00 type: Full speed (or root) hub chip ID: 1d6b:0002 
           Hub: 1:2 usb: 2.00 type: Intel Integrated Rate Matching Hub chip ID: 8087:0020 
           Hub: 2:1 usb: 2.00 type: Full speed (or root) hub chip ID: 1d6b:0002 
           Hub: 2:2 usb: 2.00 type: Intel Integrated Rate Matching Hub chip ID: 8087:0020 
           Device-1: Dell DW375 Bluetooth Module bus ID: 2:3 usb: 2.00 type: Bluetooth chip ID: 413c:8187 
           Device-2: Broadcom BCM5880 Secure Applications Processor with fingerprint swipe sensor bus ID: 2:4 
           usb: 1.10 type: Application Specific Interface chip ID: 0a5c:5801 
Sensors:   System Temperatures: cpu: 50.0 C mobo: N/A 
           Fan Speeds (in RPM): cpu: 3062 
Repos:     Active apt sources in: /etc/apt/sources.list.d/antix.list 
           1: deb http://repo.antixlinux.com/stretch stretch main nosystemd
           Active apt sources in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
           Active apt sources in: /etc/apt/sources.list.d/debian.list 
           1: deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
           2: deb http://security.debian.org/ stretch/updates main contrib non-free
           Active apt sources in: /etc/apt/sources.list.d/onion.list 
           1: No repos found in this file
           Active apt sources in: /etc/apt/sources.list.d/various.list 
           1: No repos found in this file
Processes: CPU  % used - Command - pid - Memory: MB / % used - top: 5 
           1: cpu: 61.4% command: firefox-esr pid: 10029 mem: 388.7MB (4.9%) 
           2: cpu: 1.0% command: lxterminal pid: 11407 mem: 24.3MB (0.3%) 
           3: cpu: 0.8% command: xorg pid: 2418 mem: 36.8MB (0.4%) 
           4: cpu: 0.5% command: bash pid: 11409 mem: 4.66MB (0.0%) 
           5: cpu: 0.4% command: conky pid: 2837 mem: 10.5MB (0.1%) 
           Memory MB/% used - Command - pid - CPU: % used - top: 5 
           1: mem: 388.7 MB (61.4%) command: firefox-esr pid: 10029 cpu: 4.9% 
           2: mem: 41.1 MB (0.0%) command: python pid: 2774 cpu: 0.5% 
           3: mem: 36.8 MB (0.8%) command: xorg pid: 2418 cpu: 0.4% 
           4: mem: 27.7 MB (0.0%) command: volumeicon pid: 2762 cpu: 0.3% 
           5: mem: 24.3 MB (1.0%) command: lxterminal pid: 11407 cpu: 0.3% 
Info:      Processes: 153 Uptime: 5:41 Memory: 7.72 GB used: 530.4 MB (6.7%) Init: SysVinit v: 2.88 runlevel: 5 
           default: 5 Compilers: gcc: 6.3.0 alt: 6 Shell: bash 4.4.12 running in: lxterminal 
           pinxi: 2.9.00-380-p
 
Old 03-14-2018, 02:31 PM   #3
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 72

Original Poster
Rep: Reputation: Disabled
rokytnji, you'll want to update pinxi, it's currently at version 2.9.00-0414-p
 
Old 03-15-2018, 05:16 AM   #4
zakame
Member
 
Registered: Apr 2012
Distribution: Debian, Ubuntu, Slackware
Posts: 248

Rep: Reputation: 149Reputation: 149
pinxi -v8 seems to list the entire contents of /etc/slackpkg/mirrors, not just finding the uncommented line for the mirror.
 
Old 03-15-2018, 07:53 AM   #5
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17
Posts: 5,561
Blog Entries: 20

Rep: Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636
Quote:
Originally Posted by h2-1 View Post
rokytnji, you'll want to update pinxi, it's currently at version 2.9.00-0414-p
Gotcha. Thanks for the heads up.

Code:
# pinxi -U --alt 40
Starting pinxi self updater.
Using curl as downloader.
Currently running pinxi version number: 2.9.00
Current version patch number: 380-p
Current version release date: 2018-03-08
Updating pinxi in /usr/local/bin using pinxi branch as download source...
Successfully updated to pinxi branch version: 2.9.00;
New pinxi branch version patch number: 422-p;
New pinxi branch version release date: 2018-03-14;
To run the new version, just start pinxi; again.
----------------------------------------

Starting download of man page file now.
Skipping man download because branch version is being used.
Code:
# pinxi
CPU: Dual Core Intel Core i5 M 520 (-MT MCP-) speed/min/max: 2640/1199/2400 MHz 
Kernel: 4.15.5-antix.1-amd64-smp x86_64 Up: 8 min Mem: 549.1/7904.3 MB (6.9%) 
HDD: 55.90 GB (42.2% used) Procs: 153 Shell: bash 4.4.12 pinxi: 2.9.00-422-p
Code:
$ pinxi -h
pinxi supports the following options. You can combine them, or list them one by one. 
Examples: pinxi -v4 -c6 OR pinxi -bDc 6. If you start pinxi with no arguments, it will 
show the short form. 

The following options if used without -F, -b, or -v will show just option line(s): A, 
B, C, D, G, I, M, N, P, R, S, f, i, m, n, o, p, l, u, r, s, t - you can use these alone 
or together to show just the line(s) you want to see. If you use them with -v [level], 
-b or -F, it will show the full output for that line along with the output for the 
chosen verbosity level. 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Output Control Options:
 -A, --audio   Audio/sound card information.
 -b, --basic   Basic output, short form. Like pinxi -v 2, only minus hard disk names.
 -B, --battery Battery info, shows charge, condition, plus extra information (if 
               battery present). 
 -c, --color   Color schemes. Scheme number is required. Color selectors run a color 
               selector option prior to pinxi starting which lets you set the config 
               file value for the selection. 
               Supported color schemes: 0-43 Example: pinxi -c 11
               Color selectors for each type display (NOTE: irc and global only show 
               safe color set): 
                  94  Console, out of X
                  95  Terminal, running in X - like xTerm
                  96  Gui IRC, running in X - like Xchat, Quassel, Konversation etc.
                  97  Console IRC running in X - like irssi in xTerm
                  98  Console IRC not in X
                  99  Global - Overrides/removes all settings. Setting specific removes 
                      global. 
 -C, --cpu     CPU output, including per CPU clockspeed and max CPU speed (if 
               available). 
 -d, --disk-full, --optical
               Adds optical drive data (and floppy disks, if present). Same as -Dd. See 
               also -x and -xx. 
 -D, --disk    Full hard Disk info, not only model, ie: /dev/sda ST380817AS 80.0GB. See 
               also -x and -xx. Disk total used percentage includes swap partition 
               size(s). 
 -f, --flags   All cpu flags, triggers -C. Not shown with -F to avoid spamming. ARM 
               cpus show 'features'. 
 -F, --full    Full output for pinxi. Includes all Upper Case line letters, plus -s and 
               -n. Does not show extra verbose options like -d -f -l -m -o -p -r -t -u 
               -x 
 -G, --graphics
               Graphic card information (card, display server type/version, resolution, 
               renderer, OpenGL version). 
 -i, --ip      Wan IP address, and shows local interfaces (requires ifconfig network 
               tool). Same as -Nni. Not shown with -F for user security reasons, you 
               shouldn't paste your local/wan IP. 
 -I, --info    Information: processes, uptime, memory, irc client (or shell type), 
               pinxi version. 
 -l, --label   Partition labels. Default: short partition -P. For full -p output, use: 
               -pl (or -plu). 
 -m, --memory  Memory (RAM) data. Physical system memory array(s), capacity, how many 
               devices (slots) supported, and individual memory devices (sticks of 
               memory etc). For devices, shows device locator, size, speed, type (like: 
               DDR3). If neither -I nor -tm are selected, also shows ram used/total. 
               Also see -x, -xx, -xxx 
 -M, --machine Machine data. Device type (desktop, server, laptop, VM etc.), 
               Motherboard, Bios, and if present, System Builder (Like Lenovo). Shows 
               UEFI/BIOS/UEFI [Legacy]. Older systems/kernels without the required /sys 
               data can use dmidecode instead, run as root. Dmidecode can be forced 
               with -! 33 
 -n, --network-advanced
               Advanced Network card information. Same as -Nn. Shows interface, speed, 
               mac id, state, etc. 
 -N, --network Network card information. With -x, shows PCI BusID, Port number.
 -o, --unmounted
               Unmounted partition information (includes UUID and LABEL if available). 
               Shows file system type if you have file installed, if you are root OR if 
               you have added to /etc/sudoers (sudo v. 1.7 or newer) 
               Example: <username> ALL = NOPASSWD: /usr/bin/file  
 -p, --partitions-full
               Full partition information (-P plus all other detected partitions).
 -P, --partitions
               Basic partition information (shows what -v 4 would show, but without 
               extra data). Shows, if detected: / /boot /home /opt /tmp /usr /var 
               /var/log /var/tmp . Use -p to see all mounted partitions. 
 -r, --repos   Distro repository data. Supported repo types: APK; APT; PACMAN; PISI; 
               PORTAGE; PORTS (BSDs); SLACKPKG; URPMQ; YUM; ZYPP. 
 -R, --raid    RAID data. Shows RAID devices, states, levels, and components, and extra 
               data with -x/-xx. md-raid: If device is resyncing, shows resync progress 
               line as well. 
 -s, --sensors Sensors output (if sensors installed/configured): mobo/cpu/gpu temp; 
               detected fan speeds. Gpu temp only for Fglrx/Nvidia drivers. Nvidia 
               shows screen number for > 1 screens. 
     --slots   Show PCI slots, type, speed, status.
 -S, --system  System information: host name, kernel, desktop environment (if in X), 
               distro 
 -t, --processes
               Processes. Requires extra options: c (cpu) m (memory) cm (cpu+memory). 
               If followed by numbers 1-X, shows that number of processes for each type 
               (default: 5; if in irc, max: 5): -t cm10 
               Make sure to have no space between letters and numbers (-t cm10 - right, 
               -t cm 10 - wrong). 
     --usb     Show USB data; Hubs and Devices attached.
 -u, --uuid    Partition UUIDs. Default: short partition -P. For full -p output, use: 
               -pu (or -plu). 
 -v, --verbosity
               Script verbosity levels. Verbosity level number is required. Should not 
               be used with -b or -F 
               Supported levels: 0-7 Example: pinxi -v 4
                   0  Short output, same as: pinxi
                   1  Basic verbose, -S + basic CPU + -G + basic Disk + -I.
                   2  Networking card (-N), Machine (-M) data, if present, Battery 
                      (-B), basic hard disk data (names only), and, if present, basic 
                      raid (devices only, and if inactive, notes that). similar to: 
                      pinxi -b 
                   3  Advanced CPU (-C), battery, network (-n) data, and switches on -x 
                      advanced data option. 
                   4  Partition size/filled data (-P) for (if present): /, /home, 
                      /var/, /boot. Shows full disk data (-D). 
                   5  Audio card (-A); sensors (-s), memory/ram (-m), partition 
                      label (-l) and UUID (-u), short form of optical drives, standard 
                      raid data (-R). 
                   6  Full partition (-p), unmounted partition (-o), optical drive 
                      (-d), USB (--usb), full raid; triggers -xx. 
                   7  Network IP data (-i); triggers -xxx.
                   8  Everything available. repos (-r), processes (-tcm), PCI slots 
                      (--slots), and anything else added. 
 -x, -extra    Adds the following extra data (only works with verbose or line output, 
               not short form): 
                  -B  Vendor/model, status (if available)
                  -C  CPU Flags, Bogomips on Cpu;CPU microarchitecture / revision if 
                      found, like: (Sandy Bridge rev.2) 
                  -d  Extra optical drive data; adds rev version to optical drive.
                  -D  Hdd temp with disk data if you have hddtemp installed, if you are 
                      root OR if you have added to /etc/sudoers (sudo v. 1.7 or newer) 
                      Example: <username> ALL = NOPASSWD: /usr/sbin/hddtemp 
                  -G  Direct rendering status for Graphics (in X).
                  -G  (for single gpu, nvidia driver) screen number gpu is running on.
                  -i  For IPv6, show additional IP v6 scope addresses: Global, Site, 
                      Temporary, Unknown. See --limit for large counts of IP addresses. 
                  -I  System GCC, default. With -xx, also show other installed GCC 
                      versions. If running in console, not in IRC client, shows shell 
                      version number, if detected. Init/RC Type and runlevel (if 
                      available). 
                  -m  Manufacteror and Part number; Max memory module size (if 
                      available). 
               -N -A  Version/port(s)/driver version (if available) for Network/Audio;
            -N -A -G  Network, audio, graphics, shows PCI Bus ID/Usb ID number of card.
                  -R  md-raid: Resync line, shows blocks synced/total blocks.
                  -S  Desktop toolkit if available (GNOME/XFCE/KDE only); Kernel gcc 
                      version 
                  -t  Memory use output to cpu (-xt c), and cpu use to memory (-xt m).
               --usb  For Devices, show USB speed.
-xx, --extra 2 Show extra, extra data (only works with verbose or line output, not 
               short form): 
                  -A  Chip vendor:product ID for each audio device.
                  -B  serial number, voltage (if available).
                  -C  Minimum CPU speed, if available.
                  -D  Disk serial number.
                  -G  Chip vendor:product ID for each video card; (mir/wayland only) 
                      compositor (alpha test); OpenGL compatibility version, if free 
                      drivers and available. 
                  -I  Other detected installed gcc versions (if present). System 
                      default runlevel. Adds parent program (or tty) for shell info if 
                      not in IRC (like Konsole or Gterm). Adds Init/RC (if found) 
                      version number. 
                  -m  Manufacterer, part number; Single/double bank (if found).
                  -M  Chassis information, bios rom size (dmidecode only), if data for 
                      either is available. 
                  -N  Chip vendor:product ID for each nic.
                  -R  md-raid: Superblock (if present); algorythm. Adds system info 
                      line (kernel support,read ahead, raid events). If resync, shows 
                      progress bar. 
                  -S  Display manager (dm) in desktop output, if in X (like kdm, gdm3, 
                      lightdm). 
             --slots  Show slot length.
               --usb  Show vendor:chip id.
-xxx, --extra 3
               Show extra, extra, extra data (only works with verbose or line output, 
               not short form): 
                  -B  chemistry, cycles, location (if available).
                  -D  Firmware rev. if available.
                  -m  Width of memory bus, data and total (if present and greater than 
                      data); Detail, if present, for Type; module voltage, if 
                      available; Serial number. 
                  -R  zfs-raid: Shows portion allocated (used) by RAID devices/arrays. 
                      md-raid: Adds system mdraid support types (kernel support,read 
                      ahead, raid events) 
                  -S  Panel/shell information in desktop output, if in X (like 
                      gnome-shell, cinnamon, mate-panel); if available, dm version 
                      number. 
 -y, --width   Required extra option: integer, 80 or greater. Set the output line width 
               max. Overrides IRC/Terminal settings or actual widths. 
               Example: inxi -y 130 
 -z, --filter  Security filters for IP/Mac addresses, location, user home directory 
               name. Default on for irc clients. 
 -Z, --filter-override
               Absolute override for output filters. Useful for debugging networking 
               issues in irc for example. 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Additional Options:
 -h, --help    This help menu.
 -H, --help-full
               This help menu, plus developer options. Do not use dev options in normal 
               operation! 
     --recommends
               Checks pinxi application dependencies + recommends, and directories, 
               then shows what package(s) you need to install to add support for that 
               feature. 
 -U, --update  Auto-update script. Will also install/update man page. Note: if you 
               installed as root, you must be root to update, otherwise user is fine. 
               Man page installs require root user mode. No arguments downloads from 
               main pinxi git repo. 
               Use alternate sources for updating pinxi
                   1  Get the git branch one version.
                   2  Get the git branch two version.
              <http>  Get a version of pinxi from your own server if you want, put the 
                      full download path, like: pinxi -U https://myserver.com/inxi 
 -V, --version pinxi version information. Prints information then exits.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Debugging Options:
     --debug   Triggers debugging modes.
                 1-3  On screen pinxi debugger output
                  10  Basic pinxi logging.
                  11  Full file/system info logging
                  12  Plus Color logging.
               The following create a tar.gz file of system data, plus collecting the 
               pinxi output to file. To automatically upload debugger data tar.gz file 
               to ftp.techpatterns.com: pinxi --debug 21 
                  20  Full system data collection: /sys; xorg conf and log data, 
                      xrandr, xprop, xdpyinfo, glxinfo etc.; data from dev, disks, 
                      partitions, etc. 
                  21  Upload debugger dataset to pinxi debugger server automatically, 
                      removes debugger data directory, leaves tar.gz debugger file. 
                  22  Upload debugger dataset to pinxi debugger server automatically, 
                      removes debugger data directory and debugger tar.gz file. 
     --ftp     Use with --debugger 21 to trigger an alternate FTP server for upload. 
               Format: [ftp.xx.xx/yy]. Must include a remote directory to upload to: 
               Example: pinxi --debug 21 --ftp ftp.myserver.com/incoming 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Advanced Options:
     --alt     Trigger for various advanced options:
                  31  Turns off hostname in output. Useful if showing output from 
                      servers etc. 
                  32  Turns on hostname in output.
                  33  Forces use of dmidecode data instead of /sys where relevant (-M).
                  34  Skips SSL certificate checks for all downloader activies 
                      (wget/fetch/curl only). 
                  40  Bypass Perl as a downloader option.
                  41  Bypass Curl as a downloader option.
                  42  Bypass Fetch as a downloader option.
                  43  Bypass Wget as a downloader option.
                  44  Bypass Curl, Fetch, and Wget as a downloader options. Forces Perl 
                      if HTTP::Tiny present. 
     --display Will try to get display data out of X. Default gets it from display 0. 
               If you use this format: --display 1 it would get it from display 1 
               instead, or any display you specify 
     --downloader
               Force pinxi to use [curl|fetch|perl|wget] for downloads.
     --limit   [-1 - x] -1 removes limit. Raise or lower max output limit of IP 
               addresses for -i. 
     --output  Change data output type. Options: [csv|json|screen|xml]
     --sleep   [0-x.x] - Usually in decimals. Change CPU sleep time for -C (current: 
               0.35). Sleep is used to let system catch up and show a more accurate CPU 
               use. Example: pinxi -Cxxx --sleep 0.15 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
Old 03-15-2018, 01:45 PM   #6
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 72

Original Poster
Rep: Reputation: Disabled
zakame, I'll need a copy of the file to correct that issue, or at least a sample chunk of it. Looks like a failed ID somewhere or other. Include the commented out lines. It may be a trivial fix, probably is.
 
Old 03-15-2018, 01:47 PM   #7
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 72

Original Poster
Rep: Reputation: Disabled
rokytnji, the --alt 40 was required to handle an uncorrected bug, which I fixed a few release ago, that was one of the oldest issues I had seen as well, it's not required anymore because pinxi checks correctly for all downloader requirements now.
 
Old 03-15-2018, 02:06 PM   #8
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,325

Rep: Reputation: Disabled
Quote:
Originally Posted by h2-1 View Post
zakame, I'll need a copy of the file to correct that issue, or at least a sample chunk of it. Looks like a failed ID somewhere or other. Include the commented out lines. It may be a trivial fix, probably is.
/etc/slackpkg/mirrors from Slackware64-current.

Code:
# mirrors - List of Slackware Linux mirrors.
#
# SlackPkg - An Automated packaging tool for Slackware Linux
# Copyright (C) 2003-2011 Roberto F. Batista, Evaldo Gardenali
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
# Project Page: http://slackpkg.org/
# Roberto F. Batista (aka PiterPunk) piterpunk@slackware.com
# Evaldo Gardenali (aka UdontKnow) evaldogardenali@fasternet.com.br
#
# END OF LEGAL NOTICE
#
#
# You only need to select one mirror and uncomment it.
# ONLY ONE mirror can be uncommented.
#
# You can use a mirror not included in this file.  Many people have mirrors
# in their local networks.  A list of all official Slackware mirrors
# (not version-specific, so some mirrors may not have all files) is here:
# https://mirrors.slackware.com/mirrorlist/
#
# Slackpkg only needs to point to the directory that contains
# "ChangeLog.txt", and don't forget the trailing slash.
#
#----------------------------------------------------------------
# Local CD/DVD drive
#----------------------------------------------------------------
# cdrom://media/cdrom/
#
#----------------------------------------------------------------
# Local Directory
#----------------------------------------------------------------
# file://path/to/some/directory/
#
#----------------------------------------------------------------
# Slackware64-14.2
#----------------------------------------------------------------
# USE MIRRORS.SLACKWARE.COM (DO NOT USE FTP - ONLY HTTP FINDS A NEARBY MIRROR)
# https://mirrors.slackware.com/slackware/slackware64-14.2/
#
#
# Here are some individual mirrors that can be used instead of the
# redirector at mirrors.slackware.com if necessary ; note that this
# list is not guaranteed to be up-to-date
#
# AUSTRALIA (AU)
# ftp://ftp.cc.swin.edu.au/slackware/slackware64-14.2/
# http://ftp.cc.swin.edu.au/slackware/slackware64-14.2/
# ftp://ftp.iinet.net.au/pub/slackware/slackware64-14.2/
# http://ftp.iinet.net.au/pub/slackware/slackware64-14.2/
# ftp://mirror.as24220.net/pub/slackware/slackware64-14.2/
# http://mirror.as24220.net/pub/slackware/slackware64-14.2/
# ftp://mirror.internode.on.net/.pub2/slackware/slackware64-14.2/
# http://mirror.internode.on.net/pub/slackware/slackware64-14.2/
# AUSTRIA (AT)
# http://gd.tuwien.ac.at/opsys/linux/freesoftware.com/slackware64-14.2/
# BELARUS (BY)
# ftp://mirror.datacenter.by/pub/slackware/slackware64-14.2/
# http://mirror.datacenter.by/pub/slackware/slackware64-14.2/
# BRAZIL (BR)
# ftp://ftp.slackware-brasil.com.br/slackware64-14.2/
# http://ftp.slackware-brasil.com.br/slackware64-14.2/
# BULGARIA (BG)
# ftp://mirrors.unixsol.org/slackware/slackware64-14.2/
# http://mirrors.unixsol.org/slackware/slackware64-14.2/
# CANADA (CA)
# ftp://mirror.csclub.uwaterloo.ca/slackware/slackware64-14.2/
# http://mirror.csclub.uwaterloo.ca/slackware/slackware64-14.2/
# ftp://mirror.its.dal.ca/slackware/slackware64-14.2/
# http://mirror.its.dal.ca/slackware/slackware64-14.2/
# CHINA (CN)
# http://mirrors.163.com/slackware/slackware64-14.2/
# http://mirrors.ustc.edu.cn/slackware/slackware64-14.2/
# COSTA RICA (CR)
# ftp://mirrors.ucr.ac.cr/slackware/pub/slackware/slackware64-14.2/
# http://mirrors.ucr.ac.cr/slackware/pub/slackware/slackware64-14.2/
# CZECH REPUBLIC (CZ)
# ftp://odysseus.linux.cz/pub/linux/slackware/slackware64-14.2/
# http://odysseus.linux.cz/pub/linux/slackware/slackware64-14.2/
# DENMARK (DK)
# ftp://mirrors.dotsrc.org/slackware/slackware64-14.2/
# https://mirrors.dotsrc.org/slackware/slackware64-14.2/
# FINLAND (FI)
# ftp://elektroni.phys.tut.fi/slackware64-14.2/
# FRANCE (FR)
# ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-14.2/
# http://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-14.2/
# GERMANY (DE)
# ftp://ftp.gwdg.de/pub/linux/slackware/slackware64-14.2/
# http://ftp.gwdg.de/pub/linux/slackware/slackware64-14.2/
# ftp://ftp.tu-chemnitz.de/pub/linux/slackware/slackware64-14.2/
# http://ftp.tu-chemnitz.de/pub/linux/slackware/slackware64-14.2/
# ftp://sunsite.informatik.rwth-aachen.de/pub/comp/Linux/slackware/slackware64-14.2/
# http://sunsite.informatik.rwth-aachen.de/ftp/pub/comp/Linux/slackware/slackware64-14.2/
# GREECE (GR)
# ftp://ftp.cc.uoc.gr/mirrors/linux/slackware/slackware64-14.2/
# http://ftp.cc.uoc.gr/mirrors/linux/slackware/slackware64-14.2/
# ftp://ftp.otenet.gr/pub/linux/slackware/slackware64-14.2/
# http://ftp.otenet.gr/linux/slackware/slackware64-14.2/
# ftp://patroklos.noc.ntua.gr/pub/linux/slackware/slackware64-14.2/
# http://patroklos.noc.ntua.gr/pub/linux/slackware/slackware64-14.2/
# INDONESIA (ID)
# http://kambing.ui.ac.id/slackware/slackware64-14.2/
# https://repo.ukdw.ac.id/slackware/slackware64-14.2/
# IRELAND (IE)
# ftp://ftp.heanet.ie/mirrors/ftp.slackware.com/pub/slackware/slackware64-14.2/
# http://ftp.heanet.ie/mirrors/ftp.slackware.com/pub/slackware/slackware64-14.2/
# ITALY (IT)
# ftp://ba.mirror.garr.it/mirrors/Slackware/slackware64-14.2/
# http://ba.mirror.garr.it/mirrors/Slackware/slackware64-14.2/
# JAPAN (JP)
# ftp://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware64-14.2/
# http://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware64-14.2/
# ftp://ftp.kddilabs.jp/Linux/distributions/Slackware/slackware64-14.2/
# http://ftp.kddilabs.jp/Linux/distributions/Slackware/slackware64-14.2/
# ftp://riksun.riken.go.jp/Linux/slackware/slackware64-14.2/
# http://riksun.riken.go.jp/Linux/slackware/slackware64-14.2/
# NETHERLANDS (NL)
# ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware64-14.2/
# http://ftp.nluug.nl/os/Linux/distr/slackware/slackware64-14.2/
# ftp://mirror.nl.leaseweb.net/slackware/slackware64-14.2/
# http://mirror.nl.leaseweb.net/slackware/slackware64-14.2/
# NORWAY (NO)
# ftp://ftp.slackware.no/slackware/slackware64-14.2/
# http://ftp.slackware.no/slackware/slackware64-14.2/
# POLAND (PL)
# ftp://ftp.pwr.wroc.pl/pub/linux/slackware/slackware64-14.2/
# http://ftp.pwr.wroc.pl/pub/linux/slackware/slackware64-14.2/
# ftp://ftp.slackware.pl/pub/slackware/slackware64-14.2/
# http://ftp.slackware.pl/pub/slackware/slackware64-14.2/
# ftp://sunsite.icm.edu.pl/vol/rzm1/linux-slackware/slackware64-14.2/
# http://sunsite.icm.edu.pl/packages/linux-slackware/slackware64-14.2/
# ftp://z-ftp.wcss.wroc.pl/pub/linux/slackware/slackware64-14.2/
# http://z-ftp.wcss.wroc.pl/pub/linux/slackware/slackware64-14.2/
# RUSSIA (RU)
# http://mirror.rol.ru/slackware/slackware64-14.2/
# ftp://mirror.yandex.ru/slackware/slackware64-14.2/
# http://mirror.yandex.ru/slackware/slackware64-14.2/
# SOUTH AFRICA (ZA)
# ftp://ftp.is.co.za/mirror/ftp.slackware.com/pub/slackware64-14.2/
# http://ftp.is.co.za/mirror/ftp.slackware.com/pub/slackware64-14.2/
# ftp://ftp.wa.co.za/pub/slackware/slackware64-14.2/
# http://ftp.wa.co.za/pub/slackware/slackware64-14.2/
# ftp://slackware.mirror.ac.za/slackware64-14.2/
# http://slackware.mirror.ac.za/slackware64-14.2/
# SWEDEN (SE)
# ftp://ftp.sunet.se/mirror/slackware.com/slackware64-14.2/
# http://ftp.sunet.se/mirror/slackware.com/slackware64-14.2/
# SWITZERLAND (CH)
# ftp://mirror.switch.ch/mirror/slackware/slackware64-14.2/
# http://mirror.switch.ch/ftp/mirror/slackware/slackware64-14.2/
# TAIWAN (TW)
# ftp://ftp.isu.edu.tw/pub/Linux/Slackware/slackware64-14.2/
# http://ftp.isu.edu.tw/pub/Linux/Slackware/slackware64-14.2/
# ftp://ftp.twaren.net/pub/Linux/Slackware/slackware64-14.2/
# http://ftp.twaren.net/Linux/Slackware/slackware64-14.2/
# TURKEY (TR)
# ftp://ftp.linux.org.tr/slackware/slackware64-14.2/
# http://ftp.linux.org.tr/slackware/slackware64-14.2/
# UKRAINE (UA)
# ftp://mirrors.mithril.org.ua/linux/slackware/slackware64-14.2/
# http://mirrors.mithril.org.ua/linux/slackware/slackware64-14.2/
# UNITED KINGDOM (UK)
# ftp://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware64-14.2/
# http://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware64-14.2/
# ftp://mirror.bytemark.co.uk/slackware/slackware64-14.2/
# http://mirror.bytemark.co.uk/slackware/slackware64-14.2/
# UNITED STATES (US)
# ftp://ftp.gtlib.gatech.edu/nv/ao2/lxmirror/ftp.slackware.com/slackware64-14.2/
# ftp://mirror.cs.princeton.edu/pub/mirrors/slackware/slackware64-14.2/
# ftp://mirrors.easynews.com/linux/slackware/slackware64-14.2/
# http://mirrors.easynews.com/linux/slackware/slackware64-14.2/
# ftp://mirrors.us.kernel.org/slackware/slackware64-14.2/
# http://mirrors.us.kernel.org/slackware/slackware64-14.2/
# ftp://mirrors.xmission.com/slackware/slackware64-14.2/
# http://mirrors.xmission.com/slackware/slackware64-14.2/
# https://mirror.slackbuilds.org/slackware/slackware64-14.2/
# http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/
# http://slackware.mirrors.pair.com/slackware64-14.2/
# ftp://slackware.mirrors.tds.net/pub/slackware/slackware64-14.2/
# http://slackware.mirrors.tds.net/pub/slackware/slackware64-14.2/
# ftp://spout.ussg.indiana.edu/linux/slackware/slackware64-14.2/
# http://spout.ussg.indiana.edu/linux/slackware/slackware64-14.2/
# ftp://teewurst.cc.columbia.edu/pub/linux/slackware/slackware64-14.2/
# http://teewurst.cc.columbia.edu/pub/linux/slackware/slackware64-14.2/
#
#----------------------------------------------------------------
# Slackware64-current
#----------------------------------------------------------------
# USE MIRRORS.SLACKWARE.COM (DO NOT USE FTP - ONLY HTTP FINDS A NEARBY MIRROR)
https://mirrors.slackware.com/slackware/slackware64-current/
#
#
# Here are some individual mirrors that can be used instead of the
# redirector at mirrors.slackware.com if necessary ; note that this
# list is not guaranteed to be up-to-date
#
# AUSTRALIA (AU)
# ftp://ftp.cc.swin.edu.au/slackware/slackware64-current/
# http://ftp.cc.swin.edu.au/slackware/slackware64-current/
# ftp://ftp.iinet.net.au/pub/slackware/slackware64-current/
# http://ftp.iinet.net.au/pub/slackware/slackware64-current/
# ftp://mirror.aarnet.edu.au/pub/slackware/slackware64-current/
# http://mirror.aarnet.edu.au/pub/slackware/slackware64-current/
# ftp://mirror.as24220.net/pub/slackware/slackware64-current/
# http://mirror.as24220.net/pub/slackware/slackware64-current/
# ftp://mirror.internode.on.net/.pub2/slackware/slackware64-current/
# http://mirror.internode.on.net/pub/slackware/slackware64-current/
# http://mirror.primusdatacentre.com.au/slackware/slackware64-current/
# AUSTRIA (AT)
# ftp://ftp.slackware.at/slackware64-current/
# http://ftp.slackware.at/data/slackware64-current/
# ftp://gd.tuwien.ac.at/opsys/linux/freesoftware.com/slackware64-current/
# http://gd.tuwien.ac.at/opsys/linux/freesoftware.com/slackware64-current/
# BELARUS (BY)
# ftp://mirror.datacenter.by/pub/slackware/slackware64-current/
# http://mirror.datacenter.by/pub/slackware/slackware64-current/
# BRAZIL (BR)
# ftp://ftp.slackware-brasil.com.br/slackware64-current/
# http://ftp.slackware-brasil.com.br/slackware64-current/
# BULGARIA (BG)
# ftp://mirrors.unixsol.org/slackware/slackware64-current/
# http://mirrors.unixsol.org/slackware/slackware64-current/
# CANADA (CA)
# ftp://mirror.csclub.uwaterloo.ca/slackware/slackware64-current/
# http://mirror.csclub.uwaterloo.ca/slackware/slackware64-current/
# ftp://mirror.its.dal.ca/slackware/slackware64-current/
# http://mirror.its.dal.ca/slackware/slackware64-current/
# CHINA (CN)
# http://mirror.bjtu.edu.cn/slackware/slackware64-current/
# http://mirrors.163.com/slackware/slackware64-current/
# http://mirrors.ustc.edu.cn/slackware/slackware64-current/
# COSTA RICA (CR)
# ftp://mirrors.ucr.ac.cr/slackware/pub/slackware/slackware64-current/
# http://mirrors.ucr.ac.cr/slackware/pub/slackware/slackware64-current/
# CZECH REPUBLIC (CZ)
# ftp://odysseus.linux.cz/pub/linux/slackware/slackware64-current/
# http://odysseus.linux.cz/pub/linux/slackware/slackware64-current/
# DENMARK (DK)
# ftp://mirrors.dotsrc.org/slackware/slackware64-current/
# https://mirrors.dotsrc.org/slackware/slackware64-current/
# FINLAND (FI)
# ftp://elektroni.phys.tut.fi/slackware64-current/
# FRANCE (FR)
# ftp://mirror.ovh.net/mirrors/ftp.slackware.com/slackware64-current/
# http://mirror.ovh.net/mirrors/ftp.slackware.com/slackware64-current/
# ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-current/
# http://nephtys.lip6.fr/pub/linux/distributions/slackware/slackware64-current/
# GERMANY (DE)
# ftp://ftp.fu-berlin.de/unix/linux/slackware/slackware64-current/
# ftp://ftp.gwdg.de/pub/linux/slackware/slackware64-current/
# http://ftp.gwdg.de/pub/linux/slackware/slackware64-current/
# ftp://ftp.tu-chemnitz.de/pub/linux/slackware/slackware64-current/
# http://ftp.tu-chemnitz.de/pub/linux/slackware/slackware64-current/
# ftp://sunsite.informatik.rwth-aachen.de/pub/comp/Linux/slackware/slackware64-current/
# http://sunsite.informatik.rwth-aachen.de/ftp/pub/comp/Linux/slackware/slackware64-current/
# ftp://wrz1013.rz.uni-wuerzburg.de/pub/MIRROR/slackware/slackware64-current/
# http://wrz1013.rz.uni-wuerzburg.de/pub/MIRROR/slackware/slackware64-current/
# GREECE (GR)
# ftp://ftp.cc.uoc.gr/mirrors/linux/slackware/slackware64-current/
# http://ftp.cc.uoc.gr/mirrors/linux/slackware/slackware64-current/
# ftp://ftp.otenet.gr/pub/linux/slackware/slackware64-current/
# http://ftp.otenet.gr/linux/slackware/slackware64-current/
# ftp://patroklos.noc.ntua.gr/pub/linux/slackware/slackware64-current/
# http://patroklos.noc.ntua.gr/pub/linux/slackware/slackware64-current/
# INDONESIA (ID)
# http://kambing.ui.ac.id/slackware/slackware64-current/
# https://repo.ukdw.ac.id/slackware/slackware64-current/
# IRELAND (IE)
# ftp://ftp.heanet.ie/mirrors/ftp.slackware.com/pub/slackware/slackware64-current/
# http://ftp.heanet.ie/mirrors/ftp.slackware.com/pub/slackware/slackware64-current/
# ITALY (IT)
# ftp://ba.mirror.garr.it/mirrors/Slackware/slackware64-current/
# http://ba.mirror.garr.it/mirrors/Slackware/slackware64-current/
# JAPAN (JP)
# ftp://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware64-current/
# http://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware64-current/
# ftp://ftp.kddilabs.jp/Linux/distributions/Slackware/slackware64-current/
# http://ftp.kddilabs.jp/Linux/distributions/Slackware/slackware64-current/
# ftp://riksun.riken.go.jp/Linux/slackware/slackware64-current/
# http://riksun.riken.go.jp/Linux/slackware/slackware64-current/
# NETHERLANDS (NL)
# ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware64-current/
# http://ftp.nluug.nl/os/Linux/distr/slackware/slackware64-current/
# ftp://mirror.nl.leaseweb.net/slackware/slackware64-current/
# http://mirror.nl.leaseweb.net/slackware/slackware64-current/
# NORWAY (NO)
# ftp://ftp.slackware.no/slackware/slackware64-current/
# http://ftp.slackware.no/slackware/slackware64-current/
# POLAND (PL)
# ftp://ftp.pwr.wroc.pl/pub/linux/slackware/slackware64-current/
# http://ftp.pwr.wroc.pl/pub/linux/slackware/slackware64-current/
# ftp://ftp.slackware.pl/pub/slackware/slackware64-current/
# http://ftp.slackware.pl/pub/slackware/slackware64-current/
# ftp://sunsite.icm.edu.pl/vol/rzm1/linux-slackware/slackware64-current/
# http://sunsite.icm.edu.pl/packages/linux-slackware/slackware64-current/
# ftp://z-ftp.wcss.wroc.pl/pub/linux/slackware/slackware64-current/
# http://z-ftp.wcss.wroc.pl/pub/linux/slackware/slackware64-current/
# RUSSIA (RU)
# http://mirror.rol.ru/slackware/slackware64-current/
# ftp://mirror.yandex.ru/slackware/slackware64-current/
# http://mirror.yandex.ru/slackware/slackware64-current/
# SOUTH AFRICA (ZA)
# ftp://ftp.is.co.za/mirror/ftp.slackware.com/pub/slackware64-current/
# http://ftp.is.co.za/mirror/ftp.slackware.com/pub/slackware64-current/
# ftp://ftp.wa.co.za/pub/slackware/slackware64-current/
# http://ftp.wa.co.za/pub/slackware/slackware64-current/
# ftp://slackware.mirror.ac.za/slackware64-current/
# http://slackware.mirror.ac.za/slackware64-current/
# SWEDEN (SE)
# ftp://ftp.sunet.se/mirror/slackware.com/slackware64-current/
# http://ftp.sunet.se/mirror/slackware.com/slackware64-current/
# SWITZERLAND (CH)
# ftp://mirror.switch.ch/mirror/slackware/slackware64-current/
# http://mirror.switch.ch/ftp/mirror/slackware/slackware64-current/
# TAIWAN (TW)
# ftp://ftp.isu.edu.tw/pub/Linux/Slackware/slackware64-current/
# http://ftp.isu.edu.tw/pub/Linux/Slackware/slackware64-current/
# ftp://ftp.twaren.net/pub/Linux/Slackware/slackware64-current/
# http://ftp.twaren.net/Linux/Slackware/slackware64-current/
# TURKEY (TR)
# ftp://ftp.linux.org.tr/slackware/slackware64-current/
# http://ftp.linux.org.tr/slackware/slackware64-current/
# UKRAINE (UA)
# ftp://mirrors.mithril.org.ua/linux/slackware/slackware64-current/
# http://mirrors.mithril.org.ua/linux/slackware/slackware64-current/
# UNITED KINGDOM (UK)
# ftp://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware64-current/
# http://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware64-current/
# ftp://mirror.bytemark.co.uk/slackware/slackware64-current/
# http://mirror.bytemark.co.uk/slackware/slackware64-current/
# UNITED STATES (US)
# ftp://ftp.gtlib.gatech.edu/nv/ao2/lxmirror/ftp.slackware.com/slackware64-current/
# ftp://mirror.cs.princeton.edu/pub/mirrors/slackware/slackware64-current/
# ftp://mirrors.easynews.com/linux/slackware/slackware64-current/
# http://mirrors.easynews.com/linux/slackware/slackware64-current/
# ftp://mirrors.us.kernel.org/slackware/slackware64-current/
# http://mirrors.us.kernel.org/slackware/slackware64-current/
# ftp://mirrors.xmission.com/slackware/slackware64-current/
# http://mirrors.xmission.com/slackware/slackware64-current/
# https://mirror.slackbuilds.org/slackware/slackware64-current/
# http://slackware.cs.utah.edu/pub/slackware/slackware64-current/
# http://slackware.mirrors.pair.com/slackware64-current/
# ftp://slackware.mirrors.tds.net/pub/slackware/slackware64-current/
# http://slackware.mirrors.tds.net/pub/slackware/slackware64-current/
# ftp://spout.ussg.indiana.edu/linux/slackware/slackware64-current/
# http://spout.ussg.indiana.edu/linux/slackware/slackware64-current/
# ftp://teewurst.cc.columbia.edu/pub/linux/slackware/slackware64-current/
# http://teewurst.cc.columbia.edu/pub/linux/slackware/slackware64-current/
# http://slackware.osuosl.org/slackware64-current/
 
1 members found this post helpful.
Old 03-15-2018, 02:25 PM   #9
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 72

Original Poster
Rep: Reputation: Disabled
orbea, as I suspected, just a regex glitch, that's corrected in 2.9.00-423-p, thanks.

Let me know if you find any other glitches.
 
1 members found this post helpful.
Old 03-16-2018, 04:33 AM   #10
zakame
Member
 
Registered: Apr 2012
Distribution: Debian, Ubuntu, Slackware
Posts: 248

Rep: Reputation: 149Reputation: 149
Thanks orbea and h2-1, it seems better now:

Code:
[zakame:~] % pinxi -U 
Starting pinxi self updater.
Using tiny as downloader.
Currently running pinxi version number: 2.9.00
Current version patch number: 422-p
Current version release date: 2018-03-14
Updating pinxi in /home/zakame/bin using pinxi branch as download source...
Successfully updated to pinxi branch version: 2.9.00;
New pinxi branch version patch number: 430-p;
New pinxi branch version release date: 2018-03-15;
To run the new version, just start pinxi; again.
----------------------------------------

Starting download of man page file now.
Skipping man download because branch version is being used.
[zakame:~] 9s 1 % pinxi -v8
System:
  Host: goro.zakame.net Kernel: 4.4.118 x86_64 bits: 64 compiler: gcc 
  v: 5.5.0 Desktop: KDE 4.14.32 (Qt 4.8.7) info: kdeinit4: dm: startx 
  Distro: Slackware 14.2 
Machine:
  Type: Laptop System: Hewlett-Packard product: HP EliteBook 2570p 
  v: A1029D3102 serial: N/A Chassis: type: 10 serial: N/A 
  Mobo: Hewlett-Packard model: 17DF v: KBC Version 61.21 serial: N/A 
  BIOS: Hewlett-Packard v: 68ISB Ver. F.34 date: 12/06/2012 
Battery:
  BAT-0: charge: 45.2 Wh condition: 45.2/45.2 Wh (100%) volts: 12.5/10.8 
  model: Hewlett-Packard Primary type: Li-ion serial: 34499 2012/12/27 
  status: Full 
Memory:
  RAM Report: permissions: Unable to run dmidecode. Are you root? 
PCI Slots:
  Permissions: Unable to run dmidecode. Are you root? 
CPU:
  Topology: Dual Core model: Intel Core i5-3320M type: MT MCP 
  arch: Ivy Bridge rev: 9 L2 cache: 3072 KB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20751 
  Speed: 1846 MHz min/max: 1200/3300 MHz Core speeds: 1: 1846 2: 1599 
  3: 1822 4: 1781 
Graphics:
  Card-1: Intel 3rd Gen Core processor Graphics Controller driver: i915 
  v: kernel bus ID: 00:02.0 chip ID: 8086:0166 
  Display Server: X.Org 1.18.3 driver: intel 
  unloaded: vesa,fbdev,modesetting resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile version: 3.3 Mesa 11.2.2 
  compat-v: 3.0 direct render: Yes 
Audio:
  Card-1: Intel 7 Series/C210 Series Family High Definition Audio Controller 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:1e20 
  Sound Server: ALSA v: k4.4.118 
Network:
  Card-1: Intel 82579LM Gigabit Network Connection driver: e1000e v: 3.2.6-k 
  port: 4060 bus ID: 00:19 chip ID: 8086:1502 
  IF: eth0 state: down mac: d8:9d:67:99:7e:c1 
  Card-2: Broadcom BCM43228 802.11a/b/g/n driver: wl v: kernel bus ID: 24:00 
  chip ID: 14e4:4359 
  IF: wlan0 state: up mac: 9c:2a:70:30:de:73 
  IP v4: 192.168.43.182/24 type: dynamic wlan0 scope: global 
  broadcast: 192.168.43.255 
  IP v6: fe80::9e2a:70ff:fe30:de73/64 scope: link 
  IF-ID-1: docker0 state: down mac: 02:42:90:ca:19:4e 
  IP v4: 172.17.0.1/16 scope: global broadcast: 172.17.255.255 
  IP v6: fe80::42:90ff:feca:194e/64 scope: link 
  WAN IP: 121.54.44.170 
Drives:
  HDD Total Size: 465.76 GB used: 45.57 GB (9.8%) 
  ID-1: /dev/sda model: Samsung_SSD_850 size: 465.76 GB 
  serial: S2RBNXBH205554W rev: 2B6Q 
  Message: No Optical or Floppy data was found. 
RAID:
  Message: No RAID data was found. 
Partition:
  ID-1: / size: 31.37 GB used: 12.04 GB (38.4%) fs: ext4 
  dev: /dev/mapper/cryptvg-root label: N/A uuid: N/A 
  ID-2: /sys/fs/cgroup size: 7.76 GB used: 0 KB (0.0%) fs: tmpfs 
  dev: ERR-102 label: N/A uuid: N/A 
  ID-3: /home size: 409.35 GB used: 33.47 GB (8.2%) fs: ext4 
  dev: /dev/mapper/cryptvg-home label: N/A uuid: N/A 
  ID-4: /boot size: 330.9 MB used: 57.5 MB (17.4%) fs: ext4 dev: /dev/sda1 
  label: N/A uuid: 8494f45c-82ae-409d-8dc7-d696c97ca50f 
  ID-5: swap-1 size: 17.41 GB used: 12 KB (0.0%) fs: swap dev: /dev/dm-3 
  label: N/A uuid: 71e2cf86-1e0d-4a7b-a153-d71c3e4b3ca7 
Unmounted:
  ID-1: /dev/dm-0 size: 465.42 GB fs: root required label: N/A uuid: N/A 
  ID-2: /dev/dm-1 size: 32.00 GB fs: root required label: N/A 
  uuid: 1b6d7a00-579a-4590-83ea-a7cede3b8691 
  ID-3: /dev/dm-2 size: 416.00 GB fs: root required label: N/A 
  uuid: 6aefc3aa-9fa7-4879-b80e-eb73248b6455 
  ID-4: /dev/sda2 size: 465.42 GB fs: root required label: N/A 
  uuid: 812d5971-6d3e-4506-8904-b0e5ecb0c47e 
USB:
  Hub: 1:1 usb: 2.00 type: Full speed (or root) hub chip ID: 1d6b:0002 
  Hub: 2:1 usb: 3.00 type: Full speed (or root) hub chip ID: 1d6b:0003 
  Hub: 3:1 usb: 2.00 type: Full speed (or root) hub chip ID: 1d6b:0002 
  Hub: 3:2 usb: 2.00 type: Intel Integrated Rate Matching Hub 
  chip ID: 8087:0024 
  Device-1: Cheng Uei Precision Industry Ltd (Foxlink) bus ID: 3:3 usb: 2.00 
  type: Video chip ID: 05c8:0341 
  Hub: 4:1 usb: 2.00 type: Full speed (or root) hub chip ID: 1d6b:0002 
  Hub: 4:2 usb: 2.00 type: Intel Integrated Rate Matching Hub 
  chip ID: 8087:0024 
Sensors:
  System Temperatures: cpu: 54.0 C mobo: N/A 
  Fan Speeds (in RPM): N/A 
Repos:
  slackpkg sources: /etc/slackpkg/mirrors 
  1: file://home/ftp/pub/Linux/slackware/slackware64-14.2/
Processes:
  CPU  % used - Command - pid - Memory: MB / % used - top: 5 
  1: cpu: 14.7% command: chrome pid: 28374 mem: 256.3MB (1.6%) 
  2: cpu: 5.1% command: chrome pid: 2721 mem: 243.5MB (1.5%) 
  3: cpu: 3.1% command: chrome pid: 2552 mem: 165.5MB (1.0%) 
  4: cpu: 3.0% command: chrome pid: 2848 mem: 841.1MB (5.2%) 
  5: cpu: 2.9% command: chrome pid: 28585 mem: 288.2MB (1.8%) 
  Memory MB/% used - Command - pid - CPU: % used - top: 5 
  1: mem: 1766.5 MB (1.7%) command: chrome pid: 2449 cpu: 11.1% 
  2: mem: 841.1 MB (3.0%) command: chrome pid: 2848 cpu: 5.2% 
  3: mem: 439.1 MB (0.2%) command: chrome pid: 2764 cpu: 2.7% 
  4: mem: 400.3 MB (1.9%) command: chrome pid: 2519 cpu: 2.5% 
  5: mem: 383.7 MB (0.6%) command: emacs pid: 9813 cpu: 2.4% 
Info:
  Processes: 285 Uptime: 14 days Memory: 15.52 GB used: 8.79 GB (56.6%) 
  Init: SysVinit v: 2.88 runlevel: 3 default: 3 Compilers: gcc: 5.5.0 
  alt: 5.5.0 clang: 3.8.0 Shell: zsh 5.2 running in: konsole 
  pinxi: 2.9.00-430-p
 
1 members found this post helpful.
Old 03-16-2018, 02:25 PM   #11
mralk3
Senior Member
 
Registered: May 2015
Distribution: Slackware, Fedora, CentOS, Debian
Posts: 1,204

Rep: Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568
What is the status of https://github.com/smxi/inxi/issues/60 ? This is a great feature to have IMHO. I get an error saying "Undefined subroutine" for generate_csv | generate_json | generate_xml. In https://raw.githubusercontent.com/sm...erl/README.txt

Quote:
12. Related to 10, add support for alternate output formats, using
json or csv or xml. I assume Perl has modules that make that easy, but
it's not very hard to do that manually either once you have the line
data in hashes.
Status: Started (Support built in as I go along, only the actual
output engines will need to be created.)

I guess you haven't finished it yet? I will admit I didn't look at any of the code.

Everything else works that I was interested in. Great little tool!

EDIT: I forgot to add that I tested on an install of the latest Slackware64-current as a VirtualBox client.

Last edited by mralk3; 03-16-2018 at 02:27 PM.
 
Old 03-16-2018, 03:12 PM   #12
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 72

Original Poster
Rep: Reputation: Disabled
mralk3, thanks for testing. zakame, thanks for finding a glitch so it could be fixed. Your output looks good.

mralk3, the status is basically this: rewriting inxi into Perl took a long time, and beta testing is also taking a long time, which pushed back some of the other features I had envisioned for 3.0.0.

As a result of the number of bugs that have been found, up until last night, I've decided to make the first inxi Perl release 2.9.01. This will not be feature complete in terms of all the new stuff it can do, but it will be feature complete or better relative to inxi Bash. The most helpful thing anyone can do is abuse pinxi on any system they can find to see if there are bugs, errors, glitches. For example, last night I tested it on an ancient vm of ubuntu, and realized the init upstart logic was broken, and that is now fixed. People are still finding corner case bugs, in RAID for example, and otherwise odd or unusual system configurations.

Basically, all the internal logic was built for that type of export feature from the very start, since it can't really be added as an afterthought. The only thing that's actually not done, and thanks for reminding me to add a stub message in the output component, that had slipped my mind (another issue found!), which alerts users that the feature is not working yet.

After seeing the structure of the data, and working with it, I've dropped the csv output option, since I can't see anyway that could actually work, which leaves the standard screen option, and json and xml. These last two may or may not get done, and since you've expressed an interest, that helps, since I wasn't sure how much people would want to see that feature.

I am slightly worried that the available Perl modules will end up choking on some parts of the output data structure, it just depends on how well they are done, so that would determine how that export happens, I know I can write it since it's not that different from the line printer re how it processes key value pairs.

Basically what will happen is I'll research, or if anyone wants to suggest, the perl modules to export into json or xml, those modules will do most of the work. It's not actually very hard to write json/xml exporter logic, but I'm not sure I will want to do that work, so I'm inclined to let users who want that worry about the module dependencies, which should save me quite a bit of time.

Similarly, the language pack feature requires active help from people who want to take on that task. Pinxi was also designed from the ground up for language libraries, it's roughly the same notion, translating keys or values based on hash keys internally. The language pack would require more work however since not everything is correct internally for that type of translation to happen, some is, some isn't. Most is. Language support depends almost 100% on people supplying the interest and energy, technically it's not very difficult to do the basic parts, so if there's a demand, it will be added in the future, but I don't consider that feature to be a release blocker since it's really a totally new thing.

I hope this answers your question.

Last edited by h2-1; 03-16-2018 at 03:14 PM.
 
Old 03-16-2018, 05:27 PM   #13
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 72

Original Poster
Rep: Reputation: Disabled
2.9.00-0432-p fixes the missing --output and --output-file handlers. Added in error handler for that case, I'd totally forgotten about that feature. Also added in stub json/xml exporter functions, validation for path provided (directory exists and is writable, and a file name was included in path.

I don't think implementing this will be very hard, right now I have it printing Dumper output and all the data is there and working as expected, so it's literally just a matter of putting it through json/xml output perl modules. Once I have those selected, I'll add them to the --recommends perl module tests. Thanks for the reminder.
 
Old 03-16-2018, 05:59 PM   #14
mralk3
Senior Member
 
Registered: May 2015
Distribution: Slackware, Fedora, CentOS, Debian
Posts: 1,204

Rep: Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568
I am running a git clone of that branch based on what the read me says:

Code:
git clone https://github.com/smxi/inxi --branch inxi-perl --single-branch
Looks like you are off to a great start! Thanks for all the effort.
 
Old 03-16-2018, 06:45 PM   #15
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 72

Original Poster
Rep: Reputation: Disabled
Well, I convinced myself, thanks for the nudge. It was really easy to do using module: Cpanel::JSON::XS

Tested, works.

Export to json now enabled. Requires pinxi [options] --output json --output-file [path to file, including file name| OR print]. That is, writes to file, or to stdout, whichever the user prefers.

Tests to make sure directory of file is writable and exists if not 'print'.

Added module test output to --recommends, all seems fine.

I'd from the very start written pinxi to do this very thing, so I'm glad that it works, and I'm glad you reminded me that someone might actually want it, so thanks for that.

Note that because Perl does not sort hashes in any particular order, the ordering of the json lines is random, and the inner json data within each line is also random. My main worry was it would not handle the arrays of repo data correctly, but it does, so no issues there. I think.

Note that the output is the default json one single line.

Also, for the actual screen output, to make them sort into the right order for display, I had to use a hack, which was prepending the sort order integer and # to each key, these are split out on print, and sorted based on the sort order. I'm stripping those out of the json output since their only purpose is to make it screen output sortable.

I wasn't sure if there would be interest in this feature, but I guess there was. I'll update the issue on github to note this is working for json now.

Last edited by h2-1; 03-16-2018 at 06:48 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox: are we its informal beta-testers? FeyFre Slackware 29 11-21-2011 02:15 AM
Beta Testers Needed msound General 18 07-28-2006 10:22 AM
looking for beta testers grizzly General 5 03-20-2004 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration