-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'WMIC' no longer exists in windows 11 24H2 #446
Comments
We're currently using @wilianmaique or @kohenkatz are you aware of any alternative ways of getting this information without Note that it's possible to customize how CPU and memory usage are determined with the following: \Laravel\Pulse\Recorders\Servers::detectCpuUsing(fn () => /* CPU percentage as an integer */);
\Laravel\Pulse\Recorders\Servers::detectMemoryUsing(fn () => [
'total' => /* Total memory in megabytes as an integer */,
'used' => /* Used memory in megabytes as an integer */
]); |
I used COM and it worked correctly:
out:
note, you need to enable: extension=com_dotnet in php.ini (this extension is already included) |
That said, switching to the |
Thank you for reporting this issue! As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub. If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team. Thank you! |
Pulse Version
last
Laravel Version
last
PHP Version
8.4
Livewire Version
last
Database Driver & Version
mysql
Description
trying to use command: php artisan pulse:check, returns error: 'wmic' is not recognized as an internal command. from what i read, it was removed from windows 11
i use windows as a dev environment, but in production i use linux....
Steps To Reproduce
...
The text was updated successfully, but these errors were encountered: