1. A method comprising: inspecting a storage system by a processor to obtain resources information, wherein the resources information includes attributes associated with a workload of the storage system and corresponding values, wherein the storage system includes an application configured to run a plurality of processes concurrently in an operating system producing a portion of the workload, wherein the storage system includes one or more servers, one or more data sources, and one or more storage devices, wherein each of the one or more servers is associated with a database, wherein each of the database contains a set of attributes and a set of corresponding values and each of the attributes is associated with a type and a name; determining an optimum percentage of resources by the processor, wherein the optimum proportion of the resources is allocated to the application according to the attributes; obtaining amounts of the resources allocated to a process within the plurality of processes by the processor; and generating by the processor, policies as a function of the resources information, the one or more percentages, and the amounts of the resources allocated to the process; wherein the inspecting comprises for each of the attributes: determining for an attribute whether the type is related to the operating system; if the type of attribute is related to the operating system, inspecting the storage system to obtain a value corresponding to the attribute; and if the type of attribute is not related to the operating system, querying the database for a corresponding value of the attribute, and obtaining the corresponding value.