HOME » Documents » KUSANAGI 9 Commands » status

status

status

Displays the KUSANAGI profile status.

Example

kusanagi status kusanagi_html

Options

Profile Name

[profile]

Default: The current directory profile

If "profile" is specified, the specified profile will be displayed.
However, if the current directory is not a profile, the middleware status alone will be displayed.

Output

# kusanagi status                                                                                                                         
Profile: example
FQDN: example.com
Type: wp
KUSANAGI Version 9.0.0-1.el8
[VM Image Name]

*** (active) nginx : nginx119 ***
* nginx.service - The NGINX HTTP and reverse proxy server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2020-09-08 09:20:48 JST; 20min ago

*** (inactive) httpd : httpd ***
* httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

*** (active) php : php74 ***
* php-fpm.service - The PHP FastCGI Process Manager
   Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2020-09-08 09:21:29 JST; 19min ago

*** (active) mariadb : mariadb10.5 ***
* mariadb.service - MariaDB 10.5.5 database server
   Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2020-09-08 09:23:14 JST; 18min ago

*** (inactive) psql :  ***


*** (inactive) pgpool-II :  ***


*** python ***
Python 3.9.11

*** ruby ***
ruby is not installed.

*** Cache status ***
fcache off

*** WAF ***
off

*** SELinux ***
off

status completed.

Display Contents

Profile

Profile name.

FQDN

Profile FQDN.

Type

Profile type.
One of "wp", "lamp", "fcgi", "mt", or "drupal", must be displayed.

KUSANGI Version

Current KUSANAGI version number.

VM Image Name

A unique alphanumeric string specific to your cloud provider.

*** nginx ***

NGINX status. When running, "active (running)" is displayed in the "Active" row.
For "httpd-behind-nginx", the service name will display as "nginx@with_httpd.serivce".

*** httpd ***

Apache httpd status. When running, "active (running)" is displayed in the "Active" row.
For "httpd-behind-nginx", the service name will display as "nginx@with_httpd.serivce".

*** php ***

PHP status. When running, "active (running)" is displayed in the "Active" row.

*** mariadb ***

MariaDB status. When running, "active (running)" is displayed in the "Active" row.

*** psql ***

PostgreSQL status. When running, "active (running)" is displayed in the "Active" row.

*** pgpool-II ***

PostgreSQL status. When running, "active (running)" is displayed in the "Active" row.

*** python ***

python status. The version in use will be displayed.

*** ruby *** (discontinued as of 9.4.14)

ruby status. The version in use will be displayed.

*** Cache status ***

Displays whether "fcache" is on or off.
Displays whether "bcache" is on or off.
The "bcache" status will not be displayed if the profile type is other than WordPress or if the WordPress initial configuration has not been done.

*** WAF ***

Displays whether WAF is on or off.

*** SELinux ***

Displays whether SELinux is on or off.