文件操作 - hipos.cxm
返回文件管理
返回主菜单
删除本文件
文件: /opt/dell/srvadmin/etc/srvadmin-isvc/ndx/hipos.cxm
编辑文件内容
#//------------------------------------------------------------------------- #// #// Dell Inc. PROPRIETARY INFORMATION #// #// This software is supplied under the terms of a license agreement or #// nondisclosure agreement with Dell Inc. and may not be copied or #// disclosed except in accordance with the terms of that agreement. #// #// Copyright (c) 1995-2011 Dell Inc. All Rights Reserved. #// #// Abstract/Purpose: #// NDX configuration file #// See readme_ndx.txt for more info #// #//------------------------------------------------------------------------- typedef struct _OSInfo { booln primaryOS; u8 reservedAlign[2]; u32 offsetOsName; u32 offsetOsVersion; } OSInfo; typedef struct _SystemInfo { s64 systemBootupTime; s64 systemTime; u32 offsetSystemName; u32 offsetSystemLocation; u32 offsetPrimaryUserName; u32 offsetPrimaryUserPhone; } SystemInfo; typedef struct _MemoryInfo { u32 totalPhysMemorySize; u32 availPhysMemorySize; u32 totalPageFileSize; u32 availPageFileSize; u32 totalVirtualMemorySize; u32 availVirtualMemorySize; u64 extTotalPhysMemorySize; } MemoryInfo; typedef struct _ClusterObj { u32 clusterType; u32 offsetClusterTypeDescr; u32 offsetClusterName; } ClusterObj; typedef struct _ClusterMemberObj { u32 offsetClusterMemberName; } ClusterMemberObj; typedef struct _SecurityGlobalObj { u32 numUsers; } SecurityGlobalObj; typedef struct _SecurityUserObj { u32 offsetUserName; } SecurityUserObj; #//------------------------------------------------------------------------- #// End #//-------------------------------------------------------------------------
修改文件时间
将文件时间修改为当前时间的前一年
删除文件