Saturday, 12 December 2015

Server uptime command in Linux

[root@stelar_test ~]# uptime
 13:37:01 up 15 days, 16:47,  1 user,  load average: 0.11, 0.05, 0.01

 The uptime command gives a one line display of the following information.


-The current time (13:37:01)
-How long the system has been running (up 15 days)
-How many users are currently logged on (1 user)
-The system load averages for the past 1, 5, and 15 minutes (0.11, 0.05, 0.01)

This is the same information contained in the header line displayed by the w and top commands:

[root@stelar_test ~]# w
 13:37:05 up 15 days, 16:47,  1 user,  load average: 0.10, 0.05, 0.01
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/0    192.168.201.94   11:41    0.00s  0.05s  0.00s w

[root@stelar_test ~]# top
top - 13:37:51 up 15 days, 16:47,  1 user,  load average: 0.05, 0.04, 0.00
Tasks: 208 total,   1 running, 207 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.5%us,  0.4%sy,  0.0%ni, 98.0%id,  1.1%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:   4791876k total,  4635552k used,   156324k free,    81896k buffers
Swap:  8388600k total,    57012k used,  8331588k free,  3932264k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
26884 root      20   0 15084 1188  832 R  2.0  0.0   0:00.01 top
    1 root      20   0 19400  788  580 S  0.0  0.0   0:08.90 init
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      RT   0     0    0    0 S  0.0  0.0   0:00.02 migration/0
    4 root      20   0     0    0    0 S  0.0  0.0   0:00.89 ksoftirqd/0
    5 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0
    6 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
    7 root      RT   0     0    0    0 S  0.0  0.0   0:00.03 migration/1
    8 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/1
    9 root      20   0     0    0    0 S  0.0  0.0   0:02.85 ksoftirqd/1
   10 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/1
   11 root      20   0     0    0    0 S  0.0  0.0   0:02.38 events/0
   12 root      20   0     0    0    0 S  0.0  0.0   7:39.35 events/1
   13 root      20   0     0    0    0 S  0.0  0.0   0:00.00 cpuset
   14 root      20   0     0    0    0 S  0.0  0.0   0:00.00 khelper

1 comment:

  1. Jadwal Daftar Sabung Ayam SV388 15 Februari 2019 di Situs Judi Sabung Ayam Online Melalui Agen Resmi Taruhan Sabung Ayam Live Asli Thailand.

    Jumat, Banten 15 Februari 2019 – Pada Hari Tersebut Akan Di Laksanakan Berbagai Pertandingan Sabung Ayam Secara Live di Arena Sabung Ayam Thailand.

    Untuk Info Lebih Lanjut Bisa Hub kami Di :
    wechat : bolavita
    line : cs_bolavita
    whatsapp : +628122222995
    BBM: BOLAVITA

    ReplyDelete