cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Daniel_B
Lansweeper Alumni
Old name: Mac: less than 10% partition free (Built-in)

The below report lists all Mac computers with less than 10% free space on one partition

The report will only list assets that meet all of the following criteria:
  • The asset state is set to "active".
  • The asset has been successfully scanned at least once.
  • The asset is a Mac computer.
  • The asset has less than 10% disk space on a partition.

Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tsysIPLocations.IPLocation,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblMacOSInfo.SystemVersion,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblMacPartitions.Filesystem,
tblMacPartitions.Available,
tblMacPartitions.Used,
tblMacPartitions.Percentage As SpaceUsed,
tblMacPartitions.MountedOn As MountedOn
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tsysIPLocations On tsysIPLocations.LocationID =
tblAssets.LocationID
Inner Join tblState On tblState.State = tblAssetCustom.State
Inner Join tblMacOSInfo On tblMacOSInfo.AssetID = tblAssets.AssetID
Inner Join tblMacPartitions On tblMacPartitions.AssetID = tblAssets.AssetID
Where tblMacPartitions.Available <> N'0B' And tblState.Statename = 'Active' And
Replace(tblMacPartitions.Percentage, '%', '') > 90
Order By tblAssets.IPNumeric,
tblAssets.AssetName
0 REPLIES 0

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now