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


jonp

Recommended Posts

Sorry for the noob question.

Please can someone indicate to me where the iperf program is located, I want to set my server settings via CLI but I can access it from root or the /bin directory.  My package is installed and and toggled ON in the GUI.

 

Thanks.

Edited by pauloj
Link to comment
On 2/1/2018 at 4:25 AM, pauloj said:

Sorry for the noob question.

Please can someone indicate to me where the iperf program is located, I want to set my server settings via CLI but I can access it from root or the /bin directory.  My package is installed and and toggled ON in the GUI.

 

Thanks.

 

I find all the NerPack installed modules in /usr/bin.  However, you don't have to be in that path to run them.  iperf is installed as iperf3 in /usr/bin.

Edited by Hoopster
Link to comment
16 hours ago, Hoopster said:

 

I find all the NerPack installed modules in /usr/bin.  However, you don't have to be in that path to run them.  iperf is installed as iperf3 in /user/bin.

 

edit: my own mistake, I did install iperf manually before. removing and let nerdpack install again fix everything

Edited by cyan
Link to comment

I'm looking for some guidance regarding the Perl package. It's version perl-5.24.0-x86_64-1.txz is included in this Nerd plugin.

 

Whenever I restart my servers hundreth of CPAN modules need an upgrade. So I need to issue "cpan -upgrade". This call does a ton of updates. Most of the things end successfully, some fail. In addition I need to install two additional modules (e.g. File::Listing).

 

I would like to avoid that upgrade step after a reboot. It's lengthy (something around 15 minutes), it's faulty and it needs some keystrokes in the middle of the upgrade.

 

Is there a better way to get Perl up and running after a reboot? With up-to-date modules? With additional modules?

 

How do you work with Perl after a server reboot?

 

Many thanks in advance.

 

Edited by hawihoney
Link to comment
I'm looking for some guidance regarding the Perl package. It's version perl-5.24.0-x86_64-1.txz is included in this Nerd plugin.

 

Whenever I restart my servers hundreth of CPAN modules need an upgrade. So I need to issue "cpan -upgrade". This call does a ton of updates. Most of the things end successfully, some fail. In addition I need to install two additional modules (e.g. File::Listing).

 

I would like to avoid that upgrade step after a reboot. It's lengthy (something around 15 minutes), it's faulty and it needs some keystrokes in the middle of the upgrade.

 

Is there a better way to get Perl up and running after a reboot? With up-to-date modules? With additional modules?

 

How do you work with Perl after a server reboot?

 

Many thanks in advance.

 

I see there's a 5.26.1 would updating to that help?

I mean are they default packages you're updating?

Link to comment
Updating the package from 5.24 to the most current one sounds like a good idea. With the package included in the Nerd-Pack even CPAN itself needs an update.
 
Is looking for newer packages a manual process?
 
Thanks a lot.
 
 
I added 5.26.1 for unRAID 6.4. Let me know if I can do more.
Link to comment

Could `jq` be considered to add as an install option in the Nerd Tools pack? https://stedolan.github.io/jq/

 

It's a simple JSON parsing binary and an example use case for it is to mass remove movies from Radarr. I tried using some of the lists in Radarr and it added far too many movies, so I'd like to wipe them clean but would take a lot of effort to just wipe the Radarr Docker and reconfig everything. The shell script that uses `jq` is here: https://gist.github.com/pstadler/bc0afefe35f608e9552e764b31f45f19

 

Link to comment

Out of context, but relevant..."What does each package do?"

...attached is a text version of the tooltips from the nerdpack web table. Pulled today.


apr-1.5.2-x86_64-1.txz
Provides a free library of C data structures and routines,
forming a system portability layer to as many operating systems as possible.

 

apr-util-1.5.4-x86_64-2.txz
Provides a free library of C data structures and routines,
forming a system portability layer to as many operating systems as possible.
This package contains additional utility interfaces for APR;
including support for XML, LDAP, database interfaces, URI parsing, and more.

 

atop-2.2-x86_64-2.txz
An advanced interactive monitor for Linux-systems
to view the load on system-level and process-level.

.....for all

nerdpack.txt

Link to comment
On 2/3/2018 at 9:12 PM, AndrewT said:

Could `jq` be considered to add as an install option in the Nerd Tools pack? https://stedolan.github.io/jq/

 

It's a simple JSON parsing binary and an example use case for it is to mass remove movies from Radarr. I tried using some of the lists in Radarr and it added far too many movies, so I'd like to wipe them clean but would take a lot of effort to just wipe the Radarr Docker and reconfig everything. The shell script that uses `jq` is here: https://gist.github.com/pstadler/bc0afefe35f608e9552e764b31f45f19

 

I'll add it. just have to make a custom package

Link to comment
2 hours ago, diox8tony said:

Out of context, but relevant..."What does each package do?"

...attached is a text version of the tooltips from the nerdpack web table. Pulled today.


apr-1.5.2-x86_64-1.txz
Provides a free library of C data structures and routines,
forming a system portability layer to as many operating systems as possible.

 

apr-util-1.5.4-x86_64-2.txz
Provides a free library of C data structures and routines,
forming a system portability layer to as many operating systems as possible.
This package contains additional utility interfaces for APR;
including support for XML, LDAP, database interfaces, URI parsing, and more.

 

atop-2.2-x86_64-2.txz
An advanced interactive monitor for Linux-systems
to view the load on system-level and process-level.

.....for all

nerdpack.txt

Thanks. It's always available here too in json format packages-desc or it's on the flash drive too in the plugin packages folder

Edited by dmacias
Link to comment

@dmacias thanks for the addition.

 

Now with jq, it's easy to cleanup the movies list when it get too large from "Lists" adding too many. The HOST and API_KEY vars have to be assigned.

#!/bin/sh

HOST=http://serverIPaddress:7878 #Radarr port default is 7878
API_KEY=32charString #Radarr > Settings > General

ids=$(curl --silent $HOST/api/movie -X GET -H "X-Api-Key: $API_KEY" \
  | jq '.[] | select(.monitored == true) | .id')

for id in $ids; do
  echo "Deleting movie id $id"
  curl --silent $HOST/api/movie/$id -X DELETE -H "X-Api-Key: $API_KEY"
done

Also, to batch cleanup all downloaded from Raddar, .monitored == true can be replaced with .downloaded == true with the same script using the `jq` binary.

Edited by AndrewT
Link to comment

Any chance of getting strings as an installable command?

 

As the preclear plugin is no longer working, and users wanting to preclear need to rely on the script, it would be nice if it didn't generate any errors.  Line 236 of the script calls strings but the command is not found.  

 

I checked my Ubuntu VM, and my raspberry pi and both distros have the command included.

 

I don't know if this used to be part of the unRAID install and was removed for a valid reason or not - but it doesn't seem like a harmful utility:

 

Usage: strings [option(s)] [file(s)]
 Display printable strings in [file(s)] (stdin by default)

 

Thanks.

Edited by sureguy
Link to comment
Any chance of getting strings as an installable command?

 

As the preclear plugin is no longer working, and users wanting to preclear need to rely on the script, it would be nice if it didn't generate any errors.  Line 236 of the script calls strings but the command is not found.  

 

I checked my Ubuntu VM, and my raspberry pi and both distros have the command included.

 

I don't know if this used to be part of the unRAID install and was removed for a valid reason or not - but it doesn't seem like a harmful utility:

 

Usage: strings [option(s)] [file(s)]Display printable strings in [file(s)] (stdin by default)

 

Thanks.

 

I'll check into it

 

There's a strings-BSD in my unRAID

Link to comment
  • 2 weeks later...
  • 3 weeks later...

Having a little issue, running unraid 6.4.1, installed NerdPack from the Community Apps, also even tried it from the url posted in this thread, when i goto NerdPack in Plugins, it goes to the screen and doesn't show anything, shows a table outline which you will see in the screenshot in which i've attached, here's a copy of the logs from the install, also attached a copy of the syslog.

 

cmd=/plugins/dynamix.plugin.manager/scripts/plugin&arg1=install&arg2=https://raw.githubusercontent.com/Squidly271/ca.update.applications/master/plugins/ca.update.applications.plg&csrf_token=****************
Mar 13 12:05:16 unraid emhttpd: cmd: /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin install https://raw.githubusercontent.com/Squidly271/ca.update.applications/master/plugins/ca.update.applications.plg
Mar 13 12:05:16 unraid root: plugin: running: anonymous
Mar 13 12:05:16 unraid root: plugin: running: anonymous
Mar 13 12:05:16 unraid root: plugin: creating: /boot/config/plugins/ca.update.applications/ca.update.applications-2018.03.02-x86_64-1.txz - downloading from URL https://raw.github.com/Squidly271/ca.update.applications/master/archive/ca.update.applications-2018.03.02-x86_64-1.txz
Mar 13 12:05:17 unraid root: plugin: checking: /boot/config/plugins/ca.update.applications/ca.update.applications-2018.03.02-x86_64-1.txz - MD5
Mar 13 12:05:17 unraid root: plugin: running: /boot/config/plugins/ca.update.applications/ca.update.applications-2018.03.02-x86_64-1.txz
Mar 13 12:05:17 unraid root: plugin: running: anonymous
Mar 13 14:20:35 unraid kernel: nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based firewall rule not found. Use the iptables CT target to attach helpers instead.
Mar 13 20:18:22 unraid emhttpd: req (16): cmd=/plugins/dynamix.plugin.manager/scripts/plugin&arg1=remove&arg2=NerdPack.plg&csrf_token=****************
Mar 13 20:18:22 unraid emhttpd: cmd: /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin remove NerdPack.plg
Mar 13 20:18:22 unraid root: plugin: running: anonymous
Mar 13 20:18:39 unraid login[17265]: ROOT LOGIN on '/dev/pts/1'
Mar 13 20:19:35 unraid emhttpd: req (17): cmd=/plugins/dynamix.plugin.manager/scripts/plugin&arg1=install&arg2=https://raw.githubusercontent.com/dmacias72/unRAID-NerdPack/master/plugin/NerdPack.plg&csrf_token=****************
Mar 13 20:19:35 unraid emhttpd: cmd: /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin install https://raw.githubusercontent.com/dmacias72/unRAID-NerdPack/master/plugin/NerdPack.plg
Mar 13 20:19:35 unraid root: plugin: creating: /boot/config/plugins/NerdPack/NerdPack.cfg - from INLINE content
Mar 13 20:19:35 unraid root: plugin: creating: /boot/config/plugins/NerdPack/NerdPack-2018.02.17-x86_64-1.txz - downloading from URL https://raw.githubusercontent.com/dmacias72/unRAID-NerdPack/master/archive/NerdPack-2018.02.17-x86_64-1.txz
Mar 13 20:19:35 unraid root: plugin: creating: /boot/config/plugins/NerdPack/NerdPack-2018.02.17-x86_64-1.md5 - downloading from URL https://raw.githubusercontent.com/dmacias72/unRAID-NerdPack/master/archive/NerdPack-2018.02.17-x86_64-1.md5
Mar 13 20:19:35 unraid root: plugin: running: anonymous
Mar 13 20:19:36 unraid nerdpack: Processing Packages...
Mar 13 20:19:36 unraid nerdpack: Cleaning up packages...
Mar 13 20:19:36 unraid nerdpack: All packages processed...

 

 

Screen Shot 2018-03-13 at 8.22.53 PM.png

unraid-syslog-20180313-2023.zip

Link to comment
19 minutes ago, scooterh928 said:

running unraid 6.4.1, installed NerdPack from the Community Apps, also even tried it from the url posted in this thread, when i goto NerdPack in Plugins, it goes to the screen and doesn't show anything, shows a table outline

If you have an adblocker installed whitelist your server.

 

Also, instead of just the syslog we would always very much rather have the complete diagnostics zip which you can download by going to Tools - Diagnostics. The diagnostics zip contains syslog and many other things which help us make sense of your situation.

Link to comment
10 hours ago, trurl said:

If you have an adblocker installed whitelist your server.

 

Also, instead of just the syslog we would always very much rather have the complete diagnostics zip which you can download by going to Tools - Diagnostics. The diagnostics zip contains syslog and many other things which help us make sense of your situation.

I disabled the ad blocker all together and still doesn't show anything even whitelisted ip on pihole, sane from multiple different computers I've attached the diagnostics. Since upgrading to 6.5 it shows 2 things, A and h 

unraid-diagnostics-20180314-0735.zip

Link to comment
10 hours ago, scooterh928 said:

I disabled the ad blocker all together and still doesn't show anything even whitelisted ip on pihole, sane from multiple different computers I've attached the diagnostics. Since upgrading to 6.5 it shows 2 things, A and h 

unraid-diagnostics-20180314-0735.zip

Did you try Reset Filters and Check for Updates? Refresh browser cache? What browser? And what do you mean by A and h?

Link to comment

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.