Regarding "FROM" field of w command

Solution Verified - Updated -

Issue

  • A name of a remote host was not displayed by w command (no option, -h, -s) in RHEL7.
no option
[RHEL7]
    # w
     19:50:01 up 9 days,  1:09,  3 users,  load average: 0.00, 0.01, 0.05
    USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT
    root     pts/0     18:37    1:11m  0.08s  0.08s -bash
    root     pts/1     19:19    0.00s  0.27s  0.04s w

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.