cancel
Showing results for 
Search instead for 
Did you mean: 

# top command not working

# top command not working

Hello Team,

TOP commnad is not working is hpux server, facing below issue,

 

"Sorry, /usr/share/lib/terminfo is unaccessible."

Regards,

Majhar 

4 REPLIES
Dennis Handly
Acclaimed Contributor

Re: # top command not working

>/usr/share/lib/terminfo is unaccessible

 

You need that directory to be able to use top(1).  It's part of OS-Core.UX2-Core.

Is it there for root?  I.e. permission problem on one of the path components?

Patrick Wallek
Honored Contributor

Re: # top command not working

What does the following command return?  Are you trying to run 'top' as root or as some other user?

 

# ls -ld /usr/share/lib/terminfo

 

 

Re: # top command not working

Running as root user

Dennis Handly
Acclaimed Contributor

Re: # top command not working

>Running as root user

 

Looks like you mistakenly deleted that directory.  When did top(1) last work?

What does this show:

ll -d /usr/share /usr/share/lib /usr/share/lib/terminfo