您的位置:首页 > 运维架构 > Linux

Linux/Unix监控其他用户和信号

2013-10-27 14:37 197 查看
--Linux/Unix监控其他用户和信号

------------------------------------------------------2013/10/27


查看有哪些用户登录

who–showwhoisloggedon

[root@localhost~]#who

roottty12013-10-2621:46(:0)

rootpts/02013-10-2621:47(:0.0)

rootpts/12013-10-2621:52(192.168.133.1)


查看pts/1在做什么

[root@localhost~]#ps-ef|greppts/1

root212111888021:52?00:00:00sshd:root@pts/1

root2121721211021:52pts/100:00:00-bash

root2127721217021:57pts/100:00:00su-Oracle

Oracle2127821277021:57pts/100:00:00-bash

root2157721278022:03pts/100:00:00su-root

root2158721577022:04pts/100:00:00-bash

root2163121587022:04pts/100:00:00ps-ef

root2163221587022:04pts/100:00:00greppts/1



                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: