Jump to content
jonp

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

1021 posts in this topic Last Reply

Recommended Posts

how about testdisk for idiots like me who delete things they shouldn't?
Added

Share this post


Link to post
On 2/18/2019 at 2:09 AM, dmacias said:

I compiled 1.1.9 for 6.7.  Give it a try and let me know.

Cool thanks :)

 

I get this unfortunately;

 

Traceback (most recent call last):
  File "/usr/bin/borg", line 6, in <module>
    from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'

Share this post


Link to post
2 hours ago, local.bin said:

Cool thanks :)

 

I get this unfortunately;

 

Traceback (most recent call last):
  File "/usr/bin/borg", line 6, in <module>
    from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'

As mentioned earlier, you need msgpack, setuptools and Python3

However, that will lately result in the message "Using a pure-python msgpack! This will result in lower performance." when running backups. From what I can tell, it will only use 1 core, thus slowing down backups quite a lot.

Share this post


Link to post

@dmacias
tmux seems to be missing the terminfo for tmux, resulting in backspace being broken again.
Just fyi.

Share this post


Link to post
[mention=11874]dmacias[/mention]
tmux seems to be missing the terminfo for tmux, resulting in backspace being broken again.
Just fyi.
I'm not sure but I think it's unraid that's missing the terminal info. I believe it was ncurses that is stripped down. I thought someone earlier in the thread fixed it but changing their terminal emulation. What unraid version and terminal are you using and what emulation?

Share this post


Link to post
Posted (edited)
9 hours ago, dmacias said:
On 4/10/2019 at 4:26 PM, Xaero said:
[mention=11874]dmacias[/mention]
tmux seems to be missing the terminfo for tmux, resulting in backspace being broken again.
Just fyi.

I'm not sure but I think it's unraid that's missing the terminal info. I believe it was ncurses that is stripped down. I thought someone earlier in the thread fixed it but changing their terminal emulation. What unraid version and terminal are you using and what emulation?

Slackware package for tmux come with tmux and tmux-256color terminfo:
https://slackware.pkgs.org/14.2/slackware-testing-x86_64/tmux-2.2-x86_64-2.txz.html

EDIT:
To answer your questions though:
Unraid-nvidia 6.7.0-rc7
I've tried using export and `TERM=xterm tmux` but still results in the error as tmux still tries to use it's own terminfo (which obviously doesn't exist)
I've since copied over a working terminfo from my ArchLinux server for the interim, and the issue is resolved. Seeing as the official slackware packages for tmux have terminfo for it included, it makes sense to package it that way.

Edited by Xaero

Share this post


Link to post
13 hours ago, Xaero said:

Slackware package for tmux come with tmux and tmux-256color terminfo:
https://slackware.pkgs.org/14.2/slackware-testing-x86_64/tmux-2.2-x86_64-2.txz.html

EDIT:
To answer your questions though:
Unraid-nvidia 6.7.0-rc7
I've tried using export and `TERM=xterm tmux` but still results in the error as tmux still tries to use it's own terminfo (which obviously doesn't exist)
I've since copied over a working terminfo from my ArchLinux server for the interim, and the issue is resolved. Seeing as the official slackware packages for tmux have terminfo for it included, it makes sense to package it that way.

The newer versions of tmux don't seem to come with the terminal info. It's all included in ncurses which they strip down for  unraid. I added them to the 2.8 version. I had to do the same for the screen package. So it should work for you now.

Share this post


Link to post
Posted (edited)

Can I ask, why Node.js version, included in the NerdPack is so old? I mean 8.9.4 came out Jan 2018. Today node is at 10.15.3 or 11.14.0

Is there a good reason why it's not up to date? Sorry, I'm a total Linux newb. So pardon my silly question, if it's some kind of obvious or common knowledge thing, that I am not aware of.

 

I am asking, because I am learning javascript/node and want to use it to write scripts for myself to use on unraid.  Yesterday I spent whole day re-writing my own bash script to do something more complicated, and it was a PAIN in the a**.

 

Also I would like to ask a couple of questions about using NerdPack:

  • if I use NerdPack to install something, eg: node on this occasion - if I uninstall it via NerdPack later on - will it be uninstalled completely and cleanly - like it never was there in the first place?
  • where does node get installed? And all the packages I would install globally (using -g) via npm? As I understand, unRAID boots from flash into ram, and runs in memory 100%. So where exactly is node and packages installed, then?
  • Or should I better never install packages globally?

Thank you for any answers/help.

Edited by shEiD

Share this post


Link to post
4 hours ago, ICDeadPpl said:

I'd like to request HTTPie, a command line HTTP client with an intuitive UI, JSON support, syntax highlighting, wget-like downloads, plugins, and more.

https://httpie.org/

https://github.com/jakubroztocil/httpie

https://slackbuilds.org/repository/14.2/network/httpie/?search=httpie
 

Looks interesting - but since its primary purpose seems to be testing/debugging would it not probably belong in Dev Pack rather than Nerd Pack?

Share this post


Link to post
29 minutes ago, itimpi said:

Looks interesting - but since its primary purpose seems to be testing/debugging would it not probably belong in Dev Pack rather than Nerd Pack?

Yeah, maybe. I'll post a request in the Dev Pack thread.

Share this post


Link to post

I attempted to install mosh.  I keep getting the following error when trying to run mosh-server:

 

mosh-server: error while loading shared libraries: libprotobuf.so.9: cannot open shared object file: No such file or directory

 

protobuf-3.5.2-x86_64-1dj.txz is installed.

Share this post


Link to post
I attempted to install mosh.  I keep getting the following error when trying to run mosh-server:
 
mosh-server: error while loading shared libraries: libprotobuf.so.9: cannot open shared object file: No such file or directory
 
protobuf-3.5.2-x86_64-1dj.txz is installed.
I can't test right now but I update both to newer packages. Let me know if that fixes it.

Share this post


Link to post
4 minutes ago, dmacias said:

I can't test right now but I update both to newer packages. Let me know if that fixes it.

Fixed!  What a great response time!  Thank you!

Share this post


Link to post

Good Day,

 

is there any chance we can get Speedtest-cli added to the tools, 

This is a cool utility to allow us to do internet speedtest from cli.

 

Thanks in advance

 

Share this post


Link to post
Posted (edited)
On 1/12/2018 at 2:12 PM, nextgenpotato said:

Hi all,

Can I make a request for an addition to nerdpack?

 

What I need is lbzip2.

I use unraid through ssh, as much as use it through the web interface. Mainly for file operations.

lbzip2 is bzip2 multi-threaded. It's packaged by all major distros.

It makes a significant change in the amount of time compression takes, when you have a multi-core CPU. Basically it reduces time by the amount of threads.

And the particular use case I find myself needing it is to compress the VM disks for backup/snapshot purposes.

The VM manager in unraid doesn't have a snapshot option. When I install a new OS, I usually like to keep a fresh backup of it, just in case I need it in the future so that I don't have to re-install.

lbzip2 was added last year, thanks again!

For the same reason above, I've found out that there is a better compression tool called zstd

 

https://github.com/facebook/zstd

Can this be added as well please?

Edited by nextgenpotato

Share this post


Link to post

Any chance of adding 'nethogs'? Sometimes I can see network download activity but I have no clue where it's originating from. Both download tools I use aren't reporting any activity.

 

According to this site the nethogs tool might shed some light on that!

Share this post


Link to post

Any chance of adding MyRepos https://myrepos.branchable.com/ which is perl based along with vcsh http:// https://github.com/RichiH/vcsh which is just bash script. They are used to control Multiple Repositories (git, svn, mercurial) and to keep dotfiles in git repos and control keeping them updated on all your systems.

 

Since mr is controlled by one file ~/.mrconfig, adding that in via the go script would be minimal recovery at restart times.

Share this post


Link to post

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.