Operating System - HP-UX
1751936 Members
4670 Online
108783 Solutions
New Discussion

Re: # top command not working

 
majhar_mujawar
Advisor

# 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 4
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

 

 

majhar_mujawar
Advisor

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