Simple ways to keep tabs on your piratebox

For those not versed in Linux or even those versed in another flavor the following work well to see what’s going on with your piratebox.

To find the number of currently connected users

iw dev wlan0 station dump | grep -c Station

To get server uptime and average processor loads over the last 1, 5 and 15 minutes


To get a more in depth real time picture of processor and memory usage


This opens a full screen real time automatically updating processor usage by job monitor.   Check out /opt/sbin/lighttpd and python /opt/piratebox/droopy.   On the MR3020 with only 1 user the lighttpd will suck up 15% and the droopy 26 to 40%.   This gives you an idea how many users it can handle.   Hit Ctrl-C to exit the monitor.

iw/grep and uptime can be called by a script that runs periodically with cron and dumps into a usage log to allow you to gauge whether you need to upgrade to a more powerful router while still keeping true to the no logging concept of piratebox (Note the raw  “iw dev wlan0 station dump” output will display unique MAC address information for any user and should not be logged).


Fatal error: Uncaught Error: Call to undefined function get_field() in /homepages/26/d179873914/htdocs/sr/wp-content/themes/business-lite_custom/core/actions/global-actions.php:101 Stack trace: #0 /homepages/26/d179873914/htdocs/sr/wp-includes/class-wp-hook.php(292): business_loop_content('') #1 /homepages/26/d179873914/htdocs/sr/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #2 /homepages/26/d179873914/htdocs/sr/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /homepages/26/d179873914/htdocs/sr/wp-content/themes/business-lite_custom/core/core-hooks.php(159): do_action('business_loop') #4 /homepages/26/d179873914/htdocs/sr/wp-content/themes/business-lite_custom/core/actions/post-actions.php(64): business_loop() #5 /homepages/26/d179873914/htdocs/sr/wp-includes/class-wp-hook.php(292): business_post_content('') #6 /homepages/26/d179873914/htdocs/sr/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #7 /homepages/26/d179873914/htdocs/sr/wp-includes/plugin.php(484): WP_Hook-> in /homepages/26/d179873914/htdocs/sr/wp-content/themes/business-lite_custom/core/actions/global-actions.php on line 101