Hi Rupinder, You can use the server monitoring APIs to check status of your MarkLogic Server cluster:
http://docs.marklogic.com/4.2doc/docapp.xqy#display.xqy?fname=http://pubs/4.2doc/xml/performance/status.xml%2361508 http://docs.marklogic.com/4.2doc/docapp.xqy#display.xqy?fname=http://pubs/4.2doc/apidoc/AdminBuiltins.xml&category=Server+Monitoring Monitoring can be a complicated topic. You should probably monitor some operating system stats on your machines as well (for example, CPU, I/O). -Danny ________________________________________ From: [email protected] [[email protected]] On Behalf Of Rupinder Singh [[email protected]] Sent: Monday, August 29, 2011 8:58 PM To: [email protected] Subject: [MarkLogic Dev General] Cluster Status Hi, I have a question regarding which MarkLogic Admin API or any other API is the best to find out cluster status like how busy cluster is how many threads are in execution. What's the average time taken by threads? We need to check this so that we can run a particular process with varying number of threads depending on how busy the cluster is? So if the cluster is real busy then we will run minimal number of threads for this new process or may not even run this new process if we find that cluster is heavily loaded. And if the server is not loaded we may run more number of threads for this new process. Thanks, Rupinder _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
