Daily Command : แอบดูคน logon ด้วย w
mrgill | January 26, 2010 | 201 Views
คิดไว้นานแล้วครับว่าจะทำหมวดพวก Daily tips และ Daily command ซึ่ง Daily tips เปิดตัวไปก่อนหน้าแล้ววันนี้มาถึงคิวของ Daily command กันบ้าง วันนี้ขอเสนอคำสั่ง w ครับ สั้นๆ ง่ายๆ เอาไว้ตรวจสอบสถานะของเครื่องและการ logon ของ user
[mrgill@Webserver ~]$ w 21:40:35 up 45 days, 15:33, 2 users, load average: 0.05, 0.03, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT mrgill pts/1 ppp-124-120-45-1 21:37 0.00s 0.03s 0.00s w root :0 - 18Dec09 ?xdm? 2:22m 0.20s /usr/bin/gnome-session
รายงานทั้ง
- วันเวลา : 21:40:35
- uptime : up 45 days, 15:33
- จำนวน user ที่ logon : 2 users
- รวมทั้ง load ของ cpu ด้วย : load average: 0.05, 0.03, 0.00
Comments
Category : Daily command,Linux,Server


Leave a Comment
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
TrackBack URL | RSS feed for comments on this post.