Last active
March 12, 2020 14:14
-
-
Save careydayrit/3f22d9136bda12a724c3714246fe7c1f to your computer and use it in GitHub Desktop.
Get System Information
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MariaDB 10.0.23-MariaDB | |
Nginx 1.8.1 | |
Fedora 22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
system('lscpu'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
system('free -mh'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Wordpress Sites | |
echo 'system("lscpu");' | terminus wp wp site.env shell | |
echo 'system("free -mh");' | terminus wp site.env shell | |
# Drupal Sites | |
echo 'system("lscpu");' | terminus drush site.env php-script - | |
echo 'system("free -mh");' | terminus drush site.env php-script - | |
Author
careydayrit
commented
Oct 23, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment