/go/usertop shows which of your domains received the most requests recently. It: Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
# Busiest domains right now (and automatic load protection)
/go/usertop
# Busiest domains over a longer period, with no actions
/go/usertop history
Arguments
| Argument | Required | Notes |
|---|---|---|
history |
No | Counts the last 10,000 log lines and stops. No load check and no actions. |
Any other first argument is ignored and behaves like no argument, including the load actions.
Examples
# Recent busiest domains, plus automatic actions if the server is overloaded
/go/usertop
# Longer view, safe to run any time
/go/usertop history
# Work out the load percentage by hand (first number divided by the CPU count)
cat /proc/loadavg
nproc
# See when Under Attack Mode was switched on automatically
tail /var/log/go/underattack.log
Output
| Mode | Lines counted | What you see |
|---|---|---|
| Default | Last 100 | Up to 10 lines: <count> <domain>, then messages from any action. |
history |
Last 10,000 | Up to 10 lines: <count> <domain>. |
41 example.com
27 shop.example.net
9 blog.example.org
The sample above is illustrative. The leading www. is removed, so www.example.com and example.com are counted together.
Other messages:
| Message | Meaning |
|---|---|
Instance (<value>) already running. |
A backup is running. The command stopped with exit code 1. |
Turn On Under Attack Mode: <domain> |
The load was 100% or more and the command switched protection on for that domain. |
See the full reference at /go/usertop and the GoAdmio command index.
GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.
