If Jamf inventory (
jamf recon) causes an extended CPU spike specifically related to the
du command, you can fix that by going, in the Jamf settings, to Computer Management > Computer Management – Management Framework > Inventory Collection, and then uncheck the Include home directory sizes checkbox.
That is a system-wide setting, but especially if most or all of your fleet is one-to-one Macs (not shared Macs), it’s a good idea to do. Your
jamf recon inventory runs will still report back free disk space, just not broken down by individual home directories.
Special shoutout to tlark and neilmartin83 on the MacAdmins Slack for giving me more context around this.