unRAID 6 NerdPack - CLI tools (iftop, iotop, screen, kbd, etc.)


jonp

Recommended Posts

Is there a bug in the recent sysstat package? iostat returns traffic, although there isn't any (which worked last month):

1038907960_2020-10-1012_59_59.thumb.png.3025affa34dc0f9c2b2d21740a35114d.png

 

I uninstalled/reinstalled the package, but it does not help. EDIT: No, its not related to the version. Try manually installing V11 and recent V12 and all return the same.

 

EDIT2: Hmm.. now I'm confused. Does iostat display at the first request an outdated value? Because if I choose an interval, the result of the following refreshes become correct:

212672098_2020-10-1013_34_31.thumb.png.08c3c6d769102cedfe78b60346c92316.png

 

EDIT2: Ok, sometimes I need to read the documentation ^^

Quote

The first report generated by the iostat command provides statistics concerning the time since the system was booted.

Really good example how to use it:

https://askubuntu.com/a/669025/227119

Edited by mgutt
Link to comment
  • 2 weeks later...

Slightly off topic but related to the libraries that are installed by NerdPack:

 

What is the best way to verify in a command line script that libzen and libmediainfo are installed? I'm new to libraries like this and have some scripts that are using mediainfo.  I'm verifying that mediainfo is installed, but woudl like to verify the dependencies are also installed.

 

Anyone that's an expert here give me a tip on what i could use in a bash script?  Is a basic way just checking for existence of /usr/lib64/libzen.so and /usr/lib64/libmediainfo.so?

Edited by tmchow
Link to comment

Hi, I've been trying to install borgbackup and it looks like the latest python update (python 3.8.2 -> 3.9) broke compatibility. I think this is just that the borgbackup package is installing to /usr/lib64/python3.8, so pkg_resources in /usr/lib64/python3.9 can't resolve it. Downgrading python to 3.8 (and setuptools) works fine. Was the latest borg package built before updating python maybe?

Link to comment
On 8/7/2020 at 10:15 PM, dmacias said:
On 8/7/2020 at 3:06 PM, p0xus said:
Do you guys think you could add bpytop (the new python port of bashtop)? The author recommends everyone migrate from bashtop to bpytop. 

You can install any python app with pip3, setuptools and python3

Not so much

I wrote out this long explination including the errors and how I fixed it, but then I accidentally hit back on my mouse and lost it all.  I am not going to do it over.

 

It will eventually install.  There are several pre-reqs that are difficult to fill.

bpytop - depends on psutil - requires python3, setuptools, pip, *wheel (pip install wheel)

psutil requires libffi (nerd pack) the remainder are devpack.

also requires gcc and gccplus.  

 

Then you get an annoying and unhelpful error for limits.h for a while.

I tried installing precompiled psutil as a slackware installpkg.  But no dice. 

I battled with it for a bit.  Th problem is that limits.h has a bit at the bottom (line 194) that recursively searches through all the limit.h's until it finds the particular one it wants.

 

I started trying to fix this.  At some point I thought, maybe ill just install other libraries and hope its a pre-requisite of something else.  Eventually I got annoyed and just turned on everything with the word "lib" in it.  And.... that worked.  One of those had the required file in there.  It would have been nice to know which, but I've already spent 4 hours hunting this down, so someone else can give it a go.

 

I may have forgot a step in there, hopefully not.

  • Like 1
Link to comment

Running 6.8.3 and the latest nerdpack and for a few months now par2cmdline has been showing there's an update, and i see it on the github repo, but when I go to update it within the nerdpack UI it says the package is missing.  Is there an alternate way to get it updated?

Link to comment
Just now, Nischi said:

Okay so I solved it by installing Slackware in a VM and compiling it by myself. It made 3 files which I copied over to unraid in appropriate locations. Made a script to copy over the files on every boot. Works perfectly together with rar2fs except that there isn't any write ability.

Link to comment
Running 6.8.3 and the latest nerdpack and for a few months now par2cmdline has been showing there's an update, and i see it on the github repo, but when I go to update it within the nerdpack UI it says the package is missing.  Is there an alternate way to get it updated?
Sounds like a different version is installed already by another plugin or manually
Link to comment
Not so much
I wrote out this long explination including the errors and how I fixed it, but then I accidentally hit back on my mouse and lost it all.  I am not going to do it over.
 
It will eventually install.  There are several pre-reqs that are difficult to fill.
bpytop - depends on psutil - requires python3, setuptools, pip, *wheel (pip install wheel)
psutil requires libffi (nerd pack) the remainder are devpack.
also requires gcc and gccplus.  
 
Then you get an annoying and unhelpful error for limits.h for a while.
I tried installing precompiled psutil as a slackware installpkg.  But no dice. 
I battled with it for a bit.  Th problem is that limits.h has a bit at the bottom (line 194) that recursively searches through all the limit.h's until it finds the particular one it wants.
 
I started trying to fix this.  At some point I thought, maybe ill just install other libraries and hope its a pre-requisite of something else.  Eventually I got annoyed and just turned on everything with the word "lib" in it.  And.... that worked.  One of those had the required file in there.  It would have been nice to know which, but I've already spent 4 hours hunting this down, so someone else can give it a go.
 
I may have forgot a step in there, hopefully not.
Added psutil. Should be able to install using pip3 now
  • Like 1
Link to comment
On 11/17/2020 at 8:13 AM, dmacias said:
On 11/17/2020 at 8:03 AM, cinereus said:
host: error while loading shared libraries: liblmdb.so.0.0.0
 
I also have this host issue.

Updated bind. Let me know.

I think the latest bind version broke dig. dig was working on my system before I inadvertently updated it.

 

(I removed the libraries that are found on the list)

Quote

ldd /usr/bin/dig
        libgssapi_krb5.so.2 => not found
        libkrb5.so.3 => not found
        libk5crypto.so.3 => not found
        libjson-c.so.5 => not found

 

/usr/lib64/libjson-c.so.4 exists but not version 5. Maybe the latest version of bind added kerberos support from krb5.

 

/usr/lib64/krb5 only contains winbind_krb5_locator.so

 

nslookup has the same library dependency issue.

Edited by uberchuckie
Link to comment

I fixed the problems with dig and nslookup.

Note that this upgrades json-c.

Package json-c-0.15_20200726-x86_64-1.txz installed. Package json-c-0.13.1-x86_64-1 upgraded with new package ./json-c-0.15_20200726-x86_64-1.txz.

/usr/lib64/libjson-c.so.4 is replaced with /usr/lib64/libjson-c.so.5.

 

I don't know what else relies on the older version of json-c.

ldd $(which dig)

        linux-vdso.so.1 (0x00007ffebdd8f000)

        libdns.so.1608 => /usr/lib64/libdns.so.1608 (0x00001501e86b2000)

        libirs.so.1601 => /usr/lib64/libirs.so.1601 (0x00001501e86a5000)

        libbind9.so.1600 => /usr/lib64/libbind9.so.1600 (0x00001501e8691000)

        libns.so.1605 => /usr/lib64/libns.so.1605 (0x00001501e8648000)

        libisccfg.so.1601 => /usr/lib64/libisccfg.so.1601 (0x00001501e8614000)

        libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00001501e85c3000)

        libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00001501e84eb000)

        libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00001501e84bd000)

        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00001501e84b7000)

        liblmdb.so.0.0.0 => /usr/lib64/liblmdb.so.0.0.0 (0x00001501e84a0000)

        libisc.so.1607 => /usr/lib64/libisc.so.1607 (0x00001501e8425000)

        libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00001501e814b000)

        libjson-c.so.5 => /usr/lib64/libjson-c.so.5 (0x00001501e8136000)

        libuv.so.1 => /usr/lib64/libuv.so.1 (0x00001501e8105000)

        libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00001501e7f9f000)

        libz.so.1 => /lib64/libz.so.1 (0x00001501e7d88000)

        libidn2.so.0 => /usr/lib64/libidn2.so.0 (0x00001501e7d69000)

        libdl.so.2 => /lib64/libdl.so.2 (0x00001501e7d64000)

        libpthread.so.0 => /lib64/libpthread.so.0 (0x00001501e7d40000)

        libc.so.6 => /lib64/libc.so.6 (0x00001501e7b5b000)

        /lib64/ld-linux-x86-64.so.2 (0x00001501e88e4000)

        libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00001501e7b4c000)

        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00001501e7b45000)

        libresolv.so.2 => /lib64/libresolv.so.2 (0x00001501e7b2a000)

        librt.so.1 => /lib64/librt.so.1 (0x00001501e7b1e000)

        libnsl.so.1 => /lib64/libnsl.so.1 (0x00001501e7b03000)

        liblzma.so.5 => /lib64/liblzma.so.5 (0x00001501e78dd000)

        libm.so.6 => /lib64/libm.so.6 (0x00001501e7790000)

        libunistring.so.2 => /usr/lib64/libunistring.so.2 (0x00001501e740e000)

  Edited by uberchuckie
  • Like 1
Link to comment
  • Squid unpinned this topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.