Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies



Hi dmacias,
 
Can you please add the newest (2.10) version of rmlint?  We're using it to get CoW convergence on our caches
 
Edit:  It looks like the other option for this, jdupes, was built without btrfs support.  For those who need it, can you please enable that flag in the makefile and republish?
 
I'm not sure if it's in the works to configure where Nerdpack is pointed, but if it is, I'd be willing to open my own packages to lend a hand.  I imagine most others feel similarly.


I updated to a precompiled version of jdupes. Let me know if it has btrfs support. If not I can compile it. NerdPack points to my github. So you could make a pull request for any package. https://github.com/dmacias72/unRAID-NerdPack/tree/master/packages it's sorted by unraid version since some packages have to be recompiled for different unraid versions due to dependencies.
  • Replies 2k
  • Views 776.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • EDIT: Nerdtools is now available as a replacement, you might want to check that first: Some tools like iperf3 and perl are now included in the base unraid release, hence them not being present i

  • Lol, are we going to petition the willy wonka company to change the name of their candy too?  I guess its not a big deal to change the name, I just have to laugh at the thought of someone honestly bei

  • Reason why it's not marked as being incompatible and it hasn't been said point blank that it's going to disappear is because the deadline for this to happen is when 6.11 stable is released.  

Posted Images

Are you sure? eg `strings` is BSD version, not GNU.

Are you sure? eg `strings` is BSD version, not GNU.
root@Server:~# ls -la /var/log/packages/core*-rw-r--r-- 1 root root 0 Jul 12 10:01 /var/log/packages/coreutils-8.32-x86_64-1root@Server:~#


Not sure what they include with it though

Sorry dmacias, not sure how I missed the notification for your update, jdupes 1.14 not compiled with btrfs support.  Running "jdupes --dedupe" shows the message. 

I'll add a PR when I get a chance. 

Would it be possible to add sshpass into the nerdpack?  I am wanting to use it with UserScripts to reboot my wireless ap weekly.

On 9/10/2020 at 3:50 PM, dmacias said:
On 9/6/2020 at 4:20 PM, RoryIsNotACabbage said:
I'm having trouble with zsh. I've added it in NerdPack and it downloads but doesn't install and I can't seem to find where it downloads to

Updated zsh. Try again.

This has fixed the issue, thank you very much

Could you add intel gpu tools? With intel_gpu_top its possible to check the iGPU load.

3 minutes ago, mgutt said:

Could you add intel gpu tools? With intel_gpu_top its possible to check the iGPU load.

As an aside, there is a docker container already available in Apps that is this precise thing.

Could you add intel gpu tools? With intel_gpu_top its possible to check the iGPU load.
That's really outside the scope of this plugin. It requires a bunch of other packages also.
As an aside, there is a docker container already available in Apps that is this precise thing.
Does that work if you already using it for transcoding in another container?
6 minutes ago, dmacias said:
21 minutes ago, Squid said:
As an aside, there is a docker container already available in Apps that is this precise thing.

Does that work if you already using it for transcoding in another container?

I would think that is the point of the container...

21 minutes ago, Squid said:

As an aside, there is a docker container already available in Apps that is this precise thing.

If this works, its all I need. Thank you!

Could you add edac_mce_amd module since mcelog module does not support AMD processor family 23.

39 minutes ago, Lavoslav said:

Could you add edac_mce_amd module since mcelog module does not support AMD processor family 23.

That module was added in quite a number of releases of the OS ago.

 

Effectively what the message means from mcelog is that the stock mce module (ie: Intel) isn't support, and the system is switching to using the edac_mce_amd module instead.

Would it be possible to add mergerfs into the Nerd Pack?

On 9/10/2020 at 11:35 AM, dmacias said:
On 8/31/2020 at 11:57 AM, IamSpartacus said:
Has anyone gotten fio to successfully run?  I just get "illegal instruction" even with --disable-native set.  I've tried this in both 6.9 beta 25 and 6.8.3 stable.

I updated fio. Try again and let me know

This worked, thank you!

Hi, any chance to have nbd added? I would like to share a cdrom drive from another machine :)

On 9/17/2020 at 11:56 PM, mgutt said:

Did you test powertop? I'm a little bit confused. Why are the Pkg(HW) stats and frequency stats empty?

Hello.

I have a very simple usage of powertop 

I just extracted a report, then add the tweaks in go files.

My idle power consumptions is now very low, as it was with OMV.

55 minutes ago, mika91 said:

 

I just extracted a report, then add the tweaks in go files.

Do you know about / have a small guide for these steps?

Edited by mgutt

Sure, nothing complex.
Just run

powertop -r powertop.html

Then you move the file wherever you can open it with a web brower.
Go to the 'tuning' tab, and copy/paste the tweaks  you want to apply in the /etc/boot/go file

My go file looks like

#!/bin/bash

# -------------------------------------------------
# Start the Management Utility
# -------------------------------------------------
/usr/local/sbin/emhttp &

# -------------------------------------------------
# enable jellyfin hardware transcoding on intel
# -------------------------------------------------
modprobe i915
chown -R nobody:users /dev/dri
chmod -R 777 /dev/dri

# -------------------------------------------------
# fix seagate not stay spun-down
# -------------------------------------------------
#hdparm -B 255 /dev/disks/by-id/ata-ST3000DM001-1CH166_Z1F59K90

# -------------------------------------------------
# powertop tweaks
# -------------------------------------------------
# Enable SATA link power management
for i in /sys/class/scsi_host/host*/link_power_management_policy
#do echo 'min_power' > $i;
do echo 'med_power_with_dipm' > $i;
done
# NMI watchdog should be turned off
# echo '0' > '/proc/sys/kernel/nmi_watchdog';

# VM writeback timeout
echo '1500' > '/proc/sys/vm/dirty_writeback_centisecs';

# Runtime PM for I2C Adapter (i915 gmbus dpb)
for i in /sys/bus/i2c/devices/i2c-*/device/power/control
do echo 'auto' > $i;
done

# Autosuspend for USB device
for i in echo /sys/bus/usb/devices/*/power/control
do echo 'auto' > $i;
done

# Runtime PM for disk
for i in /sys/block/sd*/device/power/control
do echo 'auto' > $i;
done

# Runtime PM for PCI devices
for i in /sys/bus/pci/devices/????:??:??.?/power/control;
do echo 'auto' > $i;
done

# Runtime PM for port ata od PCI devices
for i in /sys/bus/pci/devices/????:??:??.?/ata*/power/control;
do echo 'auto' > $i;
done

# Disable wake on lan
ethtool -s eth0 wol d


Finally, export another report and verify all tweaks are applied.

Edited by mika91

Thanks for the explanation

 

1.) Did you create the for-loops by yourself? Because my tuning results are only single scripts like:

echo 'auto' > '/sys/bus/pci/devices/0000:00:17.0/ata1/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:17.0/ata2/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:17.0/ata3/power/control';
...

2.) This script is extremely flexible:

for i in /sys/bus/pci/devices/????:??:??.?/power/control;

I mean, it covers more pci devices than returned through powertop. Don't you think it will cause errors?

 

3.) Another thing are my usb devices. I have connected in total 4. It suggests the following settings in the top:

Autosuspend for USB device PROTECT [AEG PS]echo 'auto' > '/sys/bus/usb/devices/1-5/power/control';
Autosuspend for USB device External Disk 3.0 [JMicron]echo 'auto' > '/sys/bus/usb/devices/2-3/power/control';
Autosuspend for USB device External Disk 3.0 [JMicron]echo 'auto' > '/sys/bus/usb/devices/2-4/power/control';
Autosuspend for USB device Mass Storage Device [JetFlash]echo 'auto' > '/sys/bus/usb/devices/1-6/power/control';

Under "Optimal Tuned" it returned:

Autosuspend for USB device xHCI Host Controller [usb1]
Autosuspend for USB device xHCI Host Controller [usb2]

And at the bottom this:

Wake status for USB device usb1echo 'enabled' > '/sys/bus/usb/devices/usb1/power/wakeup';
Wake status for USB device 1-5echo 'enabled' > '/sys/bus/usb/devices/1-5/power/wakeup';
Wake status for USB device usb2echo 'enabled' > '/sys/bus/usb/devices/usb2/power/wakeup';

If I understand this correct, then "usb1" and "usb2" are "USB-Hubs" and "1-5" is my UPS unit connected to "usb1". Doesn't it make sense to set "1-6" to "enabled" as its the Unraid Flash Drive? And finally I ask myself if it is really needed to set "usb2" to "enabled" as it is "disabled" since I setup my server and it did never produce problems.

 

EDIT: After applying the script my build (8 sleeping HDDs, 1 active NVMe, active 10G) went down by 4W to 19.59W! 

554074845_2020-09-2800_13_05.png.224249c513cec051b618d6ec5ebc515a.png

 

As you can see I used effectively your script:

#!/bin/bash

# -------------------------------------------------
# Start the Management Utility
# -------------------------------------------------
/usr/local/sbin/emhttp &

# -------------------------------------------------
# enable jellyfin hardware transcoding on intel
# -------------------------------------------------
modprobe i915
chown -R nobody:users /dev/dri
chmod -R 777 /dev/dri

# -------------------------------------------------
# powertop tweaks
# -------------------------------------------------

# Enable SATA link power management
for i in /sys/class/scsi_host/host*/link_power_management_policy
    do echo 'med_power_with_dipm' > $i;
done

# VM writeback timeout
echo '1500' > '/proc/sys/vm/dirty_writeback_centisecs';

# Runtime PM for I2C Adapter (i915 gmbus dpb)
for i in /sys/bus/i2c/devices/i2c-*/device/power/control
    do echo 'auto' > $i;
done

# Autosuspend for USB device
for i in echo /sys/bus/usb/devices/*/power/control
    do echo 'auto' > $i;
done

# Runtime PM for disk
for i in /sys/block/sd*/device/power/control
    do echo 'auto' > $i;
done

# Runtime PM for PCI devices
for i in /sys/bus/pci/devices/????:??:??.?/power/control;
    do echo 'auto' > $i;
done

# Runtime PM for port ata od PCI devices
for i in /sys/bus/pci/devices/????:??:??.?/ata*/power/control;
    do echo 'auto' > $i;
done

# Disable wake on lan
#ethtool -s eth0 wol d #unsupported by 10g network adapter
ethtool -s eth1 wol d
ethtool -s eth2 wol d

 

Edited by mgutt

  • 2 weeks later...

How about wget2? It's the modern multi-threaded replacement for wget. https://github.com/gnuwget/wget2

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.