LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-23-2018, 07:00 PM   #121
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,215

Rep: Reputation: Disabled

Quote:
Originally Posted by h2-1 View Post
yes, you have to use sudo to install man page, it goes to /usr/local/share/man/man1 for pinxi, or any manually installed inxi.
I just want to point out that man pages at least in Slackware do not need to be installed to root owned paths. The legacy man in Slackware 14.2, mandb in current and OpenBSD's mandoc all respect the MANPATH environment variable. For example this works.
Code:
export MANPATH=.
mkdir man1
cp pinxi.1 man1/
man pinxi
The user could install man page directories to a directory they own and then adjust their MANPATH environment variable accordingly and everything should just work.
 
Old 03-24-2018, 01:34 AM   #122
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 69

Original Poster
Rep: Reputation: Disabled
https://github.com/smxi/inxi/issues/135

hydrurga, this dm/encryptted issue is much more complicated than I realized, after reading up the dm part, I realized that your issue is just a small subset of the larger LVM issue, which is actually much more common, so to fix yours would involve creating an enhancement that can solve that. Rather than continue that fairly off topic discussion and issue handling here, I suggest we move it the github issue, where it won't get lost in the forum thread ether. Real issues I tend to post there because otherwise I forget all the details, who it was, what the real problem was, and what larger issue, as in this case, might be involved. I view this is an entirely new feature, or enhancement, which will require much more data to resolve.

orbea, in order for a path to be programmatically available, inxi/pinxi needs to know about it. So, say $MANPATH is set. pinxi/inxi can check for that as first option, then the more traditional /usr/local/share/man/man1 path, then fallback to the always there /usr/share/man if all else fails. Obviously if, say, the test is for MANPATH, it's 100% up to the user to have that supplied to the environment. I have to warn however, I've seen inxi in certain circumstances ignore some part of the environmental variables (konversation for example does that) which was quite difficult to work around.

But inxi has to be able to determine this. Alternately, I can not even try, and add a --man-path option for users who want to set it wherever, and that would trip the same --man boolean, use the provided path, if it exists and is writable (same test inxi currently does on any target man location). That's easy to do. If it involves much more than a few lines of actual logic, I'd shy away from it however because that gets too complicated for such a simple thing.

I believe it checks for current man location, and if present, uses that as first choice, the more options that inxi has to handle, the more complicated it gets internally, and it truly is the now classic https://xkcd.com/927/ 1 standard to rule all the previous 14... meanwhile, year after year, inxi (and, less happily, me) keeps adding standards internally so they can all get recognized. But there has to be a key that allows inxi to know this, and that key must be something it can test, in a certain priority, for example, it checks man paths to make sure the /usr/local/share/man is in it before using it. But it doesn't know anything about what it's checking.

I found personally /usr/local/bin and share to be the ideal spots, particularly in GNU/Linux, since that is what tney were made for, but if you can give me step by step accurate priority tests using known values I'd happily look into adding yet another standard location into the test process, though at some point it gets very difficult to handle every possible configuration option possible, it's a question of how many lines of a code a problem is worth vs the time it takes vs the utility. Some of this stuff i have to study user data that is submitted to see what the actual reality of the paths and environmental variables really are on various systems.

then there's totally unexpected stuff, like chromebook deciding it's a good idea to write root home files to user home, as biker discovered here in this thread.

man is more complicated than -U because inxi doesn't care where you put it, I suggest /usr/local/bin since that was a standard for a long time, and still is in many ways, but users can put it anywhere they want. However, it can't really know much about where to put man, since the man path has to be in the man path, so to speak, so that's not as easy. I opted for the one that would 'just work' with the least headache.

On a purely user level, there's users, like me, who have always used manual installs, always had the auto man page update (after all, it's kind of silly to update inxi without updating its man, they should for the master branch update as a unit). pinxi branch and legacy are different, that's only for people, like me, who want to test the dev man page with the new pinxi version, so the --man option was a good solution there.

Last edited by h2-1; 03-24-2018 at 02:05 AM.
 
2 members found this post helpful.
Old 03-25-2018, 08:18 PM   #123
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 69

Original Poster
Rep: Reputation: Disabled
In order to cover one more possible corner case, users who don't want the man installed, or who want to install it themselves somewhere else, I've added in a new option, --no-man, which, obviously, disables auto man install.

I think this is probably the cleanest solution, I don't really want to get into user specified install locations unless there is a crystal clear and non ambiguous test sequence that will never fail that can be shown in pseudocode, or real code.

I'll update pinxi and then the next inxi commit to have this option, I think overall that's the simplest solution, since inxi support for openbsd will never really be very good unless I set up a multiboot openbsd/freebsd/dragonfly system, maybe also with slackware to round it out, I don't see much more openbsd support happening, I've tried over the years to do it, but my efforts have been largely wasted sad to say due to the ever fluid nature of the various BSD platforms, which currently seem more oriented towards human eyes reading their system data than automation trying to do the same.

In terms of man hours spent, it's a point of rapidly diminishing returns, that is, spend 4 hours on a GNU/Linux feature or enhancement, serve maybe up to 1,000,000 people or systems potentially, spend the same 4 hours to enhance OpenBSD feature, and maybe 1 or 2 people will look at it out of curiosity then that's it.

Last edited by h2-1; 03-25-2018 at 08:26 PM.
 
1 members found this post helpful.
Old 03-25-2018, 08:52 PM   #124
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 69

Original Poster
Rep: Reputation: Disabled
--no-man option is in inxi 2.9.07, just committed.

that also fixes a bug in the --output-file validator that made it return false for valid paths always.

Last edited by h2-1; 03-25-2018 at 09:16 PM.
 
Old 03-26-2018, 02:54 PM   #125
mralk3
Senior Member
 
Registered: May 2015
Distribution: Slackware, Debian, CentOS, FreeBSD
Posts: 1,090

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by h2-1 View Post
--no-man option is in inxi 2.9.07, just committed.

that also fixes a bug in the --output-file validator that made it return false for valid paths always.
Thanks for this. Also:

Code:
$ perl inxi --version
inxi 2.9.07-00 (2018-03-25)
Output of "inxi -v8", under CPU:
Code:
Use of uninitialized value $server in lc at inxi line 7626.
Full output:

Code:
$ perl inxi -v8
System:    Host: mothership.local.lan Kernel: 4.14.29 x86_64 bits: 64 compiler: gcc v: 7.3.0 
           Desktop: Xfce 4.12.4 (Gtk 2.24.31) info: xfce4-panel dm: startx Distro: Slackware 14.2 
Machine:   Type: Laptop System: product: ' ' v: REV:1.0 serial: N/A Chassis: type: 10 serial: N/A 
           Mobo: Micro-Star model: MS-16GD v: REV:1.0 serial: N/A BIOS: American Megatrends v: E16GDIG6.10H 
           date: 08/26/2014 
Battery:   ID-1: BAT1 charge: 38.7 Wh condition: 39.9/48.8 Wh (82%) volts: 12.4/11.1 model: MSI Corp. MS-16GD 
           type: Unknown serial: N/A status: Unknown 
Memory:    RAM Report: permissions: Unable to run dmidecode. Are you root? 
PCI Slots: Permissions: Unable to run dmidecode. Are you root? 
CPU:       Topology: Quad Core model: Intel Core i7-4810MQ type: MT MCP arch: Haswell rev: 3 L2 cache: 6144 KB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 44695 
           Speed: 1330 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 1397 2: 1397 3: 1397 4: 1396 5: 1397 
           6: 1399 7: 1397 8: 1397 
Use of uninitialized value $server in lc at inxi line 7626.
Graphics:  Card-1: Intel 4th Gen Core Processor Integrated Graphics Controller driver: i915 v: kernel 
           bus ID: 00:02.0 chip ID: 8086:0416 
           Display Server: X.Org 1.19.6 driver: intel unloaded: fbdev,modesetting,vesa 
           resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 17.3.7 compat-v: 3.0 direct render: Yes 
Audio:     Card-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller driver: snd_hda_intel 
           v: kernel bus ID: 00:03.0 chip ID: 8086:0c0c 
           Card-2: Intel 8 Series/C220 Series High Definition Audio Controller driver: snd_hda_intel v: kernel 
           bus ID: 00:1b.0 chip ID: 8086:8c20 
           Sound Server: ALSA v: k4.14.29 
Network:   Card-1: Qualcomm Atheros AR8161 Gigabit Ethernet driver: alx v: kernel port: e000 bus ID: 03:00 
           chip ID: 1969:1091 
           IF: eth0 state: down mac: d8:cb:8a:7e:32:fb 
           Card-2: Intel Wireless 7260 driver: iwlwifi v: kernel bus ID: 04:00 chip ID: 8086:08b1 
           IF: wlan0 state: up mac: ac:fd:ce:76:aa:fc 
           IP v4: 192.168.250.190/24 type: dynamic noprefixroute wlan0 scope: global broadcast: 192.168.x.x 
           WAN IP: x.x.x.x 
Drives:    HDD Total Size: 465.76 GiB used: 159.98 GiB (34.3%) 
           ID-1: /dev/sda model: WDC_WD5000LPLX-0 size: 465.76 GiB serial: WD-WXH1AC4LLL4U rev: 1A01 
           Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRAM GTB0N rev: 1.00 
           dev-links: cdr,cdr0,cdrom,cdrom0,cdrw,cdrw0,dvd,dvd0,dvdr,dvdr0,dvdrw,dvdrw0,dvdwriter,dvdwriter0 
           Features: speed: 24 multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram 
           state: running 
RAID:      Message: No RAID data was found. 
Partition: ID-1: / size: 45.71 GiB used: 13.95 GiB (30.5%) fs: ext4 dev: /dev/sda2 label: N/A 
           uuid: 7796d99c-638d-4e6e-a8a1-37230ab63881 
           ID-2: /home size: 396.95 GiB used: 146.02 GiB (36.8%) fs: ext4 dev: /dev/sda3 label: N/A 
           uuid: 490d9ab8-75ac-4b89-ade1-c0ae0240de12 
           ID-3: /sys/fs/cgroup size: 8.0 MiB used: 0 KiB (0.0%) fs: tmpfs dev: ERR-102 label: N/A uuid: N/A 
           ID-4: swap-1 size: 14.90 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda1 label: N/A 
           uuid: b8853074-8398-44c3-a186-a326fe5777d1 
Unmounted: Message: No unmounted partitions found. 
USB:       Hub: 1:1 usb: 2.00 type: Full speed (or root) hub chip ID: 1d6b:0002 
           Device-1: Mouse bus ID: 1:2 usb: 2.00 type: Mouse chip ID: 1af3:0001 
           Device-2: Intel bus ID: 1:4 usb: 2.00 type: Bluetooth chip ID: 8087:07dc 
           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 Full speed (or root) hub chip ID: 8087:8008 
           Hub: 4:1 usb: 2.00 type: Full speed (or root) hub chip ID: 1d6b:0002 
           Hub: 4:2 usb: 2.00 type: Intel Full speed (or root) hub chip ID: 8087:8000 
Sensors:   System Temperatures: cpu: 49.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     slackpkg repos in: /etc/slackpkg/mirrors 
           1: http://192.168.x.x/slackware64-current/
           slackpkg+ repos in: /etc/slackpkg/slackpkgplus.conf 
           1: slackpkgplus ~ http://slakfinder.org/slackpkg+/
           2: alienbob ~ https://slackware.nl/people/alien/sbrepos/current/x86_64/
           3: restricted ~ https://slackware.nl/people/alien/restricted_sbrepos/current/x86_64/
Processes: CPU  % used - Command - pid - Memory: MiB / % used - top: 5 
           1: cpu: 2.4% command: firefox pid: 1723 mem: 616.4MiB (3.8%) 
           2: cpu: 2.2% command: beat_doctor_-_10_-_the_piano_tune.mp3 started by: audacious pid: 5293 
           mem: 38.6MiB (0.2%) 
           3: cpu: 1.2% command: firefox pid: 5459 mem: 159.0MiB (0.9%) 
           4: cpu: 1.1% command: xorg pid: 1381 mem: 63.6MiB (0.3%) 
           5: cpu: 0.9% command: firefox pid: 5413 mem: 129.8MiB (0.8%) 
           Memory MiB/% used - Command - pid - CPU: % used - top: 5 
           1: mem: 616.4 MiB (3.8%) command: firefox pid: 1723 cpu: 3.8% 
           2: mem: 178.3 MiB (1.1%) command: firefox pid: 1815 cpu: 1.1% 
           3: mem: 159.0 MiB (0.9%) command: firefox pid: 5459 cpu: 0.9% 
           4: mem: 141.1 MiB (0.8%) command: firefox pid: 5036 cpu: 0.8% 
           5: mem: 129.8 MiB (0.8%) command: firefox pid: 5413 cpu: 0.8% 
Info:      Processes: 204 Uptime: 3:19 Memory: 15.57 GiB used: 1.47 GiB (9.4%) Init: SysVinit v: 2.88 
           runlevel: 3 default: 3 Compilers: gcc: 7.3.0 alt: 7.3.0 clang: 6.0.0 Shell: bash 4.4.19 
           running in: tilda inxi: 2.9.07
 
Old 03-26-2018, 02:58 PM   #126
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 69

Original Poster
Rep: Reputation: Disabled
mralk3, yes, sorry about that glitch, this is the third forum to have reported it, which is good, means people are paying attention, but it's bad because I need to be more careful. It's hard to break 10 years of sloppy bash/gawk habits overnight, so I still forget that I have to be careful when handling strings in Perl, ie, test before using as a string.

I'm also getting used to how absurdly easy it is to add long options, so clearly in cases like where I added --man, I should have just added the opposite, --no-man at the same time, but the flexibility and power of Perl is something I have to get used to as the norm for inxi, still not used to it obviously...
 
Old 04-13-2018, 11:32 PM   #127
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,337

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
WooHoo !

inxi 3.0.00-00 (2018-04-09) is available in the Slackware 14.2 SBo Repo: https://slackbuilds.org/repository/14.2/system/inxi/

I like all the new goodies !

Thanks !!

-- kjh

After an inxi.SlackBuild Session and an `upgradepkg inxi-3.0.00-noarch-1_SBo.tgz`

The Version:

Code:
# inxi -V

inxi 3.0.00-00 (2018-04-09)

Program Location: /usr/bin/
Website: https://github.com/smxi/inxi or https://smxi.org/
IRC: irc.oftc.net channel: #smxi
Forums: https://techpatterns.com/forums/forum-33.html
 
inxi - the universal, portable, system information tool for console and irc.
Using Perl version: 5.022002
 
This program started life as a fork of Infobash 3.02: 
Copyright (C) 2005-2007 Michiel de Boer aka locsmif. 
Subsequent changes and modifications (after Infobash 3.02): 
Copyright (C) 2008-2018 Harald Hope aka h2. 
CPU/Konversation fixes: Scott Rogers aka trash80. 
USB audio fixes: Steven Barrett aka damentz. 

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 3 of the License, or (at your option) any later 
version. (https://www.gnu.org/licenses/gpl.html)
The Kitchen sink output:

Code:
# inxi -v8

System:
  Host: kjhlt6.kjh.home Kernel: 4.4.128.kjh x86_64 bits: 64 compiler: gcc 
  v: 5.5.0 Console: tty 20 dm: startx Distro: Slackware 14.2 
Machine:
  Type: Laptop System: Notebook product: P7xxDM(-G) v: N/A serial: N/A 
  Chassis: No Enclosure type: 10 serial: N/A 
  Mobo: Notebook model: P7xxDM(-G) serial: N/A 
  UEFI [Legacy]: American Megatrends v: 1.05.03LS1 date: 09/23/2015 
Battery:
  ID-1: BAT0 charge: 77.6 Wh condition: 77.6/79.9 Wh (97%) 
  volts now/min: 16.8/14.8 model: Notebook BAT type: Li-ion serial: 0001 
  status: Full 
Memory:
  Array-1: capacity: 64 GiB slots: 4 EC: None max module size: 16 GiB 
  note: est. 
  Device-1: ChannelA-DIMM0 size: 16 GiB speed: 2133 MHz type: DDR4 
  detail: synchronous bus width: 64 bits total: 64 bits 
  manufacturer: Samsung part-no: M471A2K43BB1-CPB serial: 15120017 
  Device-2: ChannelA-DIMM1 size: 16 GiB speed: 2133 MHz type: DDR4 
  detail: synchronous bus width: 64 bits total: 64 bits 
  manufacturer: Samsung part-no: M471A2K43BB1-CPB serial: 15120098 
  Device-3: ChannelB-DIMM0 size: 16 GiB speed: 2133 MHz type: DDR4 
  detail: synchronous bus width: 64 bits total: 64 bits 
  manufacturer: Samsung part-no: M471A2K43BB1-CPB serial: 15120045 
  Device-4: ChannelB-DIMM1 size: 16 GiB speed: 2133 MHz type: DDR4 
  detail: synchronous bus width: 64 bits total: 64 bits 
  manufacturer: Samsung part-no: M471A2K43BB1-CPB serial: 15112523 
PCI Slots:
  Slot: 3 type: x1 PCI Express PCI Express Slot J_WLAN1 status: In Use 
  length: Short 
CPU:
  Topology: Quad Core model: Intel Core i7-6700K type: MT MCP 
  arch: Skylake-S rev: 3 L2 cache: 8192 KiB bogomips: 64133 
  Speed: 900 MHz min/max: 800/4200 MHz Core speeds (MHz): 1: 900 2: 900 
  3: 900 4: 3795 5: 1463 6: 3785 7: 3808 8: 3814 
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon 
  avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cx16 cx8 de 
  ds_cpl dtes64 dtherm dts eagerfpu epb ept erms est f16c flexpriority fma 
  fpu fsgsbase fxsr hle ht hwp hwp_act_window hwp_epp hwp_notify ida 
  intel_pt invpcid invpcid_single kaiser lahf_lm lm mca mce mmx monitor 
  movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm 
  pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand rdseed rdtscp 
  rep_good retpoline rsb_ctxsw rtm sdbg sep smap smep ss sse sse2 sse4_1 
  sse4_2 ssse3 syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer 
  vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt xtopology xtpr 
Graphics:
  Card-1: NVIDIA GM204M [GeForce GTX 970M] driver: nvidia v: 390.48 
  bus ID: 01:00.0 chip ID: 10de:1618 
  Display Server: X.Org 1.18.3 driver: nvidia compositor: kwin 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: GeForce GTX 970M/PCIe/SSE2 v: 4.5.0 NVIDIA 390.48 
  compat-v: 4.6.0 direct render: Yes 
Audio:
  Card-1: Intel Sunrise Point-H HD Audio driver: snd_hda_intel v: kernel 
  bus ID: 00:1f.3 chip ID: 8086:a170 
  Card-2: NVIDIA GM204 High Definition Audio driver: snd_hda_intel v: kernel 
  bus ID: 01:00.1 chip ID: 10de:0fbb 
  Sound Server: ALSA v: k4.4.128.kjh 
Network:
  Card-1: Qualcomm Atheros Killer E2400 Gigabit Ethernet driver: alx 
  v: kernel port: d000 bus ID: 3c:00.0 chip ID: 1969:e0a1 
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 80:fa:5b:1f:ef:d5 
  IP v4: 192.168.0.6/24 scope: global broadcast: 192.168.0.255 
  Card-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter 
  driver: ath10k_pci v: kernel bus ID: 3f:00.0 chip ID: 168c:003e 
  IF: wlan1 state: down mac: 9c:b6:d0:01:17:01 
  Card-3: Atheros type: USB driver: btusb bus ID: 1:4 chip ID: 0cf3:e300 
  IF-ID-1: vmnet0 state: unknown speed: N/A duplex: N/A 
  mac: 00:50:56:c0:00:00 
  IP v4: 192.168.227.1/24 scope: global broadcast: 192.168.227.255 
  IF-ID-2: vmnet1 state: unknown speed: N/A duplex: N/A 
  mac: 00:50:56:c0:00:01 
  IP v4: 192.168.169.1/24 scope: global broadcast: 192.168.169.255 
  IF-ID-3: vmnet8 state: unknown speed: N/A duplex: N/A 
  mac: 00:50:56:c0:00:08 
  IP v4: 172.16.162.1/24 scope: global broadcast: 172.16.162.255 
  WAN IP: 162.224.37.201 
Drives:
  HDD Total Size: 2.79 TiB used: 1002.98 GiB (35.0%) 
  ID-1: /dev/sda model: Samsung_SSD_850 size: 953.87 GiB 
  serial: S252NXAG712399E rev: 2B6Q temp: 39 C scheme: GPT 
  ID-2: /dev/sdb model: Samsung_SSD_850 size: 953.87 GiB 
  serial: S252NXAG712402P rev: 2B6Q temp: 38 C scheme: GPT 
  ID-3: /dev/sdc model: SAMSUNG_MZHPV512 size: 476.94 GiB 
  serial: S1X1NYAG614548 rev: 500Q temp: 38 C scheme: GPT 
  ID-4: /dev/sdd model: SAMSUNG_MZHPV512 size: 476.94 GiB 
  serial: S1X1NYAG612422 rev: 500Q temp: 41 C scheme: GPT 
  Message: No Optical or Floppy data was found. 
RAID:
  Message: No RAID data was found. 
Partition:
  ID-1: / size: 836.54 GiB used: 337.69 GiB (40.4%) fs: ext4 dev: /dev/sda3 
  label: N/A uuid: e1781832-5e18-46a6-832f-17b7ca96c075 
  ID-2: /boot size: 975.9 MiB used: 203.7 MiB (20.9%) fs: ext4 
  dev: /dev/sda2 label: N/A uuid: 5eee1fe7-ad47-4da0-9a45-c38925455165 
  ID-3: /home size: 841.46 GiB used: 538.58 GiB (64.0%) fs: ext4 
  dev: /dev/sdb2 label: N/A uuid: 5fe37a8b-5c03-4b12-937b-55adc8c744ad 
  ID-4: /opt size: 423.13 GiB used: 126.52 GiB (29.9%) fs: ext4 
  dev: /dev/sdd1 label: N/A uuid: 5acd6282-c286-4d15-b06e-36420b030bc3 
  ID-5: /sys/fs/cgroup size: 31.39 GiB used: 0 KiB (0.0%) fs: tmpfs 
  dev: ERR-102 label: N/A uuid: N/A 
  ID-6: swap-1 size: 4.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda1 
  label: N/A uuid: 7b4dd804-8e8d-4862-a777-1744bf1ce4c4 
  ID-7: swap-2 size: 4.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sdb1 
  label: N/A uuid: 962d12e7-519d-42a2-958e-c8d0d1cdc6c5 
Unmounted:
  ID-1: /dev/sdc1 size: 600.0 MiB fs: ntfs label: Windows RE tools 
  uuid: 8A0CCE5C0CCE42C5 
  ID-2: /dev/sdc2 size: 260.0 MiB fs: vfat label: SYSTEM uuid: 8AD0-411D 
  ID-3: /dev/sdc3 size: 128.0 MiB fs: 128m label: N/A uuid: N/A 
  ID-4: /dev/sdc4 size: 475.97 GiB fs: ntfs label: Windows 
  uuid: E61CD1121CD0DE9D 
USB:
  Hub: 1:1 usb: 2.0 type: Full speed (or root) hub chip ID: 1d6b:0002 
  Device-1: LighTuning bus ID: 1:2 usb: 1.1 type: Vendor Specific Class 
  chip ID: 1c7a:0603 
  Device-2: Acer bus ID: 1:3 usb: 2.0 type: Video chip ID: 5986:066d 
  Device-3: Atheros bus ID: 1:4 usb: 2.0 type: Bluetooth chip ID: 0cf3:e300 
  Hub: 2:1 usb: 3.0 type: Full speed (or root) hub chip ID: 1d6b:0003 
Sensors:
  System Temperatures: cpu: 34.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Repos:
  slackpkg repos in: /etc/slackpkg/mirrors 
  1: file:///home/dld/slackware/slackware64-14.2/
Processes:
  CPU top: 5 
  1: cpu: 11.1% command: palemoon pid: 4587 mem: 834.6 MiB (1.2%) 
  2: cpu: 3.2% command: xorg pid: 2426 mem: 136.5 MiB (0.2%) 
  3: cpu: 2.0% command: kdeinit4: pid: 2671 mem: 174.2 MiB (0.2%) 
  4: cpu: 0.4% command: kdeinit4: pid: 2608 mem: 137.4 MiB (0.2%) 
  5: cpu: 0.3% command: kwin pid: 2595 mem: 70.1 MiB (0.1%) 
  Memory top: 5 
  1: mem: 834.6 MiB (1.2%) command: palemoon pid: 4587 cpu: 1.2% 
  2: mem: 174.2 MiB (0.2%) command: kdeinit4: pid: 2671 cpu: 0.2% 
  3: mem: 137.4 MiB (0.2%) command: kdeinit4: pid: 2608 cpu: 0.2% 
  4: mem: 136.5 MiB (0.2%) command: xorg pid: 2426 cpu: 0.2% 
  5: mem: 136.1 MiB (0.2%) command: mysqld pid: 2622 cpu: 0.2% 
Info:
  Processes: 279 Uptime: 21m Memory: 62.78 GiB used: 1.79 GiB (2.8%) 
  Init: SysVinit v: 2.88 runlevel: 3 default: 3 Compilers: gcc: 5.5.0 
  alt: 5.5.0 clang: 3.8.0 Shell: bash v: 4.3.48 running in: sshd (SSH) 
  inxi: 3.0.00
And my favorite

Code:
# inxi -xxx -w

Weather:
  Conditions: 59 F (15 C) - Clear Wind: From the NW at 6 MPH Humidity: 82% 
  Pressure: 29.78 in (1008 mb) Dew Point: 54 F (12 C) 
  Location: Taylor, TX, USA altitude: 172.5 m 
  Time: Fri Apr 13 23:30:09 2018 (America/Chicago) 
  Observation Time: April 13, 11:15 PM CDT
 
1 members found this post helpful.
Old 04-14-2018, 02:32 AM   #128
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 69

Original Poster
Rep: Reputation: Disabled
kjhambrick, nice to see!!

Note, as I'd hoped, the 3.0 release finally got the ball rolling, and I've already fixed a few small or subtle or fringe issues, right now it's at 3.0.03, but I'm about to do 3.0.04 once I get one last issue report confirmed fixed.

Glad to be in slackware, that feels appropriate somehow.

There's a few new goodies, even newer, the first steps towards real window manager output, wm: ... rough right now, but will be padded out in the future.

also improved, the partition scheme: mbr/gpt is now working on more systems than it was before. It's kind of a hidden easter egg option, if you have fdisk, and run it as root, you'll see the results if you did not before. Actually slackware might see them as user if you have the udev tools installed.

running in: sshd (SSH)

I'm sad to say is a bug, that should not be sshd, it should be the thing that's running it, like tty0 or whatever, never seen that fail.

128.0 MiB fs: 128m label: N/A uuid: N/A

the fs is a bug that has already been fixed, just FYI.

Code:
 ID-5: /sys/fs/cgroup size: 31.39 GiB used: 0 KiB (0.0%) fs: tmpfs 
  dev: ERR-102 label: N/A uuid: N/A
This actually should not be there, can you show me: df -kTP

that should have been filtered out, it looks like there might be a variant of tmpfs syntax I haven't seen yet for filtering.

Last edited by h2-1; 04-14-2018 at 02:52 AM.
 
Old 04-14-2018, 05:42 AM   #129
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17
Posts: 5,525
Blog Entries: 20

Rep: Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626
Code:
$ pinxi -v8z
System:    Host: biker Kernel: 4.15.9-antix.1-amd64-smp x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: IceWM 1.4.2 wm: IceWM 1.4.2 (Linux/x86_64) 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:   ID-1: BAT0 charge: 48.8 Wh condition: 40.3/48.8 Wh (82%) volts now/min: 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 Core model: Intel Core i5 M 520 type: MT MCP arch: Nehalem rev: 5 L2 cache: 3072 KiB 
           bogomips: 19151 
           Speed: 1379 MHz min/max: 1199/2400 MHz Core speeds (MHz): 1: 1463 2: 1371 3: 1463 4: 1463 
           Flags: acpi aes aperfmperf apic arat arch_perfmon bts clflush cmov constant_tsc cpuid cx16 cx8 de 
           ds_cpl dtes64 dtherm dts ept est flexpriority fpu fxsr ht ida lahf_lm lm mca mce mmx monitor msr 
           mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pebs pge pni popcnt pse pse36 pti rdtscp 
           rep_good sep smx ss sse sse2 sse4_1 sse4_2 ssse3 syscall tm tm2 tpr_shadow tsc vme vmx vnmi vpid 
           xtopology xtpr 
Graphics:  Card-1: Intel Core Processor Integrated Graphics 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 v: 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.9-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.0 chip ID: 8086:10ea 
           IF: eth0 state: down mac: <filter> 
           Card-2: Intel Centrino Advanced-N 6200 driver: iwlwifi v: kernel bus ID: 02:00.0 chip ID: 8086:422c 
           IF: wlan0 state: up mac: <filter> 
           IP v4: <filter> scope: global broadcast: <filter> 
           IP v6: <filter> scope: link 
           WAN IP: <filter> 
Drives:    HDD Total Size: 55.90 GiB used: 19.36 GiB (34.6%) 
           ID-1: /dev/sda model: KINGSTON_SV300S3 size: 55.90 GiB serial: <filter> rev: BBF0 scheme: MBR 
           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 
RAID:      Message: No RAID data was found. 
Partition: ID-1: / size: 7.63 GiB used: 3.77 GiB (49.4%) fs: ext4 dev: /dev/sda2 label: rootantiX 
           uuid: 78252287-6dbf-4719-9c7f-13d6bbc8143b 
           ID-2: /home size: 47.08 GiB used: 15.59 GiB (33.1%) fs: ext4 dev: /dev/sda1 label: homeantiX 
           uuid: 62a4a2cd-066a-47d3-a366-f8059a89cbcb 
Unmounted: Message: No unmounted partitions found. 
USB:       Hub: 1:1 usb: 2.0 type: Full speed (or root) hub chip ID: 1d6b:0002 
           Hub: 1:2 usb: 2.0 type: Intel Integrated Rate Matching Hub chip ID: 8087:0020 
           Hub: 2:1 usb: 2.0 type: Full speed (or root) hub chip ID: 1d6b:0002 
           Hub: 2:2 usb: 2.0 type: Intel Integrated Rate Matching Hub chip ID: 8087:0020 
           Device-1: Dell DW375 Bluetooth Module bus ID: 2:3 usb: 2.0 type: Bluetooth chip ID: 413c:8187 
           Device-2: Broadcom BCM5880 Secure Applications Processor with fingerprint swipe sensor bus ID: 2:4 
           usb: 1.1 type: Application Specific Interface chip ID: 0a5c:5801 
Sensors:   System Temperatures: cpu: 51.0 C mobo: N/A sodimm: 42.0 C 
           Fan Speeds (RPM): cpu: 0 
Repos:     Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb http://repo.antixlinux.com/stretch stretch main nosystemd
           Active apt repos 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 repos 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
           No active apt repos in: /etc/apt/sources.list.d/onion.list 
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Processes: CPU top: 5 
           1: cpu: 37.9% command: firefox-esr pid: 3021 mem: 506.3 MiB (6.4%) 
           2: cpu: 2.0% command: xorg pid: 2275 mem: 40.3 MiB (0.5%) 
           3: cpu: 0.4% command: conky pid: 2644 mem: 10.5 MiB (0.1%) 
           4: cpu: 0.3% command: lxterminal pid: 5849 mem: 24.4 MiB (0.3%) 
           5: cpu: 0.2% command: python pid: 2280 mem: 15.5 MiB (0.1%) 
           Memory top: 5 
           1: mem: 506.3 MiB (6.4%) command: firefox-esr pid: 3021 cpu: 6.4% 
           2: mem: 40.7 MiB (0.5%) command: python pid: 2582 cpu: 0.5% 
           3: mem: 40.3 MiB (0.5%) command: xorg pid: 2275 cpu: 0.5% 
           4: mem: 28.0 MiB (0.3%) command: volumeicon pid: 2570 cpu: 0.3% 
           5: mem: 24.4 MiB (0.3%) command: lxterminal pid: 5849 cpu: 0.3% 
Info:      Processes: 153 Uptime: 14m Memory: 7.72 GiB used: 640.4 MiB (8.1%) Init: SysVinit v: 2.88 
           runlevel: 5 default: 5 Compilers: gcc: 6.3.0 alt: 6 Shell: bash v: 4.4.12 running in: lxterminal 
           pinxi: 3.0.03-3
 
Old 04-14-2018, 06:18 AM   #130
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,337

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by h2-1 View Post
kjhambrick, nice to see!!

Note, as I'd hoped, the 3.0 release finally got the ball rolling, and I've already fixed a few small or subtle or fringe issues, right now it's at 3.0.03, but I'm about to do 3.0.04 once I get one last issue report confirmed fixed.

Glad to be in slackware, that feels appropriate somehow.

There's a few new goodies, even newer, the first steps towards real window manager output, wm: ... rough right now, but will be padded out in the future.

also improved, the partition scheme: mbr/gpt is now working on more systems than it was before. It's kind of a hidden easter egg option, if you have fdisk, and run it as root, you'll see the results if you did not before. Actually slackware might see them as user if you have the udev tools installed.

running in: sshd (SSH)

I'm sad to say is a bug, that should not be sshd, it should be the thing that's running it, like tty0 or whatever, never seen that fail.
h2-1 --

If it helps to know, I am running as root in a KDE Konsole and I did become root via SSH `( I've got a preshared key from my User's ~/.ssh/ directory in root's ~/.ssh/authorized_keys file )

This is my little `~/bin/beroot` script ( so I can run GUI goodies in KDE via root ) :
Code:
$HOME/bin/xtitle "root console" 
ssh -Y -p 22 -l root localhost $@
$HOME/bin/xtitle ""
This is `~/bin/xtitle` which is hard-linked to ~/bin/xt
Code:
#!/bin/sh

PrgNam=`basename $0`

if [ "$PrgNam" = "xtitle" ]
then
   Title="$@"
elif [ "$PrgNam" = "xt" ]
then
   Title="Terminal $@"
else
   echo "usage:  $PrgNam  XTerm_Title" >&2
   exit 1
fi

echo -ne "\033]2;${Title}\007"
And these are the relevant entries from `ps -ef`:
Code:
# psgrep -a '( 4571 | 4563 )'
USER               PID  PPID %CPU %MEM    VSZ   RSZ TTY  STAT  STARTED COMMAND
root              4563  1498  0.0  0.0  28816  4808 ?    Ss   23:08:13 sshd: root@pts/20
root              4571  4563  0.0  0.0  20712  3568 20   Ss   23:08:13 -bash
Quote:
Originally Posted by h2-1 View Post
128.0 MiB fs: 128m label: N/A uuid: N/A

the fs is a bug that has already been fixed, just FYI.

Code:
 ID-5: /sys/fs/cgroup size: 31.39 GiB used: 0 KiB (0.0%) fs: tmpfs 
  dev: ERR-102 label: N/A uuid: N/A
This actually should not be there, can you show me: df -kTP

that should have been filtered out, it looks like there might be a variant of tmpfs syntax I haven't seen yet for filtering.
Here you go, h2-1:

Code:
# df -kTP

Filesystem     Type     1024-blocks      Used Available Capacity Mounted on
tmpfs          tmpfs          32768      1028     31740       4% /run
devtmpfs       devtmpfs        8192         0      8192       0% /dev
/dev/sda3      ext4       877173548 354092260 478500424      43% /
tmpfs          tmpfs       32915956       144  32915812       1% /dev/shm
cgroup_root    tmpfs       32915956         0  32915956       0% /sys/fs/cgroup
/dev/sda2      ext4          999320    208612    721896      23% /boot
/dev/sdb2      ext4       882334188 564740052 272751128      68% /home
/dev/sdd1      ext4       443681952 132664300 288456884      32% /opt
cgmfs          tmpfs            100         0       100       0% /run/cgmanager/fs
Thanks again, and I should also say thanks to Aaditya Bagga for the nice clean inxi.SlackBuild Script !

-- kjh
 
1 members found this post helpful.
Old 04-14-2018, 02:15 PM   #131
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 69

Original Poster
Rep: Reputation: Disabled
rokytnji, thanks, all looks good. Just FYI, if you want to get the display to wrap nicely for narrower forum output like here, use something like inxi -zv8 -y85 and you'll see everything wrap to fit into the width nicely. This is one of my favorite features, particularly for forum display of inxi where the forum boxes are fixed widths.

kjhambrick, your case makes sense, but is slightly aggravating because that running in has gotten a lot of work, it probably has more debuggers present per line of code than anywhere else in inxi, lol.

I've fixed your partitions bug in pinxi 3.0.03-05, and added more logging to the running in function, which has caused me a lot of problems, but unfortunately after reviewing the code, it's not the problem here.

If you want, run pinxi --debug 22 after updating and I should I think be able to maybe resolve the issue, not sure, but maybe, your root/ssh stuff may simply be too much for the logic, lol. And it's not 'wrong', it is running in sshd, but that's kind of obvious, all ssh commands are running in sshd, it's supposed to tell you the tty it's in.

Looking at the code, I see what's happening however, it sees display as present, was this using ssh with x forwarding? that's one I have not tested, now that I think on it. running ssh username@url "command" creates oddities for inxi that I have not been able to resolve. So I may have to accept this one is basically just not fixable.

[added] And yes, looking again, I missed the -Y trusted x11 forwarding option, so yes, that's seeing your display, or the display of the other system, and it's just confused, so I think I will not worry about this one, because it's root, it's x forwarding, it's ssh, and that's simply too complicated I think to deliver the correct running in result, I think. That explains why I'd never seen it before. Oddly, some of the output seems unclear about the display status (-S should be showing desktop, not console), yet other parts seem to believe display is true (-I running in), which is odd, because they both use the same tests to determine which is which.

Last edited by h2-1; 04-14-2018 at 06:17 PM.
 
Old 04-17-2018, 10:36 AM   #132
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17
Posts: 5,525
Blog Entries: 20

Rep: Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626Reputation: 2626
Quote:
rokytnji, thanks, all looks good. Just FYI, if you want to get the display to wrap nicely for narrower forum output like here, use something like inxi -zv8 -y85 and you'll see everything wrap to fit into the width nicely. This is one of my favorite features, particularly for forum display of inxi where the forum boxes are fixed widths.
Gotcha. This is my IBM laptop 32 bit install

Code:
$ pinxi -zv8 -y85
System:
  Host: biker Kernel: 4.9.83-antix.1-686-smp-pae i686 bits: 32 compiler: gcc 
  v: 4.9.2 Desktop: IceWM 1.3.8 wm: IceWM 1.3.8 (Linux 3.2.0-4-amd64/i686) dm: slim 
  Distro: antiX-15-V_386-full Killah P 30 June 2015 
Machine:
  Type: Laptop System: LENOVO product: 2347DS2 v: ThinkPad T430 serial: N/A 
  Chassis: type: 10 serial: N/A 
  Mobo: LENOVO model: 2347DS2 serial: N/A UEFI [Legacy]: LENOVO v: G1ET41WW (1.16 ) 
  date: 05/25/2012 
Battery:
  ID-1: BAT0 charge: 20.5 Wh condition: 20.6/56.2 Wh (37%) volts: 12.5/10.8 
  model: SANYO 45N1001 type: Li-ion serial: <filter> status: Charging 
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 bits: 64 type: MT MCP 
  arch: Ivy Bridge rev: 9 L2 cache: 3072 KiB bogomips: 20751 
  Speed: 1494 MHz min/max: 1200/3300 MHz Core speeds (MHz): 1: 1494 2: 1451 3: 1271 
  4: 1311 
  Flags: acpi aes aperfmperf apic arat arch_perfmon avx bts clflush cmov 
  constant_tsc cx16 cx8 de ds_cpl dtes64 dtherm dts eagerfpu epb ept erms est f16c 
  flexpriority fpu fsgsbase fxsr ht ida lahf_lm lm mca mce mmx monitor msr mtrr 
  nonstop_tsc nx pae pat pbe pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pts 
  rdrand rdtscp sep smep smx ss sse sse2 sse4_1 sse4_2 ssse3 tm tm2 tpr_shadow tsc 
  tsc_deadline_timer vme vmx vnmi vpid x2apic xsave xsaveopt xtopology xtpr 
Graphics:
  Card-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:0166 
  Display: server: X.Org 1.16.4 driver: intel unloaded: fbdev,modesetting,vesa 
  resolution: 1600x900~60Hz 
  OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile x86/MMX/SSE2 v: 3.3 Mesa 10.3.2 
  compat-v: 3.0 direct render: Yes 
Audio:
  Card-1: Intel 7 Series/C216 Family High Definition Audio driver: snd_hda_intel 
  v: kernel bus ID: 00:1b.0 chip ID: 8086:1e20 
  Sound Server: ALSA v: k4.9.83-antix.1-686-smp-pae 
Network:
  Card-1: Intel 82579LM Gigabit Network Connection driver: e1000e v: 3.2.6-k 
  port: 5080 bus ID: 00:19.0 chip ID: 8086:1502 
  IF: eth2 state: down mac: <filter> 
  Card-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi v: kernel 
  bus ID: 03:00.0 chip ID: 8086:0085 
  IF: wlan0 state: up mac: <filter> 
  IP v4: <filter> scope: global broadcast: <filter> 
  IP v6: <filter> scope: link 
  WAN IP: <filter> 
Drives:
  HDD Total Size: 298.09 GiB used: 74.48 GiB (25.0%) 
  ID-1: /dev/sda model: HGST_HTS545032A7 size: 298.09 GiB serial: <filter> 
  rev: AC90 scheme: MBR 
  Optical-1: /dev/sr0 vendor: Optiarc model: DVD RW AD-7740H rev: 1.S1 
  dev-links: cdrom,cdrw,dvd,dvdrw 
  Features: speed: 24 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
RAID:
  Message: No RAID data was found. 
Partition:
  ID-1: / size: 7.56 GiB used: 5.25 GiB (69.4%) fs: dev: /dev/sda1 
  label: antiX15root uuid: 685d85b2-6651-49ed-928c-d5e17f70f500 
  ID-2: /home size: 67.16 GiB used: 3.04 GiB (4.5%) fs: dev: /dev/sda2 
  label: antiX15home uuid: 8d150b09-c903-4b7d-9326-7b88e7ac84f2 
  ID-3: /media/_data1 size: 118.34 GiB used: 46.61 GiB (39.4%) fs: dev: /dev/sda5 
  label: /data1 uuid: 8c692b69-46f7-48ef-abc9-e6963655e259 
  ID-4: /media/_data2 size: 96.00 GiB used: 19.59 GiB (20.4%) fs: dev: /dev/sda6 
  label: /data2 uuid: b76696e8-11ba-4177-970b-0d237aa5a8ae 
  ID-5: swap-1 size: 3.91 GiB used: 0 KiB (0.0%) fs: dev: /dev/sda3 label: N/A 
  uuid: 45720f5c-3d28-4e6d-a06d-9ce4a9fe5370 
Unmounted:
  Message: No unmounted partitions found. 
USB:
  Hub: 1:1 usb: 2.0 type: Full speed (or root) hub chip ID: 1d6b:0002 
  Hub: 1:2 usb: 2.0 type: Intel Integrated Rate Matching Hub chip ID: 8087:0024 
  Device-1: Acer bus ID: 1:3 usb: 2.0 type: Video chip ID: 5986:02d5 
  Hub: 2:1 usb: 2.0 type: Full speed (or root) hub chip ID: 1d6b:0002 
  Hub: 2:2 usb: 2.0 type: Intel Integrated Rate Matching Hub chip ID: 8087:0024 
  Hub: 3:1 usb: 2.0 type: Full speed (or root) hub chip ID: 1d6b:0002 
  Hub: 4:1 usb: 3.0 type: Full speed (or root) hub chip ID: 1d6b:0003 
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 0 
Repos:
  Active apt repos in: /etc/apt/sources.list.d/antix.list 
  1: deb http://repo.antixlinux.com/jessie jessie main nosystemd
  Active apt repos in: /etc/apt/sources.list.d/debian.list 
  1: deb http://ftp.gr.debian.org/debian/ jessie main contrib non-free
  2: deb http://security.debian.org/ jessie/updates main contrib non-free
  No active apt repos in: /etc/apt/sources.list.d/mx.list 
  Active apt repos in: /etc/apt/sources.list.d/palemoon.list 
  1: deb http://download.opensuse.org/repositories/home:/stevenpusser/Debian_8.0/ /
  No active apt repos in: /etc/apt/sources.list.d/siduction.list 
  No active apt repos in: /etc/apt/sources.list.d/various.list 
Processes:
  CPU top: 5 
  1: cpu: 18.4% command: firefox-esr pid: 5760 mem: 259.6 MiB (1.6%) 
  2: cpu: 4.0% command: x pid: 2311 mem: 31.5 MiB (0.1%) 
  3: cpu: 0.9% command: [irq/31-iwlwifi] pid: 433 mem: 0.00 MiB (0.0%) 
  4: cpu: 0.5% command: roxterm pid: 6545 mem: 18.6 MiB (0.1%) 
  5: cpu: 0.2% command: python pid: 2354 mem: 10.8 MiB (0.0%) 
  Memory top: 5 
  1: mem: 259.6 MiB (1.6%) command: firefox-esr pid: 5760 cpu: 1.6% 
  2: mem: 31.5 MiB (0.1%) command: x pid: 2311 cpu: 0.1% 
  3: mem: 25.8 MiB (0.1%) command: python pid: 2688 cpu: 0.1% 
  4: mem: 23.2 MiB (0.1%) command: spacefm pid: 2625 cpu: 0.1% 
  5: mem: 20.8 MiB (0.1%) command: volumeicon pid: 2686 cpu: 0.1% 
Info:
  Processes: 172 Uptime: 15m Memory: 15.56 GiB used: 347.7 MiB (2.2%) 
  Init: SysVinit v: 2.88 runlevel: 5 default: 5 Compilers: gcc: 4.9.2 alt: 4.8/4.9 
  Shell: bash v: 4.3.30 running in: roxterm pinxi: 3.0.04-11
 
Old 04-17-2018, 02:31 PM   #133
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 69

Original Poster
Rep: Reputation: Disabled
rokytnji, thanks, you proved the first rule of inxi: for all new features, an unexpected datatype will appear that breaks the assumptions of what can be in that datatype.

In your case, wm: with the full extended icewm string, that is now filtered out, so that was good timing to post this.

I also enhanced the detection and filters that make wm: not appear if it's the same program as in Desktop: that was not tight enough as your example clearly showed. Now I look for the desktop name in the wm value, if it appears, the wm: won't print.

Last edited by h2-1; 04-17-2018 at 03:14 PM.
 
Old 04-17-2018, 03:32 PM   #134
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 69

Original Poster
Rep: Reputation: Disabled
All these fixes and changes are in new inxi 3.0.05, which has several new features as well, mainly showing bits: 32/64 for CPU, which will or can be matched with the kernel bits, which may or may not help debug user issues who are running 32 bit os/kernel but have 64 bit capable cpu but don't know it.
 
Old 04-17-2018, 04:17 PM   #135
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 69

Original Poster
Rep: Reputation: Disabled
rokytnji, I missed the missing fs: for partitions, not sure how that happened.

Can you show:

Code:
lsblk -P --output NAME,TYPE,RM,FSTYPE,SIZE
which should have shown output but did not. this is a relatively new tool that I don't have enough data for yet, obviously, or I would not have missed that one.

I believe I've worked around this failure in inxi 3.0.05 however, or at least patched over it.
 
  


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 09:30 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