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

  • Redis install steps on FreeBSD

      Install redis FreeBSD port collection: $ cd /usr/ports/databases/redis/ && make install clean # or with portmaster $ portmaster databases/redis   ===>  CONFIGURATION NOTE:   To setup “redis” you need...
  • Some useful ‘find’ commands

    The ‘find’ command is quite useful as it helps to identify files with specific permissions, users,groups, size, etc.  Also, it is quite helpful to as it allows to process its results...
  • 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...
  • A Basic Overview of the Vim Text Editor

    Many articles in our Webair Community advise editing configuration files. We usually recommend using your preferred text editor. I personally prefer vim. Vim, or its older sibling vi, are installed...