FreeBSD Security

Using Top [ $top ]

What is Top?

Top provides a live display of information on the CPU processes. Top gets updated periodically as it provides an output CPU level percentage, Memory size, Swap Info, Load Averages, and more.

last pid: 7771; load averages: 0.15, 0.06, 0.02 up 241+09:40:08 17:52:09
196 processes: 1 running, 195 sleeping
CPU: 1.2% user, 0.0% nice, 0.3% system, 0.0% interrupt, 98.5% idle
Mem: 1470M Active, 5083M Inact, 907M Wired, 103M Cache, 866M Buf, 348M Free
Swap: 4096M Total, 70M Used, 4026M Free, 1% Inuse

Load Averages:
load averages: 0.15, 0.06, 0.02
By using top, you can recognized load average as a useful tool. The benefits of understanding this can give a good understanding of how fast or slow your system can be running. The load runs to a range of 1 minute, 5 minute and 15 minutes as explained above. If in any case your load average is higher than 1 please contact Webair Tech Support for assistance. You may need to add more CPU’s, or a faster CPU.

What can cause Load Average to increase?
Check this link out for more details:
https://www.webair.com/community/can-check-server-hacked/

Processes:
196 processes: 1 running, 195 sleeping
This can view the total of processes are running or either sleeping depending on their current state.

CPU:
CPU: 1.2% user, 0.0% nice, 0.3% system, 0.0% interrupt, 98.5% idle
The CPU can provide you with a percentage on user, nice, system, interrupt, and idle. When first looking into top and reading through the CPU line, you can determine what is using your CPU.

Memory:
Mem: 1470M Active, 5083M Inact, 907M Wired, 103M Cache, 866M Buf, 348M Free
Memory can be very useful and can monitored if you plan to upgrade your RAM or want to be careful about how much memory you are using. The more the memory is being used, there will be complications into managing your website, or websites. The line describes the memory usage.

Swap:
Swap: 4096M Total, 70M Used, 4026M Free, 1% Inuse
Swap is can be determined once an actual physical memory is being used. If your system on your server requires more memory but your RAM is full, inactive pages of memory are moved to the swap space.
To find out the percentage of how many swap is being used, type the command below:
swapinfo

Related Articles

  • Users Logged Into Server

    This article explains on how to identify those who you do not know that are on your server. This can definitely eliminate the curiosity that people can have when taking...
  • Password Strengths

    Today, everyone creates a password for a variety of services but in our growing digital age it’s imperative that your passwords be created strongly. Your passwords will act as your first...
  • What is an Account Passphrase?

      Webair offers an extra layer of security to our clients when calling in regarding support called an Account Passphrase. This will be asked when calling into our phone support...
  • SSH: Whitelist IPs for Your Server

    If you wish to whitelist certain IP’s for your server for any reason, you can easily go into your Webair Ezpanel for this. When whitelisting an IP, please provide the specific...