Skip to main content
Question

running a report on multiple partitions


Good Morning,

In our environment, we have a Macintosh HD partition and a Data partition.

I'm trying to run a report on the Data partition size to get an idea of how much data the students are using.

I can see the information in casper in the gui under storage, but I have no idea how to run an advanced search on this and dump the results in a csv file?

Thanks in advance.

Mike Parker
It Dept.
Kambala (school)

4 replies

Forum|alt.badge.img+12
  • Contributor
  • 529 replies
  • May 25, 2011

Mike,

Have a look at the 'du' command

For example, try:

du -ch -d 1 /Volumes/data

as a start to give you an idea.

c print out overall total
h human readable
d depth of sub directories to display


Forum|alt.badge.img+31
  • Honored Contributor
  • 2721 replies
  • May 25, 2011

df may be faster, but du will work


  • 0 replies
  • May 25, 2011

I think his question was how to search/report on inventory using this information (which is already in Casper). I've encountered some information fields myself that should be searchable but aren't...


Forum|alt.badge.img+12
  • Contributor
  • 529 replies
  • May 26, 2011

Ah, I see. Yeah, you don't appear to be able to pull the partition info, but run a df or du, depending on what information you require, as an extension attribute and then you can do an advanced search on that.

Sean


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings