Testers for next inxi (pinxi) - USB, Bluetooth, USB upgrades

To be clear, this is the item that concerns me. BSDs didn't used to support that method of determining what pinxi is running in, but it seems to work on all my bsd tests, openbsd and netbsd still don't support it so they just show the old running-in: tty8 or whatever.

Code:
Info:
  Processes: 83 Uptime: 5m Init: init (BSD) v: N/A tool: service Compilers:
  gcc: N/A clang: 10.0.1 Shell: csh (su) v: 6.21.00
  running-in: /usr/local/bin/bash pinxi: 3.3.01-98

But even the trickiest scenario, running pinxi's debugger which then runs pinxi to generate the output got this one right in my tests:

Code:
Info:
  Processes: 55 Uptime: 1h 03m Init: init (BSD) v: N/A tool: service
  Compilers: gcc: N/A clang: 11.0.1 Shell: sh running-in: qterminal
  pinxi: 3.3.01-99

Interestingly, with: su -
I get this: Shell: csh v: 6.21.00 running-in: tty 2

And with: su
I get: Shell: csh (su) v: 6.21.00 running-in: qterminal

And with: doas pinxi -Ia
I get: Shell: sh (doas) default: csh v: 6.21.00 running-in: qterminal

so I'm puzzled where your bash came from on that system, that's difficult logic but usually when it fails, it tends to faiil reliably and consistently, lol.

Tried with bash, and got it to be wrong, but that's:
I get: Shell: Bash v: 5.1.4 default: csh v: 6.21.00 running-in: _su

sh > su > bash which isn't really normal for a user to do.
 
Last edited:


I believe most of these 'running-in: issues are now corrected, including the ones I managed to trigger, for some reason, something is sometimes leaving either full path or leading/trailing - or _ in the program name, which then made the internal matches fail. Added in more trimming seemed to resolve the issues I managed to trigger myself.
 
I couldn't figure out why your previous samples showed bash as the running in: item, though I have now trimmed that output if it is a path, which I'd never seen it be before. I couldn't duplicate it, what were you doing exactly in the one that shows running-in: /usr/bin/bash, that shouldn't say that, it's a puzzler. The only time a user should see the running-in is on a desktop/wm, otherwise it should say tty x or something like that. did you use anything intermediate to run pinxi?
The "running in:" outputs are from the Live NomadBSD USB... and it does indeed boot into a desktop. I open a terminal and use su to become root and run pinxi. The regular user Nomad and root have different shells, and this shows in the pinxi output... su gives the csh shell, but it is "running in" the Nomad user's bash shell, /usr/local/bin/bash. Make sense? I had not considered this before, and next time I will try to logout as Nomad and login as root, or change the default login to root, if it will let me. That should eliminate the "running in:" report, I think.
 
Interestingly, with: su -
I get this: Shell: csh v: 6.21.00 running-in: tty 2

And with: su
I get: Shell: csh (su) v: 6.21.00 running-in: qterminal

And with: doas pinxi -Ia
I get: Shell: sh (doas) default: csh v: 6.21.00 running-in: qterminal

so I'm puzzled where your bash came from on that system, that's difficult logic but usually when it fails, it tends to faiil reliably and consistently, lol.

Tried with bash, and got it to be wrong, but that's:
I get: Shell: Bash v: 5.1.4 default: csh v: 6.21.00 running-in: _su

sh > su > bash which isn't really normal for a user to do.
The shells on the two systems I'm testing differ like this:

1. The root shell on both systems is /bin/csh.
2. The user shell on FreeBSD is /bin/sh and the user shell on Live Nomad is /usr/local/bin/bash

I've been trying to run pinxi as root (sometimes using su on both systems). Please let me know if this is better for you, or better to run as regular user. Maybe I am causing unnecessary confusion.
 
The running in logic is supposed to take the various parents into account, I did finally in testing duplicate the result a few times, but it's really hard to do, my feeling is that logic may need to be refactored to be more robust. It's VERY difficult to make it fail in this way now, but it is possible, though I can't actually say the steps I've done to make it happen.

My feeling is that may need to be changed to a recursive function, though that's very dangerous to do with stuff like this, needs a lot of protections in place.

I've realized also a core lack in the BSDs - I won't call it a bug, since in my view, the actual bug is freebsd failure to have a reasonable drive reporting toolset, something like /proc/partitions, or various other native linux builtins. In order too work around this failing, which your sample using usb drives exposed, I'm going to briefly see if I can find something that at least will give a chance for the right results. With the bsds, it really comes down to how much time I'm willing to burn away to support maybe < 1% of the userbase of inxi. It certainly never could be justified if this was a commercial project.

For bsds, sysctl should be the logical place for them to put all this data, but that's totally hit and miss bsd to bsd, in almost all cases, inxi has to fallback to first dmesg.boot, then gpart, to see if it can find anything at all.
 
Last edited:
With the bsds, it really comes down to how much time I'm willing to burn away to support maybe < 1% of the userbase of inxi.
I understand that. The smaller market footprint of bsd is actually one of the things that is drawing me to it, just as Linux drew me away from Windows long ago. I'm kind of funny like that, I guess. It was hard to learn Linux then, and hard for me to learn bsd now, except at least some of it is similar to Linux. :)

I appreciate your efforts. I'll be happy to keep testing with you, but no problem if you take a break from this to focus on other issues.
 
I'd like to get this done, your help is much appreciated because you exposed some issues that I've kind of left to the side.

If i was going to use a BSD, it would be OpenBSD, because that is most clearly focused, and to me, the most different from Linux, in that I can clearly state why it exists, what it's for, what it does that linux can't do (heavy duty security, code minimalism, fanatical commitment to code quality), ever.

The running-in is now far more robust, not live yet, but here's how it looks with debuggers and a silly sequence of shells and su etc. I haven't decided how many loops to go in, I think I have it at 8 drills down into the parent/grandparent etc. This will go live as soon as I've debugged it some more.

I forget, what I did here, lol:
Code:
# pinxi -Iay
self::grandparent-id-0: 90043 :: zsh
self::grandparent-id-1: 87193 :: bash
self::grandparent-id-2: 86652 :: csh
self::grandparent-id-3: 6303 :: bash
self::grandparent-id-4: 6221 :: kate
Info:
...
  Shell: Bash (su) v: 5.1.0 running-in: kate pinxi: 3.3.01-100

Same, except using sudo in su in all the others:
Code:
# sudo pinxi -Iay
self::grandparent-id-0: 90146 :: su
self::grandparent-id-1: 90043 :: zsh
self::grandparent-id-2: 87193 :: bash
self::grandparent-id-3: 86652 :: csh
self::grandparent-id-4: 6303 :: bash
self::grandparent-id-5: 6221 :: kate
Info:
...
  Shell: Bash (sudo) v: 5.1.0 running-in: kate pinxi: 3.3.01-100

bash > csh > pinxi:
Code:
pinxi -Iay
self::grandparent-id-0: 2605 :: bash
self::grandparent-id-1: 2380 :: xfce4-terminal
...
  Shell: csh default: Bash v: 5.1.0 running-in: xfce4-terminal
  pinxi: 3.3.01-100

bash > csh > sudo > pinxi:
Code:
sudo pinxi -Iay
self::grandparent-id-0: 90360 :: zsh
self::grandparent-id-1: 2605 :: bash
self::grandparent-id-2: 2380 :: xfce4-terminal
Info:
...
  Shell: csh (sudo) default: Bash v: 5.1.0 running-in: xfce4-terminal
  pinxi: 3.3.01-100
 
Last edited:
OK then... ready for me to update and run again? As root? Or as regular user?
 
If i was going to use a BSD, it would be OpenBSD
Would you prefer me to test in OpenBSD on my laptop (if it will run okay)? I'm not committed to FreeBSD at all really... it just seems to be more of the standard, as I see it.
 
All the BSD tests would be great since I'm only testing in vm. I should in theory buy some usb drives and then install the bsds to that on real hardware so I can really check, but so far it's been ok.

The revised running-in logic is now working, tested, all seems fine, the only way you can end up seeing a shell there is if you do it on purpose, like: csh > bash > bash > bash > su > bash, I had to limit the loops since if someone shows up with a shell that the matching patterns don't know it will just loop until it's done 8 iterations then stop.; Otherwise it would loop forever, which is generally frowned on...

These are the shells I know of:
Code:
ash bash busybox cicada csh dash doas elvish fish fizsh ksh ksh93
lksh loksh mksh nash oh oil osh pdksh perl posh
su sudo tcsh xonsh yash zsh
apush ccsh ch esh? eshell heirloom hush
ion imrsh larryshell mrsh msh(ell)? murex nsh nu(shell)
oksh psh pwsh pysh(ell)? rush sash
es rc scsh sh xs

plus su / doas / sudo, which for this purpose, act like a shell. Did I miss any?

Tested in freebsd and nomadbsd and seems fine. This method doesn't work in netbsd and openbsd but that's fine, it just goes to a fallback of showing tty number.
 
Last edited:
The revised running-in logic is now working, tested, all seems fine, the only way you can end up seeing a shell there is if you do it on purpose, like:
Well, uh, leave it to me to mess up something! :oops: Maybe not bad though, you'll have to judge. With a better understanding (I hope)... I ran pinxi as root with both of my test setups (opening a new tty in the live usb instead of using su in the terminal). And I ran pinxi as a regular user in both setups... the difference being I did not open a tty for the regular user in the live nomadbsd and just ran pinxi -zyv8 from the desktop terminal. It was this one that shows running in: sakura if that matters. You may have said that was okay in a desktop. Here are all 4 outputs below.
Code:
System:
  Kernel: FreeBSD 12.2-RELEASE-p4 amd64 bits: 64 compiler: clang v: 10.0.1
  Console: N/A OS: FreeBSD 12.2-RELEASE-p4
Machine:
  Type: Notebook Mobo: ASUSTeK model: X401U v: 1.0 serial: <filter>
  UEFI: American Megatrends v: X401U.204 rev: 4.6 date: 05/08/2012
  rom size: 1 MB
Memory:
  RAM: total: 3.57 GiB used: 339.2 MiB (9.3%)
  Array-1: capacity: 4 GiB slots: 2 EC: None max-module-size: 4 GiB note: est.
  Device-1: DIMM 0 size: 4 GiB speed: spec: 1333 MT/s actual: 533 MT/s
  type: DDR3 detail: synchronous unbuffered (unregistered) bus-width: 64 bits
  total: 64 bits manufacturer: Elpida part-no: Not Specified serial: N/A
PCI Slots:
  Slot: 0 type: x16 PCI Express J6B2 status: In Use length: Long
  Slot: 1 type: x1 PCI Express J6B1 status: In Use length: Short
  Slot: 2 type: x1 PCI Express J6D1 status: In Use length: Short
CPU:
  Info: Dual Core model: AMD E1-1200 APU with Radeon HD Graphics socket: P0
  bits: 64 type: MCP arch: Bobcat family: 14 (20) model-id: 2 stepping: N/A
  microcode: 500F20 cache: L1: 128 KiB L2: N/A
  Speed: 1397 MHz min/max: 777/1400 MHz base/boost: 1400/1400 volts: 1.4 V
  ext-clock: 100 MHz Core speeds (MHz): No speed data found for 2 cores.
  Features: abm apic clflush cmov cmp cr8 cx16 cx8 de extapic ffxsr fpu fxsr
  htt ibs lahf lm mas mca mce mmx mmx+ mon msr mtrr nx pae page1gb pat pge
  popcnt prefetch pse pse36 rdtscp sep skinit sse sse2 sse3 sse4a ssse3 svm
  syscall tsc vme wdt
  Vulnerabilities: No CPU vulnerability/bugs data available.
Graphics:
  Device-1: AMD Wrestler [Radeon HD 7310] driver: vgapci bus-ID: 0:0:1.0
  chip-ID: 1002:9809 class-ID: 0300
  Device-2: Azurewave USB 2.0 UVC VGA WebCam type: USB driver: ugen
  bus-ID: 4-4.2:2 chip-ID: N/A
  Display: server: X.org 1.20.9 driver: loaded: vesa unloaded: modesetting
  alternate: ati tty: 80x30
  Message: Advanced graphics data unavailable in console for root.
Audio:
  Device-1: AMD Wrestler HDMI Audio driver: hdac bus-ID: 0:0:1.1
  chip-ID: 1002:1314 class-ID: 0403
  Device-2: AMD FCH Azalia driver: hdac bus-ID: 0:0:20.2 chip-ID: 1022:780d
  class-ID: 0403
  Sound Server-1: OSS v: 2009061500 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: re
  port: N/A bus-ID: 0:6:0.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: re0 state: active speed: 1000baseT duplex: full-duplex mac: <filter>
  IP v4: <filter> scope: N/A broadcast: <filter>
  Device-2: Ralink RT5390 Wireless 802.11n 1T/1R PCIe driver: ral
  bus-ID: 0:7:0.0 chip-ID: 1814:5390 class-ID: 0280
  WAN IP: <filter>
Bluetooth:
  Message: No Bluetooth data was found.
Logical:
  Message: No BSD support for LVM data.
RAID:
  Message: No RAID data was found.
Drives:
  Local Storage: total: 291.1 GiB used: 6.18 GiB (2.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/ada0 vendor: Seagate model: ST320LT012-9WS14C 0001SDM1
  size: 291.1 GiB speed: 300MB/s serial: <filter>
  Optical Report: No Optical or Floppy data found for this BSD system.
Partition:
  ID-1: / size: 284.77 GiB used: 6.18 GiB (2.2%) fs: ufs block-size: 512 B
  dev: /dev/ada0s1a label: N/A uuid: N/A
Swap:
  ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%)
  dev: /dev/ada0s1b label: N/A uuid: N/A
Unmounted:
  Message: No Unmounted partition data found for this BSD system.
USB:
  Hub-1: 0-0.1:1 info: 0x1022 XHCI root HUB ports: N/A rev: 3.0 speed: 5 Gb/s
  chip-ID: N/A
  Hub-2: 1-1.1:1 info: AMD OHCI root HUB ports: N/A rev: 1.1 speed: 12 Mb/s
  chip-ID: N/A
  Hub-3: 2-2.1:1 info: AMD EHCI root HUB ports: N/A rev: 2.0 speed: 480 Mb/s
  chip-ID: N/A
  Hub-4: 3-3.1:1 info: AMD OHCI root HUB ports: N/A rev: 1.1 speed: 12 Mb/s
  chip-ID: N/A
  Hub-5: 4-4.1:1 info: AMD EHCI root HUB ports: N/A rev: 2.0 speed: 480 Mb/s
  chip-ID: N/A
  Device-1: 4-4.2:2 info: Azurewave USB 2.0 UVC VGA WebCam type: Video
  driver: ugen rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: N/A
Sensors:
  Platform: No OS support. Is a comparable Freebsd sensors tool available?
Repos:
  Packages: pkg: 3
  BSD ports server: /etc/portsnap.conf
  1: portsnap.FreeBSD.org
  FreeBSD update server: /etc/freebsd-update.conf
  1: update.FreeBSD.org
  BSD enabled pkg servers in: /etc/pkg/FreeBSD.conf
  1: pkg+http://pkg.FreeBSD.org/$ABI/quarterly
Processes:
  CPU top: 5 of 52
  1: cpu: 194.6% command: [idle] pid: 11 mem: 0.03 MiB (0.0%)
  2: cpu: 8.9% command: pinxi started by: perl pid: 937 mem: 27.7 MiB (0.8%)
  3: cpu: 0.0% command: [kernel] pid: 0 mem: 0.31 MiB (0.0%)
  4: cpu: 0.0% command: init pid: 1 mem: 0.98 MiB (0.0%)
  5: cpu: 0.0% command: [crypto] pid: 2 mem: 0.02 MiB (0.0%)
  Memory top: 5 of 52
  1: mem: 27.7 MiB (0.8%) command: pinxi started by: perl pid: 937 cpu: 8.9%
  2: mem: 22.1 MiB (0.6%) command: polkitd pid: 726 cpu: 0.0%
  3: mem: 9.32 MiB (0.3%) command: hald pid: 894 cpu: 0.0%
  4: mem: 7.64 MiB (0.2%) command: sshd pid: 811 cpu: 0.0%
  5: mem: 7.30 MiB (0.2%) command: console-kit-daemon pid: 724 cpu: 0.0%
Info:
  Processes: 52 Uptime: 2m Init: init (BSD) v: N/A tool: service Compilers:
  gcc: N/A clang: 10.0.1 Shell: csh v: 6.21.00 pinxi: 3.3.01-101
Code:
System:
  Kernel: FreeBSD 12.2-RELEASE-p4 amd64 bits: 64 compiler: clang v: 10.0.1
  Console: N/A DM: SLiM 1.3.6 OS: NomadBSD base: FreeBSD 12.2-RELEASE-p4
Machine:
  Type: Desktop System: HP-Pavilion product: NY549AA-ABA p6230y v: N/A
  serial: <filter> Chassis: Hewlett-Packard serial: N/A
  Mobo: FOXCONN model: ALOE v: X3 serial: N/A BIOS: American Megatrends
  v: 5.00 rev: 5.0 date: 08/03/2009 rom size: 1 MB
Memory:
  RAM: total: 7.71 GiB used: 981.8 MiB (12.4%)
  Array-1: capacity: 16 GiB slots: 4 EC: None max-module-size: 4 GiB
  note: est.
  Device-1: DIMM0 size: 2 GiB speed: 1066 MT/s type: Other detail: synchronous
  bus-width: 64 bits total: 64 bits manufacturer: Micron
  part-no: 16JTF25664AZ-1G4F1 serial: <filter>
  Device-2: DIMM1 size: 2 GiB speed: 1066 MT/s type: Other detail: synchronous
  bus-width: 64 bits total: 64 bits manufacturer: Micron
  part-no: 16JTF25664AZ-1G4F1 serial: <filter>
  Device-3: DIMM2 size: 2 GiB speed: 1066 MT/s type: Other detail: synchronous
  bus-width: 64 bits total: 64 bits manufacturer: Micron
  part-no: 16JTF25664AZ-1G4F1 serial: <filter>
  Device-4: DIMM3 size: 2 GiB speed: 1066 MT/s type: Other detail: synchronous
  bus-width: 64 bits total: 64 bits manufacturer: Micron
  part-no: 16JTF25664AZ-1G4F1 serial: <filter>
PCI Slots:
  Slot: 2 type: x16 PCI Express PCI-E x16 status: Available length: Short
  Slot: 5 type: x1 PCI Express MINI PCI-E x1 status: Available length: Short
  Slot: 6 type: x1 PCI Express PCI-E x1 status: Available length: Short
  Slot: 7 type: x1 PCI Express PCI-E x1 status: Available length: Short
  Slot: 9 type: x1 PCI Express PCI-E x1 status: Available length: Short
CPU:
  Info: Quad Core model: AMD Phenom II X4 810 bits: 64 type: MCP arch: K10
  family: 10 (16) model-id: 4 stepping: 2 microcode: 100F42 cache: L1: 512 KiB
  L2: N/A L3: 4 MiB
  Speed: 2593 MHz min/max: 800/2600 MHz base/boost: 2600/2600 volts: 1.5 V
  ext-clock: 200 MHz Core speeds (MHz): No speed data found for 4 cores.
  Features: 3dnow! 3dnow!+ abm apic clflush cmov cmp cr8 cx16 cx8 de extapic
  ffxsr fpu fxsr htt ibs lahf lm mas mca mce mmx mmx+ mon msr mtrr nx osvw pae
  page1gb pat pge popcnt prefetch pse pse36 rdtscp sep skinit sse sse2 sse3
  sse4a svm syscall tsc vme wdt
  Vulnerabilities: No CPU vulnerability/bugs data available.
Graphics:
  Device-1: AMD RS880 [Radeon HD 4200] driver: vgapci bus-ID: 0:1:5.0
  chip-ID: 1002:9710 class-ID: 0300
  Display: server: X.org 1.20.9 compositor: picom v: 8.2 driver:
  loaded: radeon tty: 240x67
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: AMD SBx00 Azalia driver: hdac bus-ID: 0:0:20.2 chip-ID: 1002:4383
  class-ID: 0403
  Sound Server-1: OSS v: 2009061500 running: yes
  Sound Server-2: PulseAudio v: 13.0 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: re
  port: N/A bus-ID: 0:2:0.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: re0 state: active speed: 1000baseT duplex: full-duplex mac: <filter>
  IP v6: <filter> scope: link
  IP v4: <filter> scope: N/A broadcast: <filter>
  WAN IP: <filter>
Bluetooth:
  Message: No Bluetooth data was found.
Logical:
  Message: No BSD support for LVM data.
RAID:
  Message: No RAID data was found.
Drives:
  Local Storage: total: 462.46 GiB used: 17.27 GiB (3.7%)
  ID-1: /dev/ada0 vendor: Samsung model: SSD 850 EVO 500GB EMT02B6Q
  family: based SSDs size: 454.85 GiB block-size: physical: 512 B
  logical: 512 B sata: 3.1 speed: 300MB/s rotation: SSD serial: <filter>
  rev: EMT02B6Q temp: 29 C
  SMART: yes state: enabled health: PASSED on: 316d 11h cycles: 1267
  written: 2.99 TiB
  ID-2: /dev/da0 vendor: Centon model: DS Pro 8.07 size: 7.61 GiB
  speed: 40MB/s serial: <filter>
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  ID-3: /dev/da1 vendor: Generic model: Compact Flash 1.00 size: N/A
  speed: 40MB/s serial: <filter>
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  ID-4: /dev/da2 vendor: Generic model: SM/xD-Picture 1.00 size: N/A
  speed: 40MB/s serial: <filter>
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  ID-5: /dev/da3 vendor: Generic model: SD/MMC 1.00 size: N/A speed: 40MB/s
  serial: <filter>
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  ID-6: /dev/da4 vendor: Generic model: MS/MS-Pro 1.00 size: N/A speed: 40MB/s
  serial: <filter>
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  Optical-1: /dev/cd0 vendor: hp model: DVD-RAM GH40L rev: RB0A
  serial: <filter> dev-links: N/A
  Features: speed: 150MB/s multisession: N/A audio: N/A dvd: yes
  rw: cd-r,dvd-ram state: Medium not present, tray closed
Partition:
  ID-1: / size: 3.58 GiB used: 3.22 GiB (89.9%) fs: ufs dev: /dev/nomadroot
  label: N/A uuid: N/A
  ID-2: /compat size: 4.05 GiB used: 269.6 MiB (6.5%) fs: nullfs
  logical: /data/compat label: N/A uuid: N/A
  ID-3: /data size: 4.05 GiB used: 269.6 MiB (6.5%) fs: ufs
  dev: /dev/nomaddata label: N/A uuid: N/A
  ID-4: /unionfs/usr/local size: 6.45 GiB used: 6.02 GiB (93.3%) fs: ufs
  dev: /dev/md0.uzip label: N/A uuid: N/A
  ID-5: /usr/local size: 10.51 GiB used: 6.72 GiB (63.9%) fs: fusefs
  dev: /dev/fuse label: N/A uuid: N/A
  ID-6: /usr/ports size: 4.05 GiB used: 269.6 MiB (6.5%) fs: nullfs
  logical: /data/usr/ports label: N/A uuid: N/A
  ID-7: /var/db size: 4.05 GiB used: 269.6 MiB (6.5%) fs: nullfs
  logical: /data/var/db label: N/A uuid: N/A
  ID-8: /var/tmp size: 4.05 GiB used: 269.6 MiB (6.5%) fs: nullfs
  logical: /data/var/tmp label: N/A uuid: N/A
Swap:
  Alert: No Swap data was found.
Unmounted:
  Message: No Unmounted partition data found for this BSD system.
USB:
  Hub-1: 0-0.1:1 info: ATI OHCI root HUB ports: N/A rev: 1.1 speed: 12 Mb/s
  chip-ID: N/A
  Hub-2: 1-1.1:1 info: ATI OHCI root HUB ports: N/A rev: 1.1 speed: 12 Mb/s
  chip-ID: N/A
  Hub-3: 2-2.1:1 info: ATI EHCI root HUB ports: N/A rev: 2.0 speed: 480 Mb/s
  chip-ID: N/A
  Device-1: 2-2.2:2 info: CENTON DS Pro type: N/A driver: ugen rev: 2.0
  speed: 480 Mb/s power: 100mA chip-ID: N/A
  Device-2: 2-2.3:3 info: Generic USB2.0-CRW type: N/A driver: ugen rev: 2.0
  speed: 480 Mb/s power: 500mA chip-ID: N/A
  Hub-4: 3-3.1:1 info: ATI OHCI root HUB ports: N/A rev: 1.1 speed: 12 Mb/s
  chip-ID: N/A
  Device-1: 3-3.2:2 info: CHICONY HP USB Multimedia Keyboard type: HID
  driver: ugen rev: 1.0 speed: 1.5 Mb/s power: 100mA chip-ID: N/A
  Hub-5: 4-4.1:1 info: ATI OHCI root HUB ports: N/A rev: 1.1 speed: 12 Mb/s
  chip-ID: N/A
  Hub-6: 5-5.1:1 info: ATI EHCI root HUB ports: N/A rev: 2.0 speed: 480 Mb/s
  chip-ID: N/A
  Hub-7: 6-6.1:1 info: ATI OHCI root HUB ports: N/A rev: 1.1 speed: 12 Mb/s
  chip-ID: N/A
  Device-1: 6-6.2:2 info: Microsoft 3-Button Mouse with IntelliEye type: HID
  driver: ugen rev: 1.0 speed: 1.5 Mb/s power: 100mA chip-ID: N/A
Sensors:
  Platform: No OS support. Is a comparable Freebsd sensors tool available?
Repos:
  Packages: pkg: 3
  BSD ports server: /etc/portsnap.conf
  1: portsnap.FreeBSD.org
  FreeBSD update server: /etc/freebsd-update.conf
  1: update.FreeBSD.org
  BSD enabled pkg servers in: /etc/pkg/FreeBSD.conf
  1: pkg+http://pkg.FreeBSD.org/$ABI/quarterly
Processes:
  CPU top: 5 of 79
  1: cpu: 392.3% command: [idle] pid: 11 mem: 0.06 MiB (0.0%)
  2: cpu: 0.3% command: unionfs pid: 263 mem: 13.5 MiB (0.2%)
  3: cpu: 0.1% command: [kernel] pid: 0 mem: 0.72 MiB (0.0%)
  4: cpu: 0.0% command: init pid: 1 mem: 0.95 MiB (0.0%)
  5: cpu: 0.0% command: [crypto] pid: 2 mem: 0.02 MiB (0.0%)
  Memory top: 5 of 79
  1: mem: 80.4 MiB (1.0%) command: xorg pid: 1369 cpu: 0.0%
  2: mem: 45.1 MiB (0.6%) command: networkmgr started by: python3.7 pid: 1654
  cpu: 0.0%
  3: mem: 42.0 MiB (0.5%) command: plank: pid: 1622 cpu: 0.0%
  4: mem: 38.6 MiB (0.5%) command: dsbmixer pid: 1626 cpu: 0.0%
  5: mem: 38.5 MiB (0.5%) command: dsbmc pid: 1623 cpu: 0.0%
Info:
  Processes: 79 Uptime: 4m Init: init (BSD) v: N/A tool: service Compilers:
  gcc: N/A clang: 10.0.1 Shell: csh v: 6.21.00 pinxi: 3.3.01-101
Code:
System:
  Kernel: FreeBSD 12.2-RELEASE-p4 amd64 bits: 64 compiler: clang v: 10.0.1
  Console: N/A OS: FreeBSD 12.2-RELEASE-p4
Machine:
  Permissions: Unable to run dmidecode. Root privileges required.
Battery:
  Permissions: Unable to run dmidecode. Root privileges required.
Memory:
  RAM: total: 3.57 GiB used: 336.4 MiB (9.2%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: Dual Core model: AMD E1-1200 APU with Radeon HD Graphics bits: 64
  type: MCP arch: Bobcat family: 14 (20) model-id: 2 stepping: N/A
  microcode: 500F20 cache: L2: N/A
  Speed: 1397 MHz min/max: 777/1400 MHz
  Core speeds (MHz): No speed data found for 2 cores.
  Features: abm apic clflush cmov cmp cr8 cx16 cx8 de extapic ffxsr fpu fxsr
  htt ibs lahf lm mas mca mce mmx mmx+ mon msr mtrr nx pae page1gb pat pge
  popcnt prefetch pse pse36 rdtscp sep skinit sse sse2 sse3 sse4a ssse3 svm
  syscall tsc vme wdt
  Vulnerabilities: No CPU vulnerability/bugs data available.
Graphics:
  Device-1: AMD Wrestler [Radeon HD 7310] driver: vgapci bus-ID: 0:0:1.0
  chip-ID: 1002:9809 class-ID: 0300
  Display: server: X.org 1.20.9 driver: loaded: vesa unloaded: modesetting
  alternate: ati tty: 80x30
  Message: Advanced graphics data unavailable in console. Try -G --display
Audio:
  Device-1: AMD Wrestler HDMI Audio driver: hdac bus-ID: 0:0:1.1
  chip-ID: 1002:1314 class-ID: 0403
  Device-2: AMD FCH Azalia driver: hdac bus-ID: 0:0:20.2 chip-ID: 1022:780d
  class-ID: 0403
  Sound Server-1: OSS v: 2009061500 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: re
  port: N/A bus-ID: 0:6:0.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: re0 state: active speed: 1000baseT duplex: full-duplex mac: <filter>
  IP v4: <filter> scope: N/A broadcast: <filter>
  Device-2: Ralink RT5390 Wireless 802.11n 1T/1R PCIe driver: ral
  bus-ID: 0:7:0.0 chip-ID: 1814:5390 class-ID: 0280
  WAN IP: <filter>
Bluetooth:
  Message: No Bluetooth data was found.
Logical:
  Message: No BSD support for LVM data.
RAID:
  Message: No RAID data was found.
Drives:
  Local Storage: total: 291.1 GiB used: 6.18 GiB (2.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/ada0 vendor: Seagate model: ST320LT012-9WS14C 0001SDM1
  size: 291.1 GiB speed: 300MB/s serial: <filter>
  Optical Report: No Optical or Floppy data found for this BSD system.
Partition:
  ID-1: / size: 284.77 GiB used: 6.18 GiB (2.2%) fs: ufs block-size: 512 B
  dev: /dev/ada0s1a label: N/A uuid: N/A
Swap:
  ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%)
  dev: /dev/ada0s1b label: N/A uuid: N/A
Unmounted:
  Message: No Unmounted partition data found for this BSD system.
USB:
  Message: No USB data was found. Server?
Sensors:
  Platform: No OS support. Is a comparable Freebsd sensors tool available?
Repos:
  Packages: pkg: 3
  BSD ports server: /etc/portsnap.conf
  1: portsnap.FreeBSD.org
  FreeBSD update server: /etc/freebsd-update.conf
  1: update.FreeBSD.org
  BSD enabled pkg servers in: /etc/pkg/FreeBSD.conf
  1: pkg+http://pkg.FreeBSD.org/$ABI/quarterly
Processes:
  CPU top: 5 of 52
  1: cpu: 192.3% command: [idle] pid: 11 mem: 0.03 MiB (0.0%)
  2: cpu: 9.5% command: pinxi started by: perl pid: 930 mem: 27.8 MiB (0.8%)
  3: cpu: 0.0% command: [kernel] pid: 0 mem: 0.31 MiB (0.0%)
  4: cpu: 0.0% command: init pid: 1 mem: 0.98 MiB (0.0%)
  5: cpu: 0.0% command: [crypto] pid: 2 mem: 0.02 MiB (0.0%)
  Memory top: 5 of 52
  1: mem: 27.8 MiB (0.8%) command: pinxi started by: perl pid: 930 cpu: 9.5%
  2: mem: 22.1 MiB (0.6%) command: polkitd pid: 728 cpu: 0.0%
  3: mem: 9.32 MiB (0.3%) command: hald pid: 896 cpu: 0.0%
  4: mem: 7.64 MiB (0.2%) command: sshd pid: 816 cpu: 0.0%
  5: mem: 7.30 MiB (0.2%) command: console-kit-daemon pid: 726 cpu: 0.0%
Info:
  Processes: 52 Uptime: 2m Init: init (BSD) v: N/A tool: service Compilers:
  gcc: N/A clang: 10.0.1 Shell: sh pinxi: 3.3.01-101
Code:
System:
  Kernel: FreeBSD 12.2-RELEASE-p4 amd64 bits: 64 compiler: clang v: 10.0.1
  Desktop: Openbox 3.6 info: tint2 dm: SLiM 1.3.6 OS: NomadBSD
  base: FreeBSD 12.2-RELEASE-p4
Machine:
  Permissions: Unable to run dmidecode. Root privileges required.
Battery:
  Permissions: Unable to run dmidecode. Root privileges required.
Memory:
  RAM: total: 7.71 GiB used: 1.01 GiB (13.1%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: Quad Core model: AMD Phenom II X4 810 bits: 64 type: MCP arch: K10
  family: 10 (16) model-id: 4 stepping: 2 microcode: 100F42 cache: L2: N/A
  Speed: 2593 MHz min/max: 800/2600 MHz
  Core speeds (MHz): No speed data found for 4 cores.
  Features: 3dnow! 3dnow!+ abm apic clflush cmov cmp cr8 cx16 cx8 de extapic
  ffxsr fpu fxsr htt ibs lahf lm mas mca mce mmx mmx+ mon msr mtrr nx osvw pae
  page1gb pat pge popcnt prefetch pse pse36 rdtscp sep skinit sse sse2 sse3
  sse4a svm syscall tsc vme wdt
  Vulnerabilities: No CPU vulnerability/bugs data available.
Graphics:
  Device-1: AMD RS880 [Radeon HD 4200] driver: vgapci bus-ID: 0:1:5.0
  chip-ID: 1002:9710 class-ID: 0300
  Display: server: X.Org 1.20.9 compositor: picom v: 8.2 driver:
  loaded: radeon display-ID: unix:0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
  s-diag: 582mm (22.9")
  Monitor-1: VGA-0 res: 1920x1080 hz: 60 dpi: 92 size: 531x299mm (20.9x11.8")
  diag: 609mm (24")
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: AMD SBx00 Azalia driver: hdac bus-ID: 0:0:20.2 chip-ID: 1002:4383
  class-ID: 0403
  Sound Server-1: OSS v: 2009061500 running: yes
  Sound Server-2: PulseAudio v: 13.0 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: re
  port: N/A bus-ID: 0:2:0.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: re0 state: active speed: 1000baseT duplex: full-duplex mac: <filter>
  IP v6: <filter> scope: link
  IP v4: <filter> scope: N/A broadcast: <filter>
  WAN IP: <filter>
Bluetooth:
  Message: No Bluetooth data was found.
Logical:
  Message: No BSD support for LVM data.
RAID:
  Message: No RAID data was found.
Drives:
  Local Storage: total: 462.46 GiB used: 17.27 GiB (3.7%)
  ID-1: /dev/ada0 vendor: Samsung model: SSD 850 EVO 500GB EMT02B6Q
  family: based SSDs size: 454.85 GiB block-size: physical: 512 B
  logical: 512 B sata: 3.1 speed: 300MB/s rotation: SSD serial: <filter>
  rev: EMT02B6Q temp: 29 C
  SMART: yes state: enabled health: PASSED on: 316d 11h cycles: 1267
  written: 2.99 TiB
  ID-2: /dev/da0 vendor: Centon model: DS Pro 8.07 size: 7.61 GiB
  speed: 40MB/s serial: <filter>
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  ID-3: /dev/da1 vendor: Generic model: Compact Flash 1.00 size: N/A
  speed: 40MB/s serial: <filter>
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  ID-4: /dev/da2 vendor: Generic model: SM/xD-Picture 1.00 size: N/A
  speed: 40MB/s serial: <filter>
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  ID-5: /dev/da3 vendor: Generic model: SD/MMC 1.00 size: N/A speed: 40MB/s
  serial: <filter>
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  ID-6: /dev/da4 vendor: Generic model: MS/MS-Pro 1.00 size: N/A speed: 40MB/s
  serial: <filter>
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  Optical-1: /dev/cd0 vendor: hp model: DVD-RAM GH40L rev: RB0A
  serial: <filter> dev-links: N/A
  Features: speed: 150MB/s multisession: N/A audio: N/A dvd: yes
  rw: cd-r,dvd-ram state: Medium not present, tray closed
Partition:
  ID-1: / size: 3.58 GiB used: 3.22 GiB (89.9%) fs: ufs dev: /dev/nomadroot
  label: N/A uuid: N/A
  ID-2: /compat size: 4.05 GiB used: 269.7 MiB (6.5%) fs: nullfs
  logical: /data/compat label: N/A uuid: N/A
  ID-3: /data size: 4.05 GiB used: 269.7 MiB (6.5%) fs: ufs
  dev: /dev/nomaddata label: N/A uuid: N/A
  ID-4: /unionfs/usr/local size: 6.45 GiB used: 6.02 GiB (93.3%) fs: ufs
  dev: /dev/md0.uzip label: N/A uuid: N/A
  ID-5: /usr/local size: 10.51 GiB used: 6.72 GiB (63.9%) fs: fusefs
  dev: /dev/fuse label: N/A uuid: N/A
  ID-6: /usr/ports size: 4.05 GiB used: 269.7 MiB (6.5%) fs: nullfs
  logical: /data/usr/ports label: N/A uuid: N/A
  ID-7: /var/db size: 4.05 GiB used: 269.7 MiB (6.5%) fs: nullfs
  logical: /data/var/db label: N/A uuid: N/A
  ID-8: /var/tmp size: 4.05 GiB used: 269.7 MiB (6.5%) fs: nullfs
  logical: /data/var/tmp label: N/A uuid: N/A
Swap:
  Alert: No Swap data was found.
Unmounted:
  Message: No Unmounted partition data found for this BSD system.
USB:
  Hub-1: 0-0.1:1 info: ATI OHCI root HUB ports: N/A rev: 1.1 speed: 12 Mb/s
  chip-ID: N/A
  Hub-2: 1-1.1:1 info: ATI OHCI root HUB ports: N/A rev: 1.1 speed: 12 Mb/s
  chip-ID: N/A
  Hub-3: 2-2.1:1 info: ATI EHCI root HUB ports: N/A rev: 2.0 speed: 480 Mb/s
  chip-ID: N/A
  Device-1: 2-2.2:2 info: CENTON DS Pro type: N/A driver: ugen rev: 2.0
  speed: 480 Mb/s power: 100mA chip-ID: N/A
  Device-2: 2-2.3:3 info: Generic USB2.0-CRW type: N/A driver: ugen rev: 2.0
  speed: 480 Mb/s power: 500mA chip-ID: N/A
  Hub-4: 3-3.1:1 info: ATI OHCI root HUB ports: N/A rev: 1.1 speed: 12 Mb/s
  chip-ID: N/A
  Device-1: 3-3.2:2 info: CHICONY HP USB Multimedia Keyboard type: HID
  driver: ugen rev: 1.0 speed: 1.5 Mb/s power: 100mA chip-ID: N/A
  Hub-5: 4-4.1:1 info: ATI OHCI root HUB ports: N/A rev: 1.1 speed: 12 Mb/s
  chip-ID: N/A
  Hub-6: 5-5.1:1 info: ATI EHCI root HUB ports: N/A rev: 2.0 speed: 480 Mb/s
  chip-ID: N/A
  Hub-7: 6-6.1:1 info: ATI OHCI root HUB ports: N/A rev: 1.1 speed: 12 Mb/s
  chip-ID: N/A
  Device-1: 6-6.2:2 info: Microsoft 3-Button Mouse with IntelliEye type: HID
  driver: ugen rev: 1.0 speed: 1.5 Mb/s power: 100mA chip-ID: N/A
Sensors:
  Platform: No OS support. Is a comparable Freebsd sensors tool available?
Repos:
  Packages: pkg: 3
  BSD ports server: /etc/portsnap.conf
  1: portsnap.FreeBSD.org
  FreeBSD update server: /etc/freebsd-update.conf
  1: update.FreeBSD.org
  BSD enabled pkg servers in: /etc/pkg/FreeBSD.conf
  1: pkg+http://pkg.FreeBSD.org/$ABI/quarterly
Processes:
  CPU top: 5 of 81
  1: cpu: 399.7% command: [idle] pid: 11 mem: 0.06 MiB (0.0%)
  2: cpu: 1.1% command: xorg pid: 1369 mem: 81.6 MiB (1.0%)
  3: cpu: 0.2% command: unionfs pid: 263 mem: 13.8 MiB (0.2%)
  4: cpu: 0.1% command: networkmgr started by: python3.7 pid: 1654
  mem: 45.1 MiB (0.6%)
  5: cpu: 0.1% command: sakura pid: 1890 mem: 46.2 MiB (0.6%)
  Memory top: 5 of 81
  1: mem: 81.6 MiB (1.0%) command: xorg pid: 1369 cpu: 1.1%
  2: mem: 46.2 MiB (0.6%) command: sakura pid: 1890 cpu: 0.1%
  3: mem: 45.1 MiB (0.6%) command: networkmgr started by: python3.7 pid: 1654
  cpu: 0.1%
  4: mem: 43.7 MiB (0.6%) command: plank: pid: 1622 cpu: 0.0%
  5: mem: 38.6 MiB (0.5%) command: dsbmixer pid: 1626 cpu: 0.0%
Info:
  Processes: 81 Uptime: 7m Init: init (BSD) v: N/A tool: service Compilers:
  gcc: N/A clang: 10.0.1 Shell: Bash v: 5.1.4 running-in: sakura
  pinxi: 3.3.01-101

See comparison between Nomad desktop terminal and FreeBSD desktop terminal as regular user below. The forum software wouldn't let me add it here... apparently all 5 reports would have exceeded a 30.000 character limit. Who knew??? :oops::)
 
Last edited:
These are the shells I know of:

ash bash busybox cicada csh dash doas elvish fish fizsh ksh ksh93 lksh loksh mksh nash oh oil osh pdksh perl posh su sudo tcsh xonsh yash zsh apush ccsh ch esh? eshell heirloom hush ion imrsh larryshell mrsh msh(ell)? murex nsh nu(shell) oksh psh pwsh pysh(ell)? rush sash es rc scsh sh xs

plus su / doas / sudo, which for this purpose, act like a shell. Did I miss any?
Wow... I think you have more shells than the sea shore. I only recognize a fraction of them. o_O
 
This is from the desktop installed on FreeBSD (MATE). I went back and ran pinxi in the terminal there to compare. It reports similarly to NomadBSD when run from desktop terminal, so running in: mate-terminal.
Code:
System:
  Kernel: FreeBSD 12.2-RELEASE-p4 amd64 bits: 64 compiler: clang v: 10.0.1
  Desktop: MATE 1.24.1 info: mate-panel wm: marco 1.24.1 dm: startx
  OS: FreeBSD 12.2-RELEASE-p4
Machine:
  Permissions: Unable to run dmidecode. Root privileges required.
Battery:
  Permissions: Unable to run dmidecode. Root privileges required.
Memory:
  RAM: total: 3.57 GiB used: 756.2 MiB (20.7%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: Dual Core model: AMD E1-1200 APU with Radeon HD Graphics bits: 64
  type: MCP arch: Bobcat family: 14 (20) model-id: 2 stepping: N/A
  microcode: 500F20 cache: L2: N/A
  Speed: 1397 MHz min/max: 777/1400 MHz
  Core speeds (MHz): No speed data found for 2 cores.
  Features: abm apic clflush cmov cmp cr8 cx16 cx8 de extapic ffxsr fpu fxsr
  htt ibs lahf lm mas mca mce mmx mmx+ mon msr mtrr nx pae page1gb pat pge
  popcnt prefetch pse pse36 rdtscp sep skinit sse sse2 sse3 sse4a ssse3 svm
  syscall tsc vme wdt
  Vulnerabilities: No CPU vulnerability/bugs data available.
Graphics:
  Device-1: AMD Wrestler [Radeon HD 7310] driver: vgapci bus-ID: 0:0:1.0
  chip-ID: 1002:9809 class-ID: 0300
  Display: server: X.Org 1.20.9 compositor: marco v: 1.24.1 driver:
  loaded: vesa unloaded: modesetting alternate: ati display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1368x768 s-dpi: 112 s-size: 310x171mm (12.2x6.7")
  s-diag: 354mm (13.9")
  Monitor-1: default res: 1368x768
  OpenGL: renderer: llvmpipe (LLVM 10.0.1 128 bits) v: 4.5 Mesa 20.2.3
  compat-v: 3.1 direct render: Yes
Audio:
  Device-1: AMD Wrestler HDMI Audio driver: hdac bus-ID: 0:0:1.1
  chip-ID: 1002:1314 class-ID: 0403
  Device-2: AMD FCH Azalia driver: hdac bus-ID: 0:0:20.2 chip-ID: 1022:780d
  class-ID: 0403
  Sound Server-1: OSS v: 2009061500 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: re
  port: N/A bus-ID: 0:6:0.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: re0 state: active speed: 1000baseT duplex: full-duplex mac: <filter>
  IP v4: <filter> scope: N/A broadcast: <filter>
  Device-2: Ralink RT5390 Wireless 802.11n 1T/1R PCIe driver: ral
  bus-ID: 0:7:0.0 chip-ID: 1814:5390 class-ID: 0280
  WAN IP: <filter>
Bluetooth:
  Message: No Bluetooth data was found.
Logical:
  Message: No BSD support for LVM data.
RAID:
  Message: No RAID data was found.
Drives:
  Local Storage: total: 291.1 GiB used: 6.18 GiB (2.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/ada0 vendor: Seagate model: ST320LT012-9WS14C 0001SDM1
  size: 291.1 GiB speed: 300MB/s serial: <filter>
  Optical Report: No Optical or Floppy data found for this BSD system.
Partition:
  ID-1: / size: 284.77 GiB used: 6.18 GiB (2.2%) fs: ufs block-size: 512 B
  dev: /dev/ada0s1a label: N/A uuid: N/A
Swap:
  ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%)
  dev: /dev/ada0s1b label: N/A uuid: N/A
Unmounted:
  Message: No Unmounted partition data found for this BSD system.
USB:
  Message: No USB data was found. Server?
Sensors:
  Platform: No OS support. Is a comparable Freebsd sensors tool available?
Repos:
  Packages: pkg: 3
  BSD ports server: /etc/portsnap.conf
  1: portsnap.FreeBSD.org
  FreeBSD update server: /etc/freebsd-update.conf
  1: update.FreeBSD.org
  BSD enabled pkg servers in: /etc/pkg/FreeBSD.conf
  1: pkg+http://pkg.FreeBSD.org/$ABI/quarterly
Processes:
  CPU top: 5 of 88
  1: cpu: 193.6% command: [idle] pid: 11 mem: 0.03 MiB (0.0%)
  2: cpu: 8.9% command: pinxi started by: perl pid: 1060 mem: 27.7 MiB (0.8%)
  3: cpu: 2.6% command: xorg pid: 942 mem: 95.9 MiB (2.6%)
  4: cpu: 0.3% command: mate-terminal pid: 1054 mem: 48.3 MiB (1.3%)
  5: cpu: 0.0% command: [kernel] pid: 0 mem: 0.31 MiB (0.0%)
  Memory top: 5 of 88
  1: mem: 95.9 MiB (2.6%) command: xorg pid: 942 cpu: 2.6%
  2: mem: 72.0 MiB (2.0%) command: evolution-alarm-notify pid: 995 cpu: 0.0%
  3: mem: 56.9 MiB (1.6%) command: mate-session pid: 945 cpu: 0.0%
  4: mem: 52.5 MiB (1.4%) command: mate-screensaver pid: 994 cpu: 0.0%
  5: mem: 50.2 MiB (1.4%) command: goa-daemon pid: 1013 cpu: 0.0%
Info:
  Processes: 88 Uptime: 9m Init: init (BSD) v: N/A tool: service Compilers:
  gcc: N/A clang: 10.0.1 Shell: sh running-in: mate-terminal pinxi: 3.3.01-101
 
I just noticed that openbsd when run as regular user did not show the running in item, that's a bug, have to resolve that one, it should have fallen back to showing running-in: tty x like it did before, but I must have been testing as root mostly

good outcomes for running-in: are: the actual terminal client, or program, you ran pinxi in, like xfce-terminal, xterm, sakura, mate-terminal etc, or, for root, or su -, running-in: tty [x] with optional value (SSH) if ssh to box.

This is close to done though, last bits are rolling in, I had to add the dmesg data to dmesg.boot to get the live usb mount events, that required a trick to merge the two, since the primary should be dmesg.boot, which is more stable and reliable, but that worked fine:

FreeBSD 13.0 beta:
Code:
Drives:
  Local Storage: total: 124.58 GiB used: 1.82 GiB (1.5%) 
.....
  ID-4: /dev/ada3 vendor: VirtualBox model: VBOX HARDDISK 1.0 size: 30.32 GiB 
  speed: 300MB/s serial: <filter> 
  ID-5: /dev/da0 vendor: Verbatim model: STORE N GO 5.00 size: N/A 
  speed: 1MB/s serial: <filter> 
...
Info:
  Processes: 65 Uptime: 4h 25m Init: init (BSD) v: N/A tool: service 
  Compilers: gcc: N/A clang: 11.0.1 Shell: sh running-in: xterm 
  pinxi: 3.3.01-101

OpenBSD 6.8:
Code:
Drives:
  Local Storage: total: 22.71 GiB used: 1.54 GiB (6.8%) 
...
  ID-1: /dev/sd0 vendor: Verbatim model: STORE N GO size: 3.54 GiB 
  serial: <filter> 
  ID-2: /dev/wd0 vendor: VirtualBox model: VBOX HARDDISK size: 15.62 GiB 
  serial: N/A 
....
Info:
  Processes: 51 Uptime: 1d 10h 43m Init: init (BSD) v: N/A tool: /etc/rc.d 
  Compilers: gcc: 4.2.1 clang: 10.0.1 Shell: sh default: ksh 
  v: 5.2.14_99/07/13.2 pinxi: 3.3.01-101
 
good outcomes for running-in: are: the actual terminal client, or program, you ran pinxi in, like xfce-terminal, xterm, sakura, mate-terminal etc, or, for root, or su -, running-in: tty [x] with optional value (SSH) if ssh to box.
Okay, great! I think that my test setups are giving accurate responses then.


This is close to done though, last bits are rolling in
Very good. Let me know if you want anything further from me.
 
Not showing 'running-in: tty x' when it can't find the parent appears to be some oddity with how BSDs sometimes handle certain situations, it looks like the tools used just stop working when you do certain things, though I'm not totally clear on what those things are exactly.

Seeing an OpenBSD from real hardware would be nice, there's more fixes ongoing, but it's almost done, just cleaning up some more internal logic as I go along.

Note that the bsd hardware, pci and usb parsing logic is extremely fragile, but in many cases now it should pick up things like an inserted flash drive, it's size, etc.

I probably should avoid making the perfect the enemy of the good, there's so many changes now they should go out live in next inxi pretty soon, was shooting for earlier this week, but kept finding more little oddities, that triggered more refactors, etc.

Any machine you show, make sure to -U first to get the latest version.

Now I have to start writing the changelog, lol, that's going to take a while.
 
I'll see if I can get OpenBSD to run on something. May take me a little while.
 
I have OpenBSD 6.8 installed on an old desktop (CLI only), and I have internet connectivity... but this is new ground for me, and I don't know how to install pinxi, or anything else. Yet. Lookout Google, here I come! o_O

If you want to share any advice here, I will try to soak it in and follow directions. I did not create a user account, so everything will be as root unless you want me to create a user.
 
Code:
cd /usr/local/bin
ftp -o pinxi https://smxi.org/pinxi
chmod +x pinxi
[I can't remember if it comes with per, if not:]
pkg_add perl
pkg_add dmidecode
pkg_add nano (unless you like vi)

I install a few other things first thing usually, irssi, but not much.

When I install I run the internal inxi debugger --debug 22 but that creates and uploads automatically a huge data dump, which makes some people worried so I generally don't mention that unless the people already know me. But that's how I do it on all the test systems always, that gives me almost all the data I need to debug any failure.

I tend to prefer the basic window manager so I can have a few terminals open, which makes working with stuff easier, plus I can scroll the output readily. Their default desktop is, oh what is it, right, fvwm, I think left click on desktop to open terminal from menu.

In terms of getting the data off using only cli that's a bit tricky if you're not familiar with the stuff, openbsd is pretty minimalist, technically you can upload it with ftp too, but I can't remember how to do that. Or you can use a pastebin service but that's harder to do on cli too, I think openbsd out of the box doesn't have browsers, can't remember.
 


Top