Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

/root/resourcemonitord/resourcemonitord/rmFileSystemMonitor/RM_FileSystemMonitor.h

Go to the documentation of this file.
00001 
00002 // FILE:                RM_FileSubsystemMonitor.h
00003 //      define guid
00004 //
00005 //      Date:   Jan 18, 2002
00006 //      Author: Sonic Zhang
00008 /*M*
00009 BSD License
00010 
00011 Copyright (c) 2002, Intel Corporation
00012 All rights reserved.
00013 
00014 Redistribution and use in source and binary forms, with or without
00015 modification, are permitted provided that the following conditions are met:
00016 
00017   a.. Redistributions of source code must retain the above copyright notice,
00018       this list of conditions and the following disclaimer.
00019   b.. Redistributions in binary form must reproduce the above copyright notice,
00020       this list of conditions and the following disclaimer in the documentation
00021       and/or other materials provided with the distribution.
00022   c.. Neither the name of Intel Corporation nor the names of its contributors
00023       may be used to endorse or promote products derived from this software
00024       without specific prior written permission.
00025 
00026 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
00027 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00028 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00029 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
00030 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00031 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00032 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
00033 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00034 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00035 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00036 
00037  *M*/
00038 
00039 #ifndef __RM_FileSubsystemMonitor_h__
00040 #define __RM_FileSubsystemMonitor_h__
00041 
00042 #ifdef __cplusplus
00043 
00052 namespace FileSubsystemMonitor
00053 {
00054 #endif  // __cplusplus
00055 
00056 #define FILESYSTEM_GUID         "d4bc806b-6e11-471f-929b-074d57f59e86"
00057 
00058 #ifdef RM_USING_WIDE_CHARS
00059 //FileSystem subsystem name
00060 #define FILESYSTEM_NAME     L"FileSystem Subsystem"
00061 
00062 //FileSystem subsystem description
00063 #define FILESYSTEM_DESCR    L"FileSystem subsystem for resource monitor component."
00064 
00065 //the following are messages for kernel subsystem monitor information.
00066 //They should be localized.
00067 #define  FILESYSTEM_STAT_SUM_SPACE          L"total partition space"
00068 #define  FILESYSTEM_STAT_SUM_SPACE_DESCR        L"Number of 1k blocks on a specified mounted partition"
00069 #define  FILESYSTEM_STAT_SUM_SPACE_UNIT         L"KByte"
00070 
00071 #define  FILESYSTEM_STAT_USED_SPACE             L"used partition space"
00072 #define  FILESYSTEM_STAT_USED_SPACE_DESCR       L"Used space on a specified mounted partition"
00073 #define  FILESYSTEM_STAT_USED_SPACE_UNIT        L"KByte"
00074 
00075 #define  FILESYSTEM_STAT_AVAILABLE_SPACE        L"available partition space"
00076 #define  FILESYSTEM_STAT_AVAILABLE_SPACE_DESCR      L"Available space on a specified mounted partition"
00077 #define  FILESYSTEM_STAT_AVAILABLE_SPACE_UNIT       L"KByte"
00078 
00079 #define  FILESYSTEM_STAT_PERCENT_USED_SPACE         L"percent used partition space"
00080 #define  FILESYSTEM_STAT_PERCENT_USED_SPACE_DESCR   L"Percentage of used space on a specified mounted partition"
00081 #define  FILESYSTEM_STAT_PERCENT_USED_SPACE_UNIT    L"%"
00082 
00083 #define  FILESYSTEM_STAT_SUM_INODES             L"Total inodes"
00084 #define  FILESYSTEM_STAT_SUM_INODES_DESCR       L"Number of inodes on a specified mounted partition"
00085 #define  FILESYSTEM_STAT_SUM_INODES_UNIT        L"inodes"
00086 
00087 #define  FILESYSTEM_STAT_USED_INODES            L"used inodes"
00088 #define  FILESYSTEM_STAT_USED_INODES_DESCR      L"Used inodes on a specified mounted partition"
00089 #define  FILESYSTEM_STAT_USED_INODES_UNIT       L"inodes"
00090 
00091 #define  FILESYSTEM_STAT_AVAILABLE_INODES       L"available inodes"
00092 #define  FILESYSTEM_STAT_AVAILABLE_INODES_DESCR     L"Available inodes on a specified mounted partition"
00093 #define  FILESYSTEM_STAT_AVAILABLE_INODES_UNIT      L"inodes"
00094 
00095 #define  FILESYSTEM_STAT_PERCENT_USED_INODES        L"percent used inodes"
00096 #define  FILESYSTEM_STAT_PERCENT_USED_INODES_DESCR  L"Percentage of used inodes on a specified mounted partition"
00097 #define  FILESYSTEM_STAT_PERCENT_USED_INODES_UNIT   L"%"
00098 #else  // RM_USING_WIDE_CHARS
00099 //FileSystem subsystem name
00100 #define FILESYSTEM_NAME     "FileSystem Subsystem"
00101 
00102 //FileSystem subsystem description
00103 #define FILESYSTEM_DESCR    "FileSystem subsystem for resource monitor component."
00104 
00105 //the following are messages for kernel subsystem monitor information.
00106 //They should be localized.
00107 #define  FILESYSTEM_STAT_SUM_SPACE          "total partition space"
00108 #define  FILESYSTEM_STAT_SUM_SPACE_DESCR        "Number of 1k blocks on a specified mounted partition"
00109 #define  FILESYSTEM_STAT_SUM_SPACE_UNIT         "KByte"
00110 
00111 #define  FILESYSTEM_STAT_USED_SPACE             "used partition space"
00112 #define  FILESYSTEM_STAT_USED_SPACE_DESCR       "Used space on a specified mounted partition"
00113 #define  FILESYSTEM_STAT_USED_SPACE_UNIT        "KByte"
00114 
00115 #define  FILESYSTEM_STAT_AVAILABLE_SPACE        "available partition space"
00116 #define  FILESYSTEM_STAT_AVAILABLE_SPACE_DESCR      "Available space on a specified mounted partition"
00117 #define  FILESYSTEM_STAT_AVAILABLE_SPACE_UNIT       "KByte"
00118 
00119 #define  FILESYSTEM_STAT_PERCENT_USED_SPACE         "percent used partition space"
00120 #define  FILESYSTEM_STAT_PERCENT_USED_SPACE_DESCR   "Percentage of used space on a specified mounted partition"
00121 #define  FILESYSTEM_STAT_PERCENT_USED_SPACE_UNIT    "%"
00122 
00123 #define  FILESYSTEM_STAT_SUM_INODES             "Total inodes"
00124 #define  FILESYSTEM_STAT_SUM_INODES_DESCR       "Number of inodes on a specified mounted partition"
00125 #define  FILESYSTEM_STAT_SUM_INODES_UNIT        "inodes"
00126 
00127 #define  FILESYSTEM_STAT_USED_INODES            "used inodes"
00128 #define  FILESYSTEM_STAT_USED_INODES_DESCR      "Used inodes on a specified mounted partition"
00129 #define  FILESYSTEM_STAT_USED_INODES_UNIT       "inodes"
00130 
00131 #define  FILESYSTEM_STAT_AVAILABLE_INODES       "available inodes"
00132 #define  FILESYSTEM_STAT_AVAILABLE_INODES_DESCR     "Available inodes on a specified mounted partition"
00133 #define  FILESYSTEM_STAT_AVAILABLE_INODES_UNIT      "inodes"
00134 
00135 #define  FILESYSTEM_STAT_PERCENT_USED_INODES        "percent used inodes"
00136 #define  FILESYSTEM_STAT_PERCENT_USED_INODES_DESCR  "Percentage of used inodes on a specified mounted partition"
00137 #define  FILESYSTEM_STAT_PERCENT_USED_INODES_UNIT   "%"
00138 #endif  // RM_USING_WIDE_CHARS
00139 
00140 #define  FILESYSTEM_STAT_SUM_SPACE_ID       0
00141 #define  FILESYSTEM_STAT_SUM_SPACE_TYPE         rmGauge
00142 #define  FILESYSTEM_STAT_SUM_SPACE_SIZE         rmSizeU32
00143 #define  FILESYSTEM_STAT_SUM_SPACE_SCALE        rmScaleKilobyte
00144 #define  FILESYSTEM_STAT_USED_SPACE_ID      1
00145 #define  FILESYSTEM_STAT_USED_SPACE_TYPE        rmGauge
00146 #define  FILESYSTEM_STAT_USED_SPACE_SIZE        rmSizeU32
00147 #define  FILESYSTEM_STAT_USED_SPACE_SCALE       rmScaleKilobyte
00148 #define  FILESYSTEM_STAT_AVAILABLE_SPACE_ID         2
00149 #define  FILESYSTEM_STAT_AVAILABLE_SPACE_TYPE       rmGauge
00150 #define  FILESYSTEM_STAT_AVAILABLE_SPACE_SIZE       rmSizeU32
00151 #define  FILESYSTEM_STAT_AVAILABLE_SPACE_SCALE      rmScaleKilobyte
00152 #define  FILESYSTEM_STAT_PERCENT_USED_SPACE_ID  3
00153 #define  FILESYSTEM_STAT_PERCENT_USED_SPACE_TYPE    rmGauge
00154 #define  FILESYSTEM_STAT_PERCENT_USED_SPACE_SIZE    rmSizeU32
00155 #define  FILESYSTEM_STAT_PERCENT_USED_SPACE_SCALE   rmScaleNone
00156 #define  FILESYSTEM_STAT_SUM_INODES_ID      4
00157 #define  FILESYSTEM_STAT_SUM_INODES_TYPE        rmGauge
00158 #define  FILESYSTEM_STAT_SUM_INODES_SIZE        rmSizeU32
00159 #define  FILESYSTEM_STAT_SUM_INODES_SCALE       rmScaleNone
00160 #define  FILESYSTEM_STAT_USED_INODES_ID         5
00161 #define  FILESYSTEM_STAT_USED_INODES_TYPE       rmGauge
00162 #define  FILESYSTEM_STAT_USED_INODES_SIZE       rmSizeU32
00163 #define  FILESYSTEM_STAT_USED_INODES_SCALE      rmScaleNone
00164 #define  FILESYSTEM_STAT_AVAILABLE_INODES_ID        6
00165 #define  FILESYSTEM_STAT_AVAILABLE_INODES_TYPE      rmGauge
00166 #define  FILESYSTEM_STAT_AVAILABLE_INODES_SIZE      rmSizeU32
00167 #define  FILESYSTEM_STAT_AVAILABLE_INODES_SCALE         rmScaleNone
00168 #define  FILESYSTEM_STAT_PERCENT_USED_INODES_ID     7
00169 #define  FILESYSTEM_STAT_PERCENT_USED_INODES_TYPE   rmGauge
00170 #define  FILESYSTEM_STAT_PERCENT_USED_INODES_SIZE   rmSizeU32
00171 #define  FILESYSTEM_STAT_PERCENT_USED_INODES_SCALE  rmScaleNone
00172 
00173 #ifdef __cplusplus
00174 }
00175 #endif  // __cplusplus
00176 #endif  //__RM_FileSubsystemMonitor_h__

Generated at Sat Sep 7 21:21:07 2002 for Resource Monitoring Facility by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001