Page 1 of 1

hi! Can I install the utility on htop LNS2

PostPosted: Wed Mar 05, 2014 3:23 pm
by vetal_dom
Hi! Can I install the utility on htop LNS2?

Re: hi! Can I install the utility on htop LNS2

PostPosted: Wed Mar 05, 2014 3:59 pm
by Jocko
Hi vetal_dom

do you not find satisfaction with the top command? (which does pretty the same thing)

Re: hi! Can I install the utility on htop LNS2

PostPosted: Wed Mar 05, 2014 6:32 pm
by vetal_dom
Jocko wrote:Hi vetal_dom

do you not find satisfaction with the top command? (which does pretty the same thing)


yes. want to see the CPU load percentage. and memory load too

Re: hi! Can I install the utility on htop LNS2

PostPosted: Wed Mar 05, 2014 6:53 pm
by Jocko
:scratch

See
top - 19:52:35 up 1 day, 23:10, 1 user, load average: 1.18, 0.96, 0.97
Tasks: 106 total, 1 running, 105 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.3%us, 0.0%sy, 0.0%ni, 98.3%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 251392k total, 245408k used, 5984k free, 8256k buffers
Swap: 514076k total, 0k used, 514076k free, 191592k cached


Re: hi! Can I install the utility on htop LNS2

PostPosted: Wed Mar 05, 2014 7:48 pm
by vetal_dom
Jocko wrote::scratch

See
top - 19:52:35 up 1 day, 23:10, 1 user, load average: 1.18, 0.96, 0.97
Tasks: 106 total, 1 running, 105 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.3%us, 0.0%sy, 0.0%ni, 98.3%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 251392k total, 245408k used, 5984k free, 8256k buffers
Swap: 514076k total, 0k used, 514076k free, 191592k cached





Thanks for the demonstration of the "top" :-)

Why I decided to use "htop"

1) To connect to the "Lacie" I use "Mac OS X Mavericks" when I try to run, "top" terminal now gives me this error

root@LaCie_NS2:/ # top
'xterm-256color': unknown terminal type.
root@LaCie_NS2:/ #



2) I would like to see here such interface :-)

1 [ 0.0%] Tasks: 86, 104 thr; 1 running
2 [| 0.7%] Load average: 0.26 0.16 0.14
Mem[||||||||||||||||||||228/1999MB] Uptime: 43 days, 04:47:10
Swp[| 57/2042MB]

Re: hi! Can I install the utility on htop LNS2

PostPosted: Wed Mar 05, 2014 8:03 pm
by Jocko
I think is not an issue with the top command but your Terminal Preferences (in Advanced pane, Terminal must be declared as xterm-256color).

So I am pretty sure that you will get the same error with htop command (also with nano, ...)

You must chose as Terminal type : xterm or vt100

Re: hi! Can I install the utility on htop LNS2

PostPosted: Wed Mar 05, 2014 8:12 pm
by vetal_dom
Yet how can I set htop?

Re: hi! Can I install the utility on htop LNS2

PostPosted: Wed Mar 05, 2014 8:25 pm
by Jocko
Please, reread my previous post :tapfoot

and htop is not currently available on the NAS.

Note: A little politeness is not useless :mrgreen:

Note2: here the comparison between htop and top http://hisham.hm/htop/index.php?page=comparisonSo very few difference and only cosmetic
Apart from a fantasy on your part, there is no interest to include it

Sorry

Re: hi! Can I install the utility on htop LNS2

PostPosted: Wed Mar 05, 2014 8:33 pm
by vetal_dom
I understood. Thank you very much for the information. :thumbup

Sorry for my bad english :oops: