查看linux系统有哪些登陆用户,Linux
linux查看系统登录用户
Last login: Wed Jul 29 17:16:10 2009 from 192.168.1.77
[root@dbrg-2 ~]# users
root
[root@dbrg-2 ~]# w
17:57:30 up 93 days, 8:48, 1 user, load average: 0.69, 0.85, 0.62
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/1 192.168.1.77 17:57 0.00s 0.00s 0.00s w
[root@dbrg-2 ~]# who
root pts/1 Jul 29 17:57 (192.168.1.77)
[root@dbrg-2 ~]# finger
Login Name Tty Idle Login Time Office Office Phone
root root pts/1 Jul 29 17:57 (192.168.1.77)
[root@dbrg-2 ~]# who am i
root pts/1 Jul 29 17:57 (192.168.1.77)
[root@dbrg-2 ~]# whoami
root
[root@dbrg-2 ~]# ac -p
root 120.80
total 120.80
[root@dbrg-2 ~]# ac -d
Jul 1 total 10.04
Jul 2 total 4.73
Jul 3 total 1.31
Jul 6 total 5.58
Jul 7 total 8.13
Jul 8 total 7.48
Jul 9 total 14.94
Jul 10 total 8.79
Jul 13 total 8.30
Jul 14 total 9.22
Jul 15 total 5.00
Jul 16 total 9.38
Jul 17 total 9.09
Jul 20 total 4.69
Jul 21 total 6.30
Jul 22 total 3.84
Jul 23 total 1.54
Jul 24 total 1.34
Jul 26 total 0.31
Jul 27 total 3.28
Jul 28 total 1.00
Today total 4.59
[root@dbrg-2 ~]# lastlog
Username Port From Latest
root pts/1 192.168.1.77 三 7月 29 17:57:03 +0800 2009
bin **Never logged in**
daemon **Never logged in**
adm **Never logged in**
lp **Never logged in**
sync **Never logged in**
shutdown **Never logged in**
halt **Never logged in**
mail **Never logged in**
news **Never logged in**
uucp **Never logged in**
operator **Never logged in**
games **Never logged in**
gopher **Never logged in**
ftp **Never logged in**
nobody **Never logged in**
dbus **Never logged in**
vcsa **Never logged in**
rpm **Never logged in**
haldaemon **Never logged in**
netdump **Never logged in**
nscd **Never logged in**
sshd **Never logged in**
rpc **Never logged in**
mailnull **Never logged in**
smmsp **Never logged in**
rpcuser **Never logged in**
pcap **Never logged in**
xfs **Never logged in**
ntp **Never logged in**
pegasus **Never logged in**
htt **Never logged in**
named **Never logged in**
[root@dbrg-2 ~]# last
root pts/1 192.168.1.77 Wed Jul 29 17:57 still logged in
root pts/1 192.168.1.77 Wed Jul 29 17:16 - 17:47 (00:31)
root pts/1 192.168.1.77 Wed Jul 29 17:07 - 17:12 (00:04)
root pts/1 192.168.1.77 Wed Jul 29 13:21 - 13:39 (00:18)相关阅读:
体验AspNet MVC Preview5(1)-探索ViewEngine的原理并比较新老版本差异
html中select语句读取mysql表中
探究 SQL Server 的触发器:第二部分
标记语言——再谈清单
简洁的语义化的HTML代码编写5个原则
常见php页面漏洞分析及相关问题解决
PHP的博客ping服务代码
JavaScript Chart 插件整理
Oracle数据库不同备份方式的恢复特性
关于DIV+CSS和XHTML+CSS的理解
SecureCRT中文乱码和全屏无法显示菜单的解决办法
ASP.NET 2.0 URL映射技巧
document.all与getElementById、getElementsByName、getElementsByTagName用法区别-document.all
Windows Server 2008:活动目录权限管理服务
查看linux系统有哪些登陆用户,Linux
linux查看系统登录用户
Last login: Wed Jul 29 17:16:10 2009 from 192.168.1.77
[root@dbrg-2 ~]# users
root
[root@dbrg-2 ~]# w
17:57:30 up 93 days, 8:48, 1 user, load average: 0.69, 0.85, 0.62
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/1 192.168.1.77 17:57 0.00s 0.00s 0.00s w
[root@dbrg-2 ~]# who
root pts/1 Jul 29 17:57 (192.168.1.77)
[root@dbrg-2 ~]# finger
Login Name Tty Idle Login Time Office Office Phone
root root pts/1 Jul 29 17:57 (192.168.1.77)
[root@dbrg-2 ~]# who am i
root pts/1 Jul 29 17:57 (192.168.1.77)
[root@dbrg-2 ~]# whoami
root
[root@dbrg-2 ~]# ac -p
root 120.80
total 120.80
[root@dbrg-2 ~]# ac -d
Jul 1 total 10.04
Jul 2 total 4.73
Jul 3 total 1.31
Jul 6 total 5.58
Jul 7 total 8.13
Jul 8 total 7.48
Jul 9 total 14.94
Jul 10 total 8.79
Jul 13 total 8.30
Jul 14 total 9.22
Jul 15 total 5.00
Jul 16 total 9.38
Jul 17 total 9.09
Jul 20 total 4.69
Jul 21 total 6.30
Jul 22 total 3.84
Jul 23 total 1.54
Jul 24 total 1.34
Jul 26 total 0.31
Jul 27 total 3.28
Jul 28 total 1.00
Today total 4.59
[root@dbrg-2 ~]# lastlog
Username Port From Latest
root pts/1 192.168.1.77 三 7月 29 17:57:03 +0800 2009
bin **Never logged in**
daemon **Never logged in**
adm **Never logged in**
lp **Never logged in**
sync **Never logged in**
shutdown **Never logged in**
halt **Never logged in**
mail **Never logged in**
news **Never logged in**
uucp **Never logged in**
operator **Never logged in**
games **Never logged in**
gopher **Never logged in**
ftp **Never logged in**
nobody **Never logged in**
dbus **Never logged in**
vcsa **Never logged in**
rpm **Never logged in**
haldaemon **Never logged in**
netdump **Never logged in**
nscd **Never logged in**
sshd **Never logged in**
rpc **Never logged in**
mailnull **Never logged in**
smmsp **Never logged in**
rpcuser **Never logged in**
pcap **Never logged in**
xfs **Never logged in**
ntp **Never logged in**
pegasus **Never logged in**
htt **Never logged in**
named **Never logged in**
[root@dbrg-2 ~]# last
root pts/1 192.168.1.77 Wed Jul 29 17:57 still logged in
root pts/1 192.168.1.77 Wed Jul 29 17:16 - 17:47 (00:31)
root pts/1 192.168.1.77 Wed Jul 29 17:07 - 17:12 (00:04)
root pts/1 192.168.1.77 Wed Jul 29 13:21 - 13:39 (00:18)相关阅读:
体验AspNet MVC Preview5(1)-探索ViewEngine的原理并比较新老版本差异
html中select语句读取mysql表中
探究 SQL Server 的触发器:第二部分
标记语言——再谈清单
简洁的语义化的HTML代码编写5个原则
常见php页面漏洞分析及相关问题解决
PHP的博客ping服务代码
JavaScript Chart 插件整理
Oracle数据库不同备份方式的恢复特性
关于DIV+CSS和XHTML+CSS的理解
SecureCRT中文乱码和全屏无法显示菜单的解决办法
ASP.NET 2.0 URL映射技巧
document.all与getElementById、getElementsByName、getElementsByTagName用法区别-document.all
Windows Server 2008:活动目录权限管理服务