Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


How to check disk health and RAM usage etc.
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

How to check disk health and RAM usage etc.

aliletalilet Member

Hi,

I just got a VPS based on Debian 7. This is the first time I am using Linux. What are some commands to check RAM, CPU, HD usage. I know about "top", are there any other commands that will tell me disk health, current CPU and RAM performance etc.?

Like some commonly used commands that will come in handy to monitor performance.

By the way in my control panel there is a setting called TUN/TAP which can be turned ON or OFF. Right now it's turned ON. What is this and what difference does it make when turned ON or OFF?

Comments

  • If you are looking for remote monitoring, @vfuse's nixstats all the way.

    htop looks better than top. There are a bunch of other commands (du for disk usage, free for RAM usage), but top/htop will give you a consolidated view.

    Curious about TUN/TAP (haven't used it myself)

    Thanked by 1vfuse
  • @ramesh_vish said:
    If you are looking for remote monitoring, @vfuse's nixstats all the way.

    htop looks better than top. There are a bunch of other commands (du for disk usage, free for RAM usage), but top/htop will give you a consolidated view.

    Curious about TUN/TAP (haven't used it myself)

    htop not found
    du gives me result "12", I don't know what that means.

  • You might like sites like this:
    http://www.thegeekstuff.com/2010/11/50-linux-commands

    A google search for "most important linux commands" can be helpful, too.

  • @alilet said:

    @ramesh_vish said:
    If you are looking for remote monitoring, @vfuse's nixstats all the way.

    htop looks better than top. There are a bunch of other commands (du for disk usage, free for RAM usage), but top/htop will give you a consolidated view.

    Curious about TUN/TAP (haven't used it myself)

    htop not found
    du gives me result "12", I don't know what that means.

    You have to install htop first, plenty tutorial in google

  • TUN/TAP devices are commonly used for VPN software (such as OpenVPN).

    Thanked by 1alilet
  • @alilet said:

    @ramesh_vish said:
    If you are looking for remote monitoring, @vfuse's nixstats all the way.

    htop looks better than top. There are a bunch of other commands (du for disk usage, free for RAM usage), but top/htop will give you a consolidated view.

    Curious about TUN/TAP (haven't used it myself)

    htop not found
    du gives me result "12", I don't know what that means.

    htop needs to be installed apt-get install htop

    du is for disk usage. I should have probably suggested df which gives you the disk free space. df -h will give you the total disk space, amount used and the free space.

  • @ramesh_vish said:

    @alilet said:

    @ramesh_vish said:
    If you are looking for remote monitoring, @vfuse's nixstats all the way.

    htop looks better than top. There are a bunch of other commands (du for disk usage, free for RAM usage), but top/htop will give you a consolidated view.

    Curious about TUN/TAP (haven't used it myself)

    htop not found
    du gives me result "12", I don't know what that means.

    htop needs to be installed apt-get install htop

    du is for disk usage. I should have probably suggested df which gives you the disk free space. df -h will give you the total disk space, amount used and the free space.

    tried to install htop but it says Unable to locate htop

    root@ShamelessYummy-VM:~# apt-get install htop
    Reading package lists... Done
    Building dependency tree... Done
    E: Unable to locate package htop
    root@ShamelessYummy-VM:~# htop
    -bash: htop: command not found
    root@ShamelessYummy-VM:~#

  • NekkiNekki Veteran

    'ShamelessYummy'

  • TomTom Member

    @alilet said:
    tried to install htop but it says Unable to locate htop

    root@ShamelessYummy-VM:~# apt-get install htop
    Reading package lists... Done
    Building dependency tree... Done
    E: Unable to locate package htop
    root@ShamelessYummy-VM:~# htop
    -bash: htop: command not found
    root@ShamelessYummy-VM:~#

    Tried running apt-get update first?

    Thanked by 1Aidan
  • @Tom said:

    @alilet said:
    tried to install htop but it says Unable to locate htop

    root@ShamelessYummy-VM:~# apt-get install htop
    Reading package lists... Done
    Building dependency tree... Done
    E: Unable to locate package htop
    root@ShamelessYummy-VM:~# htop
    -bash: htop: command not found
    root@ShamelessYummy-VM:~#

    Tried running apt-get update first?

    It worked thanks. One thing I noticed after installing apt-get update is that before running this command top was showing around 34572 KiB Mem used but after running it is showing 201172 KiB Mem used. So now it is taking more memory.

    Secondly now htop is showing memory 13/512MB. Why so much difference between top and htop?

  • alilet said: So now it is taking more memory.

    Please take a look at the following - http://www.linuxatemyram.com/

    Thanked by 1alilet
Sign In or Register to comment.