Shell uptime and W commands

Source: Internet
Author: User

Check whether the load commands of the machine include top, uptime, and W.

Uptime command

Admin@v011143.sqa.cm4 ~ $ Uptime 11:14:02 up 318 days, 1 user, load average: 0.78, 0.52, 0.58

11:14:02 current time

318 days from the last reboot to the current Boot time

1 user has a user logging on to the machine

Load average: average load in the last 1 minute, 5 minutes, and 15 minutes

W command, which is greater than the uptime command to view the login information of other users and the commands being executed

[Admin @ v035114 ~] $ W 12:50:06 up 359 days, 2 users, load average: 0.00, 0.00, 0.00 user tty from login @ idle jcpu pcpu whatadmin pts/6 10.13.43.86 wed12 1: 36 m 0.00 s 0.00 s SSH admin@v011143.sqa.cm4.tbsite.netadmin pts/7 10.13.43.86 tue14 0.00 s 0.00 s 0.00 S W

Tty is an old abbreviation of teletype. Teletypes, or teletypewriters. Terminal

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.