1. A system for generating application-level dependencies in one or more virtual machines (VMs), comprising: an application performance management (APM) server running on a physical machine, to accept a request and send a command to at least one forward daemon to turn on inspect status of at least one related VM of said one or more VMs, and generate an application trajectory of a selected application and export application dependencies for said selected application; one or more intercepting modules, wherein each intercepting module intercepts a guest operation system (OS) at transmission control protocol (TCP) send and close related operations on the at least one related VM; and one or more introspecting modules, wherein each introspecting module performs VM introspection for TCP connection and running thread information.