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

  • Get CPU Information

    You can use the dmesg utility to display the contents of the system message buffer when FreeBSD comes up. For accuracy I recommend querying /var/run/dmesg.boot file. Usually a snapshot of...
  • Checking Hacked Server

    Categories of server:   1.1 Webair managed client server: Webair will perform a variety of custom configuration, maintenance, and optimization your server for maximum performance and reliability. A list of...
  • 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...
  • WordPress Security Tips

    Introduction While WordPress is a great tool to use to manage and update your website, it’s also a frequent target for hackers or other users with malicious intent- this makes...