The w command shows the following information about each user and their process(s) on the system:
USER – User name.
TTY – Terminal type such as pts/1 or console.
FROM – The remote host name or IP address.
LOGIN@ – Login time.
IDLE – Idle time.
JCPU – The JCPU time is the time used by all processes attached to the tty.
PCPU – The PCPU time is the time used by the current process displayed in WHAT field.
WHAT – The command line of USER’s current process.
The first line of output in the w command displays the current time of day, how long the system has been running, the number of users logged into the system, and the load average. (Can also be seen by uptime command)
How do I show information about the specified user only? w bob
Hide the header : w -h