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.
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.
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 thantop
. 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 founddu
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.
You have to install htop first, plenty tutorial in google
TUN/TAP devices are commonly used for VPN software (such as OpenVPN).
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'ShamelessYummy'
Tried running
apt-get update
first?It worked thanks. One thing I noticed after installing
apt-get update
is that before running this commandtop
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 betweentop
andhtop
?Please take a look at the following - http://www.linuxatemyram.com/