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


jonp

Recommended Posts

@jonp

As many users flood their logs by installing "atop", it would be nice if this package would contain a smaller log timeframe. The default is 28 days:

cat /etc/atop/atop.daily | grep mtime
( (sleep 3; find $LOGPATH -name 'atop_*' -mtime +28 -exec rm {} \;)& )

 

I think 7 days are more than enough.

  • Like 1
Link to comment
  • 2 weeks later...
On 4/29/2020 at 3:52 PM, cinereus said:

Is it possible to suggest a few other programs?

 

essential:

exa

 

nice to have:

 

lsd

oh-my-zsh + various plugins

colorls

neofetch

bashtop

I would also like to see lsd in this pack! :)

 

  

On 9/11/2021 at 6:05 AM, GrehgyHils said:

Is git lfs still offered by this pack? I have it installed but seemingly do not have access to this tool

 

git-lfs-2.4.2-x86_64-1_slonly.txz shows up as available on my end. Haven't tried installing it so can't tell you much more than that.

Edited by Glassed Silver
additionally replying to GrehgyHils
Link to comment
  • 4 weeks later...

Anyone else getting an error when trying to use iotop?

 

iotop
Traceback (most recent call last):
  File "/usr/sbin/iotop", line 17, in <module>
    main()
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 620, in main
    main_loop()
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 610, in <lambda>
    main_loop = lambda: run_iotop(options)
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 508, in run_iotop
    return curses.wrapper(run_iotop_window, options)
  File "/usr/lib64/python2.7/curses/wrapper.py", line 22, in wrapper
    stdscr = curses.initscr()
  File "/usr/lib64/python2.7/curses/__init__.py", line 33, in initscr
    fd=_sys.__stdout__.fileno())
_curses.error: setupterm: could not find terminal

 

Tried re-installed it but made no difference.

Unraid V6.9.2

Link to comment
  • 3 weeks later...
On 10/20/2021 at 4:03 PM, Phoenix26 said:

Anyone else getting an error when trying to use iotop?

 

iotop
Traceback (most recent call last):
  File "/usr/sbin/iotop", line 17, in <module>
    main()
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 620, in main
    main_loop()
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 610, in <lambda>
    main_loop = lambda: run_iotop(options)
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 508, in run_iotop
    return curses.wrapper(run_iotop_window, options)
  File "/usr/lib64/python2.7/curses/wrapper.py", line 22, in wrapper
    stdscr = curses.initscr()
  File "/usr/lib64/python2.7/curses/__init__.py", line 33, in initscr
    fd=_sys.__stdout__.fileno())
_curses.error: setupterm: could not find terminal

 

Tried re-installed it but made no difference.

Unraid V6.9.2

I'm on 6.10 RC2 and iotop is working fine for me.

Link to comment
On 10/20/2021 at 5:03 PM, Phoenix26 said:

Anyone else getting an error when trying to use iotop?

 

iotop
Traceback (most recent call last):
  File "/usr/sbin/iotop", line 17, in <module>
    main()
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 620, in main
    main_loop()
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 610, in <lambda>
    main_loop = lambda: run_iotop(options)
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 508, in run_iotop
    return curses.wrapper(run_iotop_window, options)
  File "/usr/lib64/python2.7/curses/wrapper.py", line 22, in wrapper
    stdscr = curses.initscr()
  File "/usr/lib64/python2.7/curses/__init__.py", line 33, in initscr
    fd=_sys.__stdout__.fileno())
_curses.error: setupterm: could not find terminal

 

Tried re-installed it but made no difference.

Unraid V6.9.2

Same issue here. Also tried uninstalling and reinstalling - no difference.

I also uninstalled python 2.7.11 and then reinstalling iotop. Same errors. :(

 

Edit: I ran across this thread: https://github.com/dmacias72/unRAID-NerdPack/issues/59

which seems to indicate both an ncurses incompatibility, and that the iotop app is massively out of date anyway.

Edited by bitcore
Link to comment
On 10/20/2021 at 5:03 PM, Phoenix26 said:

Anyone else getting an error when trying to use iotop?

 

iotop
Traceback (most recent call last):
  File "/usr/sbin/iotop", line 17, in <module>
    main()
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 620, in main
    main_loop()
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 610, in <lambda>
    main_loop = lambda: run_iotop(options)
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 508, in run_iotop
    return curses.wrapper(run_iotop_window, options)
  File "/usr/lib64/python2.7/curses/wrapper.py", line 22, in wrapper
    stdscr = curses.initscr()
  File "/usr/lib64/python2.7/curses/__init__.py", line 33, in initscr
    fd=_sys.__stdout__.fileno())
_curses.error: setupterm: could not find terminal

 

Tried re-installed it but made no difference.

Unraid V6.9.2

 

do 'export TERM=linux' then try to run it

 

caps sensitive

  • Like 1
Link to comment

"perf" would be very helpful to help determine bottlenecks and performance issues.

 

https://slackbuilds.org/repository/14.2/development/perf/

 

perf is a userspace interface to the kernel's perf events. Performance counters are CPU hardware registers that count hardware events such as instructions executed, cache-misses suffered, or branches mispredicted. They form a basis for profiling applications to trace dynamic control flow and identify hotspots.

Link to comment
  • 2 weeks later...
19 hours ago, KnifeFed said:

 

Doesn't it come default with Unraid? Otherwise I don't know why I have it:

 

$ which jq
/usr/bin/jq

$ jq --version
jq-1.6

 

 Yes, I have jq in my system, but I think I installed it with NerdPack, iirc. Or am I misremembering? I could swear, jq was in NerdPack before 🤔, but maybe I'm wrong...

Does this mean, that now jq comes with unRAID as standard, so it was removed from NP?

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.