This Nova tool gives you a live overview of your RAM and CPU usage of your system.
You must use either Linux, MacOS or Windows.
shell_exec
must not be disabled in your php.ini
. Make sure that disabled_functions
does not contain shell_exec
.
You can install the nova tool in to a Laravel app that uses Nova via composer:
composer require gijsg/system-resources
Next up, you must register the tool with Nova. This is typically done in the cards
method of the NovaServiceProvider
.
// in app/Providers/NovaServiceProvder.php
// ...
protected function cards()
{
return [
// ...
new \GijsG\SystemResources\SystemResources('ram'),
new \GijsG\SystemResources\SystemResources('cpu'),
];
}
You can specify the width of the cards using the nova card width notation: 1/2
, 1/4
, full
etc.
new \GijsG\SystemResources\SystemResources('ram', '1/3'),
The MIT License (MIT). Please see License File for more information.
API response invalid? We notify you instantly! Direct Insight monitors your API making sure it behaves like you expect it does. Be the first to know when your API does not work as expected.