[Casper] Inventory Music and Video Files

Smith, William william.smith at merrillcorp.com
Wed Apr 1 08:47:48 PDT 2009


From: Jonathan Smith <smith.jonathan at gene.com>
Date: Tue, 31 Mar 2009 17:50:48 -0500
To: <Casper at list.jamfsoftware.com>
Subject: [Casper] Inventory Music and Video Files

> Hey All-
> 
> I am trying to figure out how much music and video files users have taking up
> space on on their hard drives throughout the enterprise. Has anyone come up
> with a slick way of doing this with Casper?

This may be one of those "pick your battles" scenarios but I'd love to hear
other ideas.

Are you concerned with how much space is being consumed with media files or
are you really concerned with disk usage? We've had a handful of cases where
machines become unusable because the disks have been filled. In that case,
we'll run:

    sudo du -hd 1 /Users

The "h" means "human readable" and the "d 1" means show results just one
level deep. Of course, this only returns the size of the user folders but a
quick glance will reveal the problem user.

I'd imagine an easier way to approach this would be to set up a notification
in the JSS using Smart Groups for when disk space reaches a certain
threshold such as 85%. Then just run this command to determine the user
who's hogging space and investigate why.

-- 

bill

William M. Smith, Technical Analyst
MCS IT
Merrill Communications, LLC
(651) 632-1492



More information about the Casper mailing list