Hypernode CLI tools and magerun plugins
This page is an overview of all tools available on Hypernodes and hypernode-vagrant to Hypernode users.
Table of contents
- 1 Command line utilities
- 2 Provided bash aliases to make things easier on the commandline
- 3 Hypernode magerun plugins
- 3.1 hypernode:performance – Generate a performance report based on sitemaps.
- 3.2 hypernode:patches:list – Determine required patches.
- 3.3 hypernode:modules:list-updates – Find available updates for installed modules
- 3.4 hypernode:log-analyses – Output the most frequent lines in system.log
- 3.5 hypernode:maps-generate – Generates magerun maps for nginx by store config
- 3.6 hypernode:varnish:config-save – Save and apply Turpentine’s VCL configuration to Varnish
- 3.7 hypernode:varnish:flush – Flushes all cached varnish URL’s.
- 3.8 hypernode:crack:admin-passwords – Attempt to crack admin credentials
- 3.9 hypernode:crack:api-keys – Attempt to crack api keys for SOAP / XML-RPC users
Command line utilities
Tool to create FTP users and credentials
More info can be found in the article about how to manage ftp users
Parse the json based Nginx access logging and filter specific fields.
More info can be found in the article about working with logs
Converts your cron file entries to make use of
More information about how to use
flock can be found in the article about periodic tasks
Detects Magento extensions that slow down the shop by parsing the
More info about how to detect slow extension can be found in the article about interpreting the php-slow-log
This tool provides a very easy way of optimizing images to improve performance and save diskspace.
More information about how to optimize your images can be found in the documentation about the
Prints the current worker status per fpm worker on your screen.
hypernode-importer is a neat tool to fully automagically import your site on a hypernode.
It can be used to either create a copy of your shop on the Hypernode, or copy your site to a Hypernode Vagrant.
To find more information about how to migrate your Magento to Hypernode, check the documentation about the hypernode-importer
You can find all available Hypernode commandline tools on the node itself as well using autocompletion by typing
Provided bash aliases to make things easier on the commandline
tal (alias for
tail -f /var/log/nginx/access.log)
A shortcut to quickly take a realtime look at the access log.
pnl and parse-nginx-log (alias for
Convert Hypernode logging in json to a human readable format and filter specific fields.
Retrieves status.php on the hypernode.
This script is used for server monitoring and returnes
OK when PHP, MySQL, Nginx, OPcache, Redis, Varnish and the disk storage are functioning well.
cputop creates a top 10 of most cpu consuming processes on the Hypernode
livefpm (alias for
Creates a realtime overview of the current fpm worker status
Is an alias to
This way if you use
editor <file> for editing your files, the editor defined in
~/.selected_editor is executed instead of the system wide default editor nano.
Hypernode magerun plugins
Hypernode provides several plugins for
Below you can find a list of all the magerun plugins we created and how to use them.
hypernode:performance – Generate a performance report based on sitemaps.
This plugin provides a great method to analyze all pages defined in sitemap.xml.
It generates a report of all pages load times, status code and time to first byte.
You can use it as well to analyze differences between a live and a staging environment or calculate the speed gains when moving to Hypernode.
When comparing load times on two sites, a graph report can be generated and downloaded after processing al sitemap links.
hypernode:patches:list – Determine required patches.
This plugins lists all
SUPEE security patches that are required for the version of your Magento installation and checks whether they are applied or not.
n98-magerun hypernode:patches:list is a shortcut that provides the same output.
hypernode:modules:list-updates – Find available updates for installed modules
This plugin lists all installed Magento extensions and their current and available versions, making it very easy to determine which extensions should be updated.
A complete list of all available magerun commands can be acquired by typing
hypernode:log-analyses – Output the most frequent lines in system.log
This plugin provides a list of recurring log errors that are frequently logged to system.log and their count.
hypernode:maps-generate – Generates magerun maps for nginx by store config
This plugin can generate a
http.magerunmaps based on your storefront configuration in Magento.
If you have many storefronts this plugin is a lifesaver!
hypernode:varnish:config-save – Save and apply Turpentine’s VCL configuration to Varnish
This plugin saves your
vcl to disk and stores it for later use.
hypernode:varnish:flush – Flushes all cached varnish URL’s.
This plugin connects to the Varnish daemon to flush the cache.
hypernode:crack:admin-passwords – Attempt to crack admin credentials
Test the passwords of your users by using rainbow tables and dictionary lists to detect insecure, weak or otherwise easy to bruteforce passwords yourself before hackers do.
hypernode:crack:api-keys – Attempt to crack api keys for SOAP / XML-RPC users
Test your API keys for weak and or insecure combinations.