...e. BUGS When using --terminal option, w assumes processes with a parent PID of 0 or 1 are agetty (8) processes and will not display them. This is prone to both false postive and…