nginx_stage nginx_clean

This command will kill all per-user NGINX (PUN) processes that do not have active connections.

sudo nginx_stage nginx_clean [OPTIONS]

General Options

-f, --force

Force clean all of the per-user NGINX processes including ones with active connections.

-N, --skip-nginx

Skip the execution of the per-user NGINX process.

Examples

To kill all PUN processes with no active connections:

sudo nginx_stage nginx_clean

This also displays the users who had their PUN processes killed.

To kill all PUN processes irrespective of the number of active connections:

sudo nginx_stage nginx_clean --force

To only display the users with PUN processes that have no active connections:

sudo nginx_stage nginx_clean --skip-nginx

This will not kill the PUN processes.