Posted in技术分享 Linux 查看当前登录用户及管理方法 Posted by By xiongbeibei 11/26Posted in技术分享 查看当前登录用户 1. 使用 w 命令 [root@k8s-nginx1 ~]# w 10:58:34 up 26 days, 16:59, 2 users, load average: 0.00, 0.04, 0.06 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root pts/1 10.6.0.18 10:57 1:15 0.01s …