A method, in a monitoring initiating entity, for resource monitoring of a compute infrastructure interconnected with a network, wherein said method comprises the steps of: - allotting a benchmark message; said benchmark message comprising a program code or references to said program code, to be executed on a reflecting entity being able to execute said program code, said reflecting entity being intended to be monitored, said benchmark message triggering execution start of said program code upon receipt in said reflecting entity; said allotting of said benchmark message is made such as to select capabilities from processing, memory, communication, input/ output, and storage as capabilities to be monitored on said reflecting entity so that the selected capabilities match capabilities that are of importance for a subsequent use of said reflecting entity; and said program code of said benchmark message requesting said selected capabilities of said reflecting entity when being executed; - initiating sending of said benchmark message to said reflecting entity, wherein said benchmark message is sent by said monitoring initiating entity on request of a client to run a software on said compute infrastructure; - receiving a benchmark reply message; said benchmark reply message being created by said reflecting entity as a response to said sent benchmark message when said execution of said program code has finished and said benchmark reply message comprises execution time and optionally execution result of said execution of said program code in said reflecting entity; and - analysing said received benchmark reply message giving information about said selected capabilities. - allotting a benchmark message; said benchmark message comprising a program code or references to said program code, to be executed on a reflecting entity being able to execute said program code, said reflecting entity being intended to be monitored, said benchmark message triggering execution start of said program code upon receipt in said reflecting entity; said allotting of said benchmark message is made such as to select capabilities from processing, memory, communication, input/ output, and storage as capabilities to be monitored on said reflecting entity so that the selected capabilities match capabilities that are of importance for a subsequent use of said reflecting entity; and said program code of said benchmark message requesting said selected capabilities of said reflecting entity when being executed; said benchmark message comprising a program code or references to said program code, to be executed on a reflecting entity being able to execute said program code, said reflecting entity being intended to be monitored, said benchmark message triggering execution start of said program code upon receipt in said reflecting entity; said allotting of said benchmark message is made such as to select capabilities from processing, memory, communication, input/ output, and storage as capabilities to be monitored on said reflecting entity so that the selected capabilities match capabilities that are of importance for a subsequent use of said reflecting entity; and said program code of said benchmark message requesting said selected capabilities of said reflecting entity when being executed; - initiating sending of said benchmark message to said reflecting entity, wherein said benchmark message is sent by said monitoring initiating entity on request of a client to run a software on said compute infrastructure; - receiving a benchmark reply message; said benchmark reply message being created by said reflecting entity as a response to said sent benchmark message when said execution of said program code has finished and said benchmark reply message comprises execution time and optionally execution result of said execution of said program code in said reflecting entity; and - analysing said received benchmark reply message giving information about said selected capabilities.