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

  • 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...
  • How to Create a Self-Signed SSL Certificate

    An SSL certificate is ideal for securing an administration interface, a member’s-only space, an intranet, webmail. etc. It is used is to keep sensitive information sent across the Internet encrypted...
  • Identify the process that is using some specific port

    Sometimes, you may encounter a situation where you see some ports being used by some service, but you cannot exactly determine which application/service is using it. This article talks about how...
  • Identifying malicious mail scripts on FreeBSD

    This article will help you identify an possible spam scripts that may be causing unwanted outbound mail which could cause your servers ip address to be blacklisted.There are many different...