Title: WP-CLI cpu usage
Last modified: May 21, 2025

---

# WP-CLI cpu usage

 *  Resolved [nicole0155](https://wordpress.org/support/users/nicole0155/)
 * (@nicole0155)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/wp-cli-cpu-usage/)
 * We are testing WP-CLI with the following command
 *     ```wp-block-code
       wp media-cleaner scan media check-content
       ```
   
 * Monitoring the CPU usage, we noticed that the process correctly utilizes a single
   CPU thread. However, at certain points (sometimes lasting a few minutes), the
   CPU usage drops to zero before resuming again.
 * Is this expected behavior? Is there a way to minimize these idle periods and 
   improve the overall scan speed?
 * Thank you.

Viewing 1 replies (of 1 total)

 *  Plugin Support [Val Meow](https://wordpress.org/support/users/valwa/)
 * (@valwa)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/wp-cli-cpu-usage/#post-18492581)
 * Hey [@nicole0155](https://wordpress.org/support/users/nicole0155/)! 👋
 * The CLI is a **PRO feature**, and this forum is intended for free users only.
   For CLI-related support, please reach out directly through the MeowApps support
   system.
 * However, just so you know, we’re currently reworking how the scan process works
   for both the CLI and Dashboard by using **cached references**. This will be a
   new option in the advanced settings, enabled by default. Thanks for your patience
   and understanding!

Viewing 1 replies (of 1 total)

The topic ‘WP-CLI cpu usage’ is closed to new replies.

 * ![](https://ps.w.org/media-cleaner/assets/icon-256x256.png?rev=2791576)
 * [Media Cleaner: Clean your WordPress!](https://wordpress.org/plugins/media-cleaner/)
 * [Support Threads](https://wordpress.org/support/plugin/media-cleaner/)
 * [Active Topics](https://wordpress.org/support/plugin/media-cleaner/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-cleaner/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-cleaner/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Val Meow](https://wordpress.org/support/users/valwa/)
 * Last activity: [11 months, 2 weeks ago](https://wordpress.org/support/topic/wp-cli-cpu-usage/#post-18492581)
 * Status: resolved