• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

4 different commands to check the load average in linux

March 11, 2013 by Sharad Chhetri 1 Comment

In this tutorial we will learn,4 different commands to check the load average in linux.Loadaverage is the system load,which is a measure of the amount of computational work that a computer system performs.When you run the command in output,you will see one, five, and fifteen minute moving load average of the system.The practical of load average command is done in Red Hat,CentOS,Ubuntu and Debian system.
The below given command is common in all above given linux distros.

Command 1: Run the command, “cat /proc/loadavg” .

root@localhost:~]# cat /proc/loadavg
0.18 0.28 0.30 2/527 4237
root@localhost:~]#

Command 2 : Run the command, “w” .

[root@localhost:~]# w
09:07:09 up 8:18, 2 users, load average: 1.00, 1.00, 1.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root tty1 – 00:52 10:52 0.13s 0.13s -bash
root pts/0 192.168.122.1 01:01 0.00s 0.34s 0.00s w
[root@localhost:~]#

Command 3 : Run the command, “uptime” .

[root@localhost ~]# uptime
09:08:57 up 8:20, 2 users, load average: 1.00, 1.00, 1.00
[root@localhost ~]#

Command 4: Run the command, “top” . See the first line of top command’s output

[root@localhost ~]# top
top – 09:10:32 up 8:21, 2 users, load average: 1.00, 1.00, 1.00
Tasks: 93 total, 2 running, 91 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3%us, 0.3%sy, 0.0%ni, 99.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1030908k total, 934772k used, 96136k free, 76852k buffers
Swap: 2064376k total, 0k used, 2064376k free, 711632k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2232 root 20 0 2672 1080 856 R 0.7 0.1 0:00.10 top
1377 nrpe 20 0 5972 1076 688 S 0.3 0.1 0:03.56 nrpe
1649 root 20 0 12476 3460 2708 S 0.3 0.3 0:03.28 sshd
1 root 20 0 2872 1372 1168 S 0.0 0.1 0:00.73 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. How to see system load average in terminal with graphical representation
  2. Can’t load ‘/usr/local/lib64/perl5/auto/nginx/nginx.so’
  3. error: Could not load host key
  4. sshd error could not load host key
  5. Set group password,its use and check which group after newgrp command in linux
  6. 6 df Command Examples To Check Mounted Filesystem On Linux
  7. 4 Different commands to find system uptime in linux
  8. list files and directories by 4 commands in linux
  9. 4 Linux commands to get number of lines in file
  10. Linux Basic Commands With Examples For Every Beginner

Filed Under: Linux Tagged With: top command

Reader Interactions

Comments

  1. anjali vaman bhairu says

    January 19, 2018 at 9:09 am

    thanks for the relevant info…….

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Linux Command

What is Linux Internal And External Command

Linux Basic Commands With Examples For Every Beginner

tr command to convert lines to space , tab and vertical tab

smbpasswd command not found on CentOS 7 and RHEL 7

Solution : semanage command not found

Unix / Linux : How to print duplicate lines from file

More Posts from this Category

You Might Like These Articles!

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Install Latest Git package in Ubuntu Operating System

How To Always Install Latest Git Package In Ubuntu Operating System

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

libfuse

dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu

Failed to open/create the internal network

VirtualBox Error: Failed to open/create the internal network

Always Useful Tips And Tricks

How to increase Password Expire date without resetting the password

safest method to remove softlink in linux

How to see system load average in terminal with graphical representation

postgres database backup script using database user password inside

How to use grep command to get fixed pattern or exact keyword

How to forcefully send mail from mailq in sendmail MTA

Change default editor of crontab in Ubuntu

Explore 90+ Article On "Linux Tips And Tricks"

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy