Why is `top -c` or `top` not working in Red Hat Enterprise Linux (RHEL) with ksh shell?

Solution Verified - Updated -

Issue

  • Why does top -c command fail with the error below.

    # top -c
    top: failed tty set: Interrupted system call
    
  • It happens with top command as well

    # top
    top: failed tty set: Interrupted system call
    

Environment

  • Red Hat Enterprise Linux (RHEL) 7, 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content