Changes to the needs-restarting command in RHEL 8

Solution Verified - Updated -


  • The -h and -s options in the needs-restarting command no longer exist in RHEL 8 like they did in RHEL 6 and 7.
  • Executing needs-restarting --help in RHEL 8 will output "Updating Subscription Management repositories.",
    instead of providing the expected usage and options information.
  • The execution time of the needs-restarting command has increased significantly in RHEL 8 compared to RHEL 7.


  • Red Hat Enterprise Linux 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