{"id":6005,"date":"2021-08-26T01:05:28","date_gmt":"2021-08-25T16:05:28","guid":{"rendered":"https:\/\/www.wexal.jp\/document-3-0-0\/pst-command\/"},"modified":"2025-04-24T15:23:14","modified_gmt":"2025-04-24T06:23:14","slug":"pst-command","status":"publish","type":"page","link":"https:\/\/www.wexal.jp\/en\/document-3-0-0\/pst-command\/","title":{"rendered":"PST Commands (3.2.12)"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Overview\"><\/span>Overview<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>PST Command is a CLI (Command Line Interface) to control the function of WEXAL\u00ae Page Speed Technology (hereinafter referred to as \"PST\"). The command is \"\/usr\/bin\/pst\".<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Users\n<ul class=\"wp-block-list\">\n<li>PST Commands can be executed by the root user or by users belonging to the \"www\" group. (Kusanagi users belong to the \u201cwww\u201d group by default.)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Profiles\n<ul class=\"wp-block-list\">\n<li>PST profiles can be specified by each subcommand. Note, if you want to specify a profile, make sure to specify it at the end of the command line. If omitted, each sub-command will be executed for the profile in the current directory. When the current directory is not a valid profile, an error will occur.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Notations\n<ul class=\"wp-block-list\">\n<li><strong>{ a | b }<\/strong><br>You need to specify either \"a\" or \"b\". This cannot be omitted.<\/li>\n\n\n\n<li><strong>[ a ]<\/strong><br>You can specify \"a\". If omitted, the command will be executed by default. <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"-V_-version\"><\/span>-V | --version<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Use this command to check which version of PST is running.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst -V\npst --version<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>None<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Results\"><\/span><strong>Results<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;kusanagi@kusanagi8 ~]$ pst -V<br>PST Version : 3.0.0<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"-h_-help\"><\/span>-h | --help<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Displays the usage of the \"pst\" command and each subcommand.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-2\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst -h\npst init -help\npst opt all -h<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-2\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>None<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"-dryrun_subcommand\"><\/span>[--dryrun] {subcommand}<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Allows you to check the results of executing a PST subcommand without actually executing the subcommand. Note, the \"--dryrun\" option must be specified immediately before the subcommand.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-3\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst --dryrun init<br>pst --dryrun opt all --path \/wp-content<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-3\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Varies according to each PST subcommand.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"init_option_profile\"><\/span>init [option] [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Use this command to setup the initial PST configuration for KUSANAGI profile. This will deploy the PST configuration files, etc. This command is also executed when upgrading PST.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-4\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst init kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-4\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>[<strong>--http]<\/strong><\/td><td>Performs the initial configuration for the \"http\" profile.<br>Default is the \"ssl\" profile.<\/td><\/tr><tr><td><strong>[--keepdb]<\/strong><\/td><td>When executing \"pst init\", PST will not auto-delete the DB that stores optimization strategies and resources from analyzing the website.<br>The default setting is to auto-delete the DB because the DB schema may change during the upgrade.<\/td><\/tr><tr><td><strong>[--reverseproxy]<\/strong><\/td><td>Specifies the reverse proxy URL (original) after \"--reverseproxy\" to initialize as a reverse proxy profile.<br>The default setting is not to initialize a reverse proxy.<\/td><\/tr><tr><td><strong>[--origin]<\/strong><\/td><td>Specifies the original FQDN after \"--origin\" when initializing the profile as a reverse proxy profile. Use this option if the reverse proxy FQDN and the original FQDN are different.<br>Default is the same as the reverse proxy FQDN.<\/td><\/tr><tr><td><strong>[--websocket]<\/strong><\/td><td>Enables WebSocket communication in the reverse proxy.<br>The default setting is \"disabled\".<\/td><\/tr><tr><td><strong>[--nano]<\/strong><\/td><td>Enables \"nano\".<br>The default setting is \"disabled\".<\/td><\/tr><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"config_init_profile\"><\/span>config init [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Initializes the PST configuration file for the specified profile.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-5\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst config init kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-5\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"config_commit_profile\"><\/span>config commit [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Applies the PST configuration file to the production environment of the specified profile.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-6\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst config commit&nbsp;--path pst.stg.config.yaml kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-6\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>--path<\/strong><\/td><td>Specifies the PST configuration file path after \"--path\" to be applied in the production environment.<\/td><\/tr><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"config_crawl_option_profile\"><\/span>config crawl [option] [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Makes a request to pre-generate optimization strategies for a profile.<br>The Optimization Strategy Service will process sequentially the generation of optimization strategies. It may take time depending on the number of web pages to be analyzed. You can check the analysis progress with the status command.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-7\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst config crawl --url https:\/\/kusanagi.example.com --depth 2 kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-7\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>--url<\/strong><\/td><td>Specifies the top URL of the website after \"--url\" to be analyzed.<\/td><\/tr><tr><td><strong>[--configname]<\/strong><\/td><td>Generates a PST configuration file and optimization strategy with the specified name. Please specify the name after \"--configname\".<br>The default name is unspecified (production environment).<\/td><\/tr><tr><td><strong>[--depth]<\/strong><\/td><td>When analyzing a website, specifies the number of link levels after \"--depth\" to follow from the top URL.<br>The default level is 1, and only the top page will be analyzed.<\/td><\/tr><tr><td><strong>[--warmup]<\/strong><\/td><td>When analyzing a website, generates an optimization strategy regardless of the validity period.<br>The default setting is not to generate if the optimization strategy is within the validity period.<\/td><\/tr><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"config_cluster_option_profile\"><\/span>config cluster [option] [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Generates a static optimization strategy as a PST configuration file based on the optimization strategy already generated.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-8\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst config cluster --url https:\/\/kusanagi.example.com kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-8\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>--url<\/strong><\/td><td>Specifies the top URL of the website after \"--url\" to be analyzed.<\/td><\/tr><tr><td><strong>[--configname]<\/strong><\/td><td>Generates a PST configuration file and optimization strategy with the specified name. Please specify the name after \"--configname\".<br>The default name is unspecified (production environment).<\/td><\/tr><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"config_ai_-_option_profile\"><\/span>config ai -- [option] [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0);color:#ae0003\" class=\"has-inline-color\">Note, this config ai command is obsolete in PST 3.1.2. Use the config crawl and config cluster commands.<\/mark><\/p>\n\n\n\n<p>Pre-generates optimization strategies for a profile. Generates a static optimization strategy as a PST configuration file. This subcommand requires a \"--\" between options.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-9\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst config ai -- --depth 1 kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-9\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[--url]<\/strong><\/td><td>Specifies the top URL of the website after \"--url\" to be analyzed.<br>The default value is the top URL of the KUSANAGI profile.<\/td><\/tr><tr><td><strong>[--diagnosis]<\/strong><\/td><td>Outputs detailed analysis information.<br>The default setting is no output.<\/td><\/tr><tr><td><strong>[--benchmark]<\/strong><\/td><td>Displays the execution time for using Nautilus or Logbook.<br>The default setting is no display.<\/td><\/tr><tr><td><strong>[--configname]<\/strong><\/td><td>Generates a PST configuration file and optimization strategy with the specified name. Please specify the name after \"--configname\".<br>The default name is \"david\" for the PST configuration file and no specified name for the optimization strategy (production environment).<\/td><\/tr><tr><td><strong>[--depth<\/strong><\/td><td>When analyzing a website, specifies the number of link levels after \"--depth\" to follow from the top URL.<br>The default level is 2. Analyzes from the top page to the next linked page.<\/td><\/tr><tr><td><strong>[--list]<\/strong><\/td><td>Specifies the URL of websites after \"--list\" to be analyzed in a file. Lists one URL per line in a text file. Note, when \"--list\" is specified, \"--url\" will be disabled and depth will be automatically set to 1.<br>Default will follow \"--url\" and \"--depth\" respectively.<\/td><\/tr><tr><td><strong>[--no-redirect]<\/strong><\/td><td>This option disables the crawling of redirects. However, if there is no HTML to crawl as a result, \"config\" generation will result in an error.<br>The default setting is to crawl.<\/td><\/tr><tr><td><strong>[--voyage]<\/strong><\/td><td>When analyzing a website, doesn't use the browser cache, but always accesses the website to retrieve resources.<br>The default setting is to use a browser cache preferentially for analysis.<\/td><\/tr><tr><td><strong>[--voyage-on-error]<\/strong><\/td><td>When there is an error in the browser cache when analyzing a website, accesses the website and retrieves resources without using the cache.<br>The default setting is to use browser cache preferentially and analyze the website even if the cache has an error.<\/td><\/tr><tr><td><strong>[--voyage-on-redirect]<\/strong><\/td><td>When there is a redirect in the browser cache when analyzing a website, accesses the website and retrieves resources without using the cache.<br>The default setting is to use browser cache preferentially and analyze the website even when there is a redirect.<\/td><\/tr><tr><td><strong>[--timeout]<\/strong><\/td><td>Sets the timeout period in seconds after \"--timeout\" to retrieve web pages for analysis. If set at 0, this command will wait until there is a response from the web page.<br>The default setting is 30 seconds.<\/td><\/tr><tr><td><strong>[--no-cacheEnabled]<\/strong><\/td><td>When analyzing a website, disables the browser cache.<br>The default setting is \"enabled\".<\/td><\/tr><tr><td><strong>[--interceptRequest]<\/strong><\/td><td>When analyzing a website, does not retrieve anything other than documents and JavaScript\/Stylesheet.<br>The default setting is to retrieve all resources.<\/td><\/tr><tr><td><strong>[--no-ignoreAnalytics]<\/strong><\/td><td>When analyzing a website, allows requests to \"www.google-analytics.com\" for website analytics.<br>The default setting is to block requests to \"www.google-analytics.com\", so that access to the website is not counted by Google Analytics.<\/td><\/tr><tr><td><strong>[--ignoreExtensions]<\/strong><\/td><td>When analyzing a website, retrieves resources while ignoring extensions.<br>The default setting is to retrieve only \".js\" and \".css\" resources.<\/td><\/tr><tr><td><strong>[--useHttpcli]<\/strong><\/td><td>Uses \"httpcli\" instead of the standard \"puppeteer\" when analyzing. \"httpcli\" is less machine resource consuming and faster than \"puppeteer\", but it cannot retrieve LCP.<br>The default setting is to use \"puppeteer\".<\/td><\/tr><tr><td><strong>[--lua]<\/strong><\/td><td>Generates optimization strategies with the \"lua\" directive.<br>The default setting is the \"lua\" directive.<\/td><\/tr><tr><td><strong>[--wp]<\/strong><\/td><td>Generates optimization strategies with \"wp\" directive.<br>The default setting is the \"lua\" directive. When both \"--lua\" and \"--wp\", are specified, \"wp\" will generate optimization strategies.<\/td><\/tr><tr><td><strong>[--classify]<\/strong><\/td><td>Analyzes JavaScript. The results are saved in Logbook.<br>The default setting is not to analyze JavaScript.<\/td><\/tr><tr><td><strong>[--expire]<\/strong><\/td><td>When analyzing a website, generates optimization strategies if the current optimization strategy was generated before the specified time. Please specify the original time after \"--expire\". If 0 is specified, a new strategy will always be generated.<br>The default setting is to always generate.<\/td><\/tr><tr><td><strong>[--lighthouseLcp]<\/strong><\/td><td>Retrieves LCP by Lighthouse when analyzing websites.<br>The default setting is for \"puppeteer\" to retrieve LCP.<\/td><\/tr><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"initdb_profile\"><\/span>initdb [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Initializes the DB that stores optimization strategies and resources when analyzing a website.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-10\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst initdb kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-10\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"lighthouse_profile\"><\/span>lighthouse [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0);color:#ae0003\" class=\"has-inline-color\">Note, this lighthouse command is obsolete in PST 3.2.12.<\/mark><\/p>\n\n\n\n<p>Executes Lighthouse. The results of the execution are output to the profile directory, \"wexal\/userdir\/out\/lighthouse.html\".<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-11\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst lighthouse --url https:\/\/kusanagi.example.com\/ kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-11\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>--url<\/strong><\/td><td>Specifies the URL of the website after \"--url\" in which to execute Lighthouse.<\/td><\/tr><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"on_profile\"><\/span>on [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Enables PST.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-12\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst on kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-12\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"off_profile\"><\/span>off [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Disables PST.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-13\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst off kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-13\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"opt_all_option_profile\"><\/span>opt all [option] [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Executes resource optimization for all resources. This command directs the execution of WEXAL Resource Optimization Service (\"optimizer\"). When the Resource Optimization Service (\"optimizer\") has not started, execution will be suspended until the service has started.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-14\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst opt all --path \/wp-content\/uploads kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-14\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[--force]<\/strong><\/td><td>Executes resource optimization forcibly.<br>By default, if a resource-optimized file already exists and the resource has not changed, optimization will not be run again.<\/td><\/tr><tr><td><strong>[--priority]<\/strong><\/td><td>Executes resource optimization with a highest priority. Even if other resource optimizations are in progress, the resource optimization specified in this command will be given priority.<br>By default, resource optimization commands are processed in the order in which they are executed. Also, if real-time resource optimization by the profile monitoring process is running, it will be done after the priority series of optimizations is complete.<\/td><\/tr><tr><td><strong>[--path]<\/strong><\/td><td>Specifies the directory or file path after \"--path\" for resource optimization. Note, the absolute path from the DocumentRoot of the KUSANAGI profile must be set.<br>The default path is slash (\/). All files under the DocumentRoot (able to be optimized) are in scope.<br>An error will occurr if you set a directory or file that does not exist.<\/td><\/tr><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"opt_image_option_profile\"><\/span>opt image [option] [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Executes resource optimization for image resources. This command directs the execution of WEXAL Resource Optimization Service (\"optimizer\"). When the Resource Optimization Service (\"optimizer\") has not started, execution will be suspended until the service has started.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-15\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst opt image --path \/wp-content\/uploads kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-15\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[--force]<\/strong><\/td><td>Executes resource optimization forcibly.<br>By default, if a resource-optimized file already exists and the resource has not changed, optimization will not be run again.<\/td><\/tr><tr><td><strong>[--priority]<\/strong><\/td><td>Executes resource optimization with a highest priority. Even if other resource optimizations are in progress, the resource optimization specified in this command will be given priority.<br>By default, resource optimization commands are processed in the order in which they are executed. Also, if real-time resource optimization by the profile monitoring process is running, it will be done after the priority series of optimizations is complete.<\/td><\/tr><tr><td><strong>[--path]<\/strong><\/td><td>Specifies the directory or file path after \"--path\" for resource optimization. Note, the absolute path from the DocumentRoot of the KUSANAGI profile must be set.<br>The default path is slash (\/). All files under the DocumentRoot (able to be optimized) are in scope.<br>An error will occurr if you set a directory or file that does not exist.<\/td><\/tr><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"opt_js_option_profile\"><\/span>opt js [option] [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Executes resource optimization for script resources. This command directs the execution of WEXAL Resource Optimization Service (\"optimizer\"). When the Resource Optimization Service (\"optimizer\") has not started, execution will be suspended until the service has started.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-16\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst opt js --path \/wp-content\/uploads kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-16\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[--force]<\/strong><\/td><td>Executes resource optimization forcibly.<br>By default, if a resource-optimized file already exists and the resource has not changed, optimization will not be run again.<\/td><\/tr><tr><td><strong>[--priority]<\/strong><\/td><td>Executes resource optimization with a highest priority. Even if other resource optimizations are in progress, the resource optimization specified in this command will be given priority.<br>By default, resource optimization commands are processed in the order in which they are executed. Also, if real-time resource optimization by the profile monitoring process is running, it will be done after the priority series of optimizations is complete.<\/td><\/tr><tr><td><strong>[--path]<\/strong><\/td><td>Specifies the directory or file path after \"--path\" for resource optimization. Note, the absolute path from the DocumentRoot of the KUSANAGI profile must be set.<br>The default path is slash (\/). All files under the DocumentRoot (able to be optimized) are in scope.<br>An error will occurr if you set a directory or file that does not exist.<\/td><\/tr><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"opt_css_option_profile\"><\/span>opt css [option] [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Executes resource optimization for style sheet resources. This command directs the execution of WEXAL Resource Optimization Service (\"optimizer\"). When the Resource Optimization Service (\"optimizer\") has not started, execution will be suspended until the service has started.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-17\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst opt css --path \/wp-content\/uploads kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-17\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[--force]<\/strong><\/td><td>Executes resource optimization forcibly.<br>By default, if a resource-optimized file already exists and the resource has not changed, optimization will not be run again.<\/td><\/tr><tr><td><strong>[--priority]<\/strong><\/td><td>Executes resource optimization with a highest priority. Even if other resource optimizations are in progress, the resource optimization specified in this command will be given priority.<br>By default, resource optimization commands are processed in the order in which they are executed. Also, if real-time resource optimization by the profile monitoring process is running, it will be done after the priority series of optimizations is complete.<\/td><\/tr><tr><td><strong>[--path]<\/strong><\/td><td>Specifies the directory or file path after \"--path\" for resource optimization. Note, the absolute path from the DocumentRoot of the KUSANAGI profile must be set.<br>The default path is slash (\/). All files under the DocumentRoot (able to be optimized) are in scope.<br>An error will occurr if you set a directory or file that does not exist.<\/td><\/tr><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"passwd_list\"><\/span>passwd list<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Displays the users available for login to PST Manager.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-18\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst passwd list<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-18\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>None<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"passwd_add_option\"><\/span>passwd add [option]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Use this command to add users able to login to PST Manager.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-19\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst passwd add --user example_user --pass example_pass<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-19\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[--user]<\/strong><\/td><td>Specify a user name after \"--user\". If omitted, enter the user name from the command prompt.<br>The user name must be a combination of lowercase and uppercase letters, numbers, . (period), _ (underscore), and - (hyphen), and at least 3 and no more than 16 characters long.<\/td><\/tr><tr><td><strong>[--pass]<\/strong><\/td><td>Specify a password after \"--pass\". If omitted, enter the password from the command prompt.<br>The password can be lowercase or uppercase English letters, numbers, . (period), ! (exclamation), # (sharp), % (percent), + (plus), _ (underscore), - (hyphen), and must be at least 8 characters long.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"passwd_delete_option\"><\/span>passwd delete [option]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Use this command to delete users able to login to PST Manager.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-20\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst passwd delete --user example_user<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-20\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[--user]<\/strong><\/td><td>Specify a user name after \"--user\". If omitted, enter the user name from the command prompt.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"purge_all_option_profile\"><\/span>purge all [option] [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Purges all optimized resources This command also purges external resources (images, scripts, style sheets) and external CSS proxied locally by the \"proxy\" directive, as well as CSS for \"webfont\" generated as an optimization file if the inline CSS contains \"webfont\".<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-21\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst purge all --reverseproxy --path \/wp-content\/themes kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-21\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[--reverseproxy]<\/strong><\/td><td>Purges cache resources under the DocumentRoot in a reverse proxy environment.&nbsp; Note, if this option is executed in a non-reverse proxy environment, it will be ignored.<br>The default setting is not to purge browser cache resources.<\/td><\/tr><tr><td><strong><strong>[--webfont]<\/strong><\/strong><\/td><td>Purges \"webfont\" CSS generated as an optimization file when \"webfont\" is included in external CSS or inline CSS.<br>This option is enabled from PST 3.1.15.<\/td><\/tr><tr><td><strong>[--path]<\/strong><\/td><td>Specifies the directory or file path after \"--path\" for resource optimization. Note, the absolute path from the DocumentRoot of the KUSANAGI profile must be set.<br>The default path is slash (\/). All files under the DocumentRoot (able to be optimized) are in scope.<br>An error will occurr if you set a directory or file that does not exist.<\/td><\/tr><tr><td><strong>[-y]<\/strong><\/td><td>Executes purge action without entering \"y\/n\" on command prompt.<br>The default is to prompt for \"y\/n\" when purging optimized resources.<\/td><\/tr><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"purge_excluded_option_profile\"><\/span>purge excluded [option] [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Purges optimized resources that have been excluded from optimization for some reason, and optimized resources that are older than the original file. The latest optimized resources are not in scope.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-22\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst purge excluded --path \/wp-content\/themes kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-22\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[--reverseproxy]<\/strong><\/td><td>Purges cache resources under the DocumentRoot in a reverse proxy environment.&nbsp; Note, if this option is executed in a non-reverse proxy environment, it will be ignored.<br>The default setting is not to purge browser cache resources.<\/td><\/tr><tr><td><strong><strong>[--webfont]<\/strong><\/strong><\/td><td>Purges \"webfont\" CSS generated as an optimization file when \"webfont\" is included in external CSS or inline CSS. The default setting is not to purge \"webfont\" CSS.<\/td><\/tr><tr><td><strong>[--path]<\/strong><\/td><td>Specifies the directory or file path after \"--path\" for resource optimization. Note, the absolute path from the DocumentRoot of the KUSANAGI profile must be set.<br>The default path is slash (\/). All files under the DocumentRoot (able to be optimized) are in scope.<\/td><\/tr><tr><td><strong>[-y]<\/strong><\/td><td>Executes purge action without entering \"y\/n\" on command prompt.<br>The default is to prompt for \"y\/n\" when purging optimized resources.<\/td><\/tr><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"purge_expires_option_profile\"><\/span>purge expires [option] [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Purges optimized resources older than the specified period. Note, this command purges external resources (images, scripts, style sheets), external CSS, and CSS generated as optimized files when \"webfont\" is included in inline CSS, which is proxied locally by the \"proxy\" directive.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-23\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst purge expires --period 60d --path \/wp-content\/themes kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-23\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>--period<\/strong><\/td><td>Specify a period after \"--period\" using a combination of numeric values and date\/time units (y: year, M: month, w: week, d: day, h: hour, m: minute, s: second). The year is fixed at 365 days (1y = 365d) and the month at 30 days (1M = 30d).<br>Example: --expires 1M10d: previous to 40 days ago, 36h: previous to 36 hours ago.<\/td><\/tr><tr><td><strong>[--reverseproxy]<\/strong><\/td><td>Purges cache resources under the DocumentRoot in a reverse proxy environment.&nbsp; Note, if this option is executed in a non-reverse proxy environment, it will be ignored.<br>The default setting is not to purge browser cache resources.<\/td><\/tr><tr><td><strong><strong>[--webfont]<\/strong><\/strong><\/td><td>Purges \"webfont\" CSS generated as an optimization file when \"webfont\" is included in external CSS or inline CSS.<br>This option is enabled from PST 3.1.15.<\/td><\/tr><tr><td><strong>[--path]<\/strong><\/td><td>Specifies the directory or file path after \"--path\" for resource optimization. Note, the absolute path from the DocumentRoot of the KUSANAGI profile must be set.<br>The default path is slash (\/). All files under the DocumentRoot (able to be optimized) are in scope.<br>An error will occurr if you set a directory or file that does not exist.<\/td><\/tr><tr><td><strong>[-y]<\/strong><\/td><td>Executes purge action without entering \"y\/n\" on command prompt.<br>The default is to prompt for \"y\/n\" when purging optimized resources.<\/td><\/tr><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"queue\"><\/span>queue<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Displays the status of queues used by WEXAL services. The queue for the Resource Optimization Service (\"optimizer\") is \"optimizer\" and \"strategy\" is the queue for the Optimization Strategy Service (\"strategy\").<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-24\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst queue<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-24\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>None<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"remove_option_profile\"><\/span>remove [option] [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Removes PST from the specified profile. By executing this command, you can return to the previous KUSANAGI profile environment. Note, if you have changed the \"nginx\" configuration files after executing \"pst init\", the environment will be returned to before those changes were made. Please check the \"nginx\" settings after executing \"pst remove\", especially if you have changed SSL certificates or other settings later with the \"kusanagi ssl\" command, etc.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-25\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst remove kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-25\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[-y]<\/strong><\/td><td>Removes action without entering \"y\/n\" on command prompt.<br>The default is to prompt for \"y\/n\" when removing.<\/td><\/tr><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"status_profile\"><\/span>status [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Displays PST status. Displays PST enable\/disable, resource monitoring enable\/disable, the Resource Optimization Service (\"optimizer\") queue, and the Optimization Strategy Service (\"strategy\") queue.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-26\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst status kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-26\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"watch_on_profile\"><\/span>watch on [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Enables resource monitoring for a specified profile. Resource Monitoring monitors the profile in real time and directs the Resource Optimization Service (\"watch\") according to resource changes. When the Resource Optimization Service (\"watch\") has not started, execution will be suspended until the service has started. Resource monitoring directs the Resource Optimization Service (\"watch\") to run with the highest priority. Therefore, even if the command has optimizations in progress, this service will direct that resources that have changed be given highest priority.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-27\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst watch on kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-27\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"watch_off_profile\"><\/span>watch off [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Disables resource monitoring for a specified profile. When resource monitoring is disabled, resource optimization and purges will not be performed in real time. Therefore, please execute resource optimization and purge commands as needed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-28\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst watch off kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-28\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"watch_restart_profile\"><\/span>watch restart [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Restarts resource monitoring for a specified profile.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-29\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst watch restart kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-29\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"watch_status_profile\"><\/span>watch status [profile]<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Displays resource monitoring status for a specified profile.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-30\"><\/span>Example<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>pst watch status kusanagi_html<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Options-30\"><\/span>Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>[profile]<\/strong><\/td><td>If \u201cprofile\u201d is specified, this command will be executed in the specified profile.<br>The default is to operate on the profile of the current directory. When the current directory does not have a valid profile, an error will occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Overview PST Command is a CLI (Command Line Interface) to control the function of WEXAL\u00ae Page Speed Technology (hereinafter referred to as \"PST\"). The command is \"\/usr\/bin\/pst\". -V | --version Use this command to check which version of PST is running. Example Options None Results -h | --help Displays the usage of the \"pst\" command and each subcommand. Example Options None [--dryrun] {subcommand} Allows you to check the results of executing a PST subcommand without actually executing the subcommand. Note, the \"--dryrun\" option must be specified immediately before the subcommand. Example Options Varies according to each PST subcommand. init [option] [profile] Use this command to setup the initial PST configuration ... <\/p>\n<p class=\"read-more-container\"><a title=\"PST Commands (3.2.12)\" class=\"read-more button\" href=\"https:\/\/www.wexal.jp\/en\/document-3-0-0\/pst-command\/#more-6005\" aria-label=\"Read more about PST Commands (3.2.12)\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":5946,"menu_order":6,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"version":[16],"class_list":["post-6005","page","type-page","status-publish"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PST Commands (3.2.12) - WEXAL\u00ae Page Speed Technology<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wexal.jp\/en\/document-3-0-0\/pst-command\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PST Commands (3.2.12) - WEXAL\u00ae Page Speed Technology\" \/>\n<meta property=\"og:description\" content=\"Overview PST Command is a CLI (Command Line Interface) to control the function of WEXAL\u00ae Page Speed Technology (hereinafter referred to as &quot;PST&quot;). The command is &quot;\/usr\/bin\/pst&quot;. -V | --version Use this command to check which version of PST is running. Example Options None Results -h | --help Displays the usage of the &quot;pst&quot; command and each subcommand. Example Options None [--dryrun] {subcommand} Allows you to check the results of executing a PST subcommand without actually executing the subcommand. Note, the &quot;--dryrun&quot; option must be specified immediately before the subcommand. Example Options Varies according to each PST subcommand. init [option] [profile] Use this command to setup the initial PST configuration ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wexal.jp\/en\/document-3-0-0\/pst-command\/\" \/>\n<meta property=\"og:site_name\" content=\"WEXAL\u00ae Page Speed Technology\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-24T06:23:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wexal.jp\/wp-content\/uploads\/2021\/10\/wexal_og.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wexal.jp\\\/en\\\/document-3-0-0\\\/pst-command\\\/\",\"url\":\"https:\\\/\\\/www.wexal.jp\\\/en\\\/document-3-0-0\\\/pst-command\\\/\",\"name\":\"PST Commands (3.2.12) - WEXAL\u00ae Page Speed Technology\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wexal.jp\\\/#website\"},\"datePublished\":\"2021-08-25T16:05:28+00:00\",\"dateModified\":\"2025-04-24T06:23:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.wexal.jp\\\/en\\\/document-3-0-0\\\/pst-command\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wexal.jp\\\/en\\\/document-3-0-0\\\/pst-command\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.wexal.jp\\\/en\\\/document-3-0-0\\\/pst-command\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.wexal.jp\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentation (3.0.0)\",\"item\":\"https:\\\/\\\/www.wexal.jp\\\/en\\\/document-3-0-0\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"PST Commands (3.2.12)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wexal.jp\\\/#website\",\"url\":\"https:\\\/\\\/www.wexal.jp\\\/\",\"name\":\"WEXAL\u00ae Page Speed Technology\",\"description\":\"the best UX for all Websites.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.wexal.jp\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PST Commands (3.2.12) - WEXAL\u00ae Page Speed Technology","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wexal.jp\/en\/document-3-0-0\/pst-command\/","og_locale":"en_US","og_type":"article","og_title":"PST Commands (3.2.12) - WEXAL\u00ae Page Speed Technology","og_description":"Overview PST Command is a CLI (Command Line Interface) to control the function of WEXAL\u00ae Page Speed Technology (hereinafter referred to as \"PST\"). The command is \"\/usr\/bin\/pst\". -V | --version Use this command to check which version of PST is running. Example Options None Results -h | --help Displays the usage of the \"pst\" command and each subcommand. Example Options None [--dryrun] {subcommand} Allows you to check the results of executing a PST subcommand without actually executing the subcommand. Note, the \"--dryrun\" option must be specified immediately before the subcommand. Example Options Varies according to each PST subcommand. init [option] [profile] Use this command to setup the initial PST configuration ... Read more","og_url":"https:\/\/www.wexal.jp\/en\/document-3-0-0\/pst-command\/","og_site_name":"WEXAL\u00ae Page Speed Technology","article_modified_time":"2025-04-24T06:23:14+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.wexal.jp\/wp-content\/uploads\/2021\/10\/wexal_og.png","type":"image\/png"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wexal.jp\/en\/document-3-0-0\/pst-command\/","url":"https:\/\/www.wexal.jp\/en\/document-3-0-0\/pst-command\/","name":"PST Commands (3.2.12) - WEXAL\u00ae Page Speed Technology","isPartOf":{"@id":"https:\/\/www.wexal.jp\/#website"},"datePublished":"2021-08-25T16:05:28+00:00","dateModified":"2025-04-24T06:23:14+00:00","breadcrumb":{"@id":"https:\/\/www.wexal.jp\/en\/document-3-0-0\/pst-command\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wexal.jp\/en\/document-3-0-0\/pst-command\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wexal.jp\/en\/document-3-0-0\/pst-command\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wexal.jp\/en\/"},{"@type":"ListItem","position":2,"name":"Documentation (3.0.0)","item":"https:\/\/www.wexal.jp\/en\/document-3-0-0\/"},{"@type":"ListItem","position":3,"name":"PST Commands (3.2.12)"}]},{"@type":"WebSite","@id":"https:\/\/www.wexal.jp\/#website","url":"https:\/\/www.wexal.jp\/","name":"WEXAL\u00ae Page Speed Technology","description":"the best UX for all Websites.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wexal.jp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.wexal.jp\/en\/wp-json\/wp\/v2\/pages\/6005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wexal.jp\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.wexal.jp\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.wexal.jp\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wexal.jp\/en\/wp-json\/wp\/v2\/comments?post=6005"}],"version-history":[{"count":8,"href":"https:\/\/www.wexal.jp\/en\/wp-json\/wp\/v2\/pages\/6005\/revisions"}],"predecessor-version":[{"id":6960,"href":"https:\/\/www.wexal.jp\/en\/wp-json\/wp\/v2\/pages\/6005\/revisions\/6960"}],"up":[{"embeddable":true,"href":"https:\/\/www.wexal.jp\/en\/wp-json\/wp\/v2\/pages\/5946"}],"wp:attachment":[{"href":"https:\/\/www.wexal.jp\/en\/wp-json\/wp\/v2\/media?parent=6005"}],"wp:term":[{"taxonomy":"version","embeddable":true,"href":"https:\/\/www.wexal.jp\/en\/wp-json\/wp\/v2\/version?post=6005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}