1

My Ubuntu htop command does not display anything, like this:

htop displays nothing

Is there any problem with this command? Thanks a lot!

muru
  • 197,895
  • 55
  • 485
  • 740
sperfu
  • 11
  • Did you try restarting? – user8292439 Aug 18 '17 at 02:25
  • 1
    Does top works?? –  Aug 18 '17 at 02:27
  • To check if it's a display problem, try redirecting output into a file, htop > test.dat. Does that file contain data? If yes, you have a display problem. – richbl Aug 18 '17 at 02:38
  • 1
    I did restart the computer, and the top command works fine. However, htop doesn't work. And I use htop>test.dat to redirecting output into a file,but I still got little information, I even tried to reinstall htop, but still cannot fix the problem. So I am still confused.... – sperfu Aug 19 '17 at 02:56
  • 1
    Have you tried running htop with sudo just to make sure it's not a permissions issue? – Thomas Ward Aug 29 '20 at 17:02
  • If it isn't permissions, you could try removing the htop configuration file (~/.config/htop/htoprc) – moo Nov 04 '21 at 08:30

1 Answers1

-1

I think you should follow instructions list on GitHub homepage. Maybe your ncurses library is not correct and incompatible. enter link description here

The static compilation maybe useful for same error. I think the cause of this error is lack of or wrong dynamical link of ncurses

J.Gu
  • 1