In the output of `w` there is a "FROM" column. For my main login session it is the display ":0". For my pseudo terminals, it is "m". What does "m" indicate / stand for?
This isn't actually relevant to anything, I'm just curious.
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
$ME tty7 :0 11:38 1:09m 2:15 0.18s cinnamon-session --session cinnamon
$ME pts/0 m 11:38 1.00s 0.03s 0.00s tmux
Posted Jan 23, 2019, 8:59 PM UTC
810
The
FROMfield is the remote host name or IP addressI don't see anything that particularly jumps out of the code (and I am NOT a coder) to account for an output of
m.Whatever the "environment" is that w.c is querying for the hostname/IP (procps?), it appears to be returning the
mto w.c which is evaluating it, cleaning it up and squirting it to STDOUT.I'm going to guess that pts/0 is a pseudo terminal of tmux and to the environment/procps its address/hostname resolves to
mor some-suchidon'tknowwtfi'mtalkingabout. :DHopefully this stimulates some conversation leading to a more valid answer. :)