I think you asked the same question in your first post.
I'm not aware of any such command in the OS, nor, am I aware of one in the ports/package system. I would think that if sftp-server or internal-sftp used utmp/wtmp, the standard user tools like w(1) could be used.