文件操作 - CIM_DiskSpaceCheck.mof
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/mof/cimv2.43.0/Application/CIM_DiskSpaceCheck.mof
编辑文件内容
// Copyright (c) 2005 DMTF. All rights reserved. [Version ( "2.6.0" ), UMLPackagePath ( "CIM::Application::CheckAction" ), Description ( "DiskSpaceCheck describes the amount of disk space that needs " "to be available on the computer system. The amount is " "specified in the AvailableDiskSpace property. The details of " "this Check are compared with the value of the CIM_FileSystem. " "AvailableSpace property - where the CIM_FileSystem object is " "related (using HostedFileSystem) to the CIM_Computer System " "instance that describes the environment. When the value of the " "AvailableSpace property is greater than or equal to the value " "specified in AvailableDiskSpace, the Check is satisfied." )] class CIM_DiskSpaceCheck : CIM_Check { [Description ( "The AvailableDiskSpace property specifies the minimum " "amount of disk space that needs to be available on the " "target system." ), Units ( "KiloBytes" ), ModelCorrespondence { "CIM_FileSystem.AvailableSpace" }, PUnit ( "byte * 10^3" )] uint64 AvailableDiskSpace; };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件