{"id":4871,"date":"2024-08-07T07:03:36","date_gmt":"2024-08-07T07:03:36","guid":{"rendered":"https:\/\/www.aegissofttech.com\/insights\/?p=4871"},"modified":"2025-12-19T13:10:38","modified_gmt":"2025-12-19T13:10:38","slug":"servicenow-xmlstats-do-command","status":"publish","type":"post","link":"https:\/\/www.aegissofttech.com\/insights\/servicenow-xmlstats-do-command\/","title":{"rendered":"Troubleshooting in ServiceNow: Deep Dive into the xmlStats.do Command"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Troubleshooting in ServiceNow: The xmlStats.do Command Tutorial<\/h2>\n\n\n\n<p>In ServiceNow, the `xmlStats.do` command is a powerful diagnostic tool used to monitor system performance. The command \u201chttps:\/\/instance.com\/xmlastats.do\u201d provides detailed XML output containing important statistics about the system&#8217;s health, including memory details, active sessions, node performance, and database activity. For organizations leveraging <strong><a href=\"https:\/\/www.aegissofttech.com\/servicenow-services\/managed-services\" target=\"_blank\" rel=\"noreferrer noopener\">ServiceNow Managed Services<\/a><\/strong>, this tool plays a crucial role in proactively maintaining optimal performance and ensuring a smoothly managed environment.<\/p>\n\n\n\n<p>This information is crucial for administrators to identify system performance and ensure the instance runs smoothly. This command can be essential for effective system monitoring and troubleshooting in ServiceNow.<\/p>\n\n\n\n<p>Post San Diego\u00a0release, the System Diagnostics homepage is deprecated ,which provides system performance metrics. By default, new instances post San Diego version do not have a System Diagnostics homepage. \u00a0It was truly the best tool to understand the instance health and optimize the instance performance. However, the `xmlStats.do` command can be a valuable alternative.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Overview of various components of <strong>xmlStats.do<\/strong> and how to interpret them<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Node Details:<\/strong><\/h2>\n\n\n\n<p>This section gives clear picture of nodes available, and their status.<\/p>\n\n\n\n<p>In addition, it also gives if they are available for AHA readiness (Advanced High Availability Readiness)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"853\" height=\"393\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/Troubleshooting-in-ServiceNow.png\" alt=\"Node Details ServiceNow Tutorial \" class=\"wp-image-4872\" style=\"width:1022px;height:auto\" title=\"Node Details ServiceNow Tutorial \" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/Troubleshooting-in-ServiceNow.png 853w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/Troubleshooting-in-ServiceNow-300x138.png 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/Troubleshooting-in-ServiceNow-768x354.png 768w\" sizes=\"(max-width: 853px) 100vw, 853px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Flow Details:<\/h2>\n\n\n\n<p>This section shows information about executed flows and details about the Flow Engine Event Handler. This helps to troubleshoot issues related to flow execution, such as flows that are not running or are stuck.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"847\" height=\"723\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/xmlStats.do-Command.png\" alt=\"Flow Details ServiceNow Tutorial\" class=\"wp-image-4873\" style=\"width:1022px;height:auto\" title=\"Flow Details ServiceNow Tutorial\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/xmlStats.do-Command.png 847w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/xmlStats.do-Command-300x256.png 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/xmlStats.do-Command-768x656.png 768w\" sizes=\"(max-width: 847px) 100vw, 847px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Semaphore details:<\/strong><\/h2>\n\n\n\n<p>Semaphores define number of transactions that a node can execute. This can be analysed to understand node health with respect to transactions.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"79\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/semaphore-servicenow-1024x79.png\" alt=\"Semaphore details ServiceNow Tutorial \" class=\"wp-image-4874\" style=\"width:1022px;height:auto\" title=\"Semaphore details ServiceNow Tutorial \" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/semaphore-servicenow-1024x79.png 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/semaphore-servicenow-300x23.png 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/semaphore-servicenow-768x60.png 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/semaphore-servicenow.png 1366w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Thread details:<\/strong><\/h2>\n\n\n\n<p>Threads are similar to semaphores. Worker threads are responsible for executing scheduled jobs.<\/p>\n\n\n\n<p>The Thread metrics can be analysed to understand the long-running scheduled jobs in the instance.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"599\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/tread-details-servicenow-1024x599.png\" alt=\"Thread details servicenow tutorial \" class=\"wp-image-4875\" style=\"width:1022px;height:auto\" title=\"Thread details servicenow tutorial \" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/tread-details-servicenow-1024x599.png 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/tread-details-servicenow-300x176.png 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/tread-details-servicenow-768x449.png 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/tread-details-servicenow.png 1417w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Pending schedule jobs and update sets installed in last 24 hours:<\/strong><\/h2>\n\n\n\n<p>This section provides information about pending scheduled jobs and updates installed in the last 24 hours. It helps in troubleshooting long-running jobs and identifying recent updates that might be affecting system performance.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"951\" height=\"121\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/servicenow-tutorial.png\" alt=\"Pending schedule jobs servicenow tutorial\" class=\"wp-image-4876\" style=\"width:1022px;height:auto\" title=\"Pending schedule jobs servicenow tutorial\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/servicenow-tutorial.png 951w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/servicenow-tutorial-300x38.png 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/servicenow-tutorial-768x98.png 768w\" sizes=\"(max-width: 951px) 100vw, 951px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Current logged-in<\/strong> user&#8217;s<strong> details<\/strong><\/h2>\n\n\n\n<p>This section shows the number of users currently logged in per node, as well as a role-wise user count. This helps administrators understand node performance concerning user transactions.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"349\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/current-logged-in-servicenow-tutoral-1024x349.png\" alt=\"Current logged in users details servicenow tutorial \" class=\"wp-image-4877\" style=\"width:1022px;height:auto\" title=\"Current logged in users details servicenow tutorial \" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/current-logged-in-servicenow-tutoral-1024x349.png 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/current-logged-in-servicenow-tutoral-300x102.png 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/current-logged-in-servicenow-tutoral-768x262.png 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/current-logged-in-servicenow-tutoral-1536x524.png 1536w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/current-logged-in-servicenow-tutoral.png 1900w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"553\" height=\"223\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/Current-logged-in-users-details-servicenow-tutorial.png\" alt=\"Current logged in users details servicenow tutorial \" class=\"wp-image-4878\" style=\"width:1022px;height:auto\" title=\"Current logged in users details servicenow tutorial \" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/Current-logged-in-users-details-servicenow-tutorial.png 553w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/Current-logged-in-users-details-servicenow-tutorial-300x121.png 300w\" sizes=\"(max-width: 553px) 100vw, 553px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Inbound and outbound email metrics:<\/strong><\/h2>\n\n\n\n<p>Inbound and outbound email processing is crucial in any instance. Particularly if the instance is a production instance, it is important that the instance processes inbound emails for various inbound actions and outbound emails for various communications.<\/p>\n\n\n\n<p>The metrics give processed count, time and related jobs. This helps to understand system performance in terms of sending and receiving emails<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"573\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/Inbound-and-outbound-emails-metrics-1024x573.png\" alt=\"Inbound and outbound emails metrics servicenow tutorial\" class=\"wp-image-4879\" style=\"width:1022px;height:auto\" title=\"Inbound and outbound emails metrics servicenow tutorial\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/Inbound-and-outbound-emails-metrics-1024x573.png 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/Inbound-and-outbound-emails-metrics-300x168.png 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/Inbound-and-outbound-emails-metrics-768x430.png 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/Inbound-and-outbound-emails-metrics.png 1530w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Plugin Details:<\/strong><\/h2>\n\n\n\n<p>This section lists all the plugins installed in the instance, their versions, and installation dates. This information helps quickly identify when specific plugins were installed in the instance.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"664\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/Plugin-Details-servicenow-tutorial-1024x664.png\" alt=\"Plugin Details servicenow tutorial\" class=\"wp-image-4880\" style=\"width:1022px;height:auto\" title=\"Plugin Details servicenow tutorial\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/Plugin-Details-servicenow-tutorial-1024x664.png 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/Plugin-Details-servicenow-tutorial-300x195.png 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/Plugin-Details-servicenow-tutorial-768x498.png 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2024\/08\/Plugin-Details-servicenow-tutorial.png 1315w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In addition to the above metrics, other important information like instance data replication details, event details, mid servers in the instance details, URI response times, JVM details and memory details in the instance can be found from the xmlStats.do the command. This information provides a comprehensive view of the instance performance health.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>The \u201cInclude\u201d Argument:<\/strong><\/h2>\n\n\n\n<p>Use the xmlStats.do?include=&lt;section> command to pull up specific section details. Instead of pulling up the whole XML output of the <a href=\"https:\/\/www.aegissofttech.com\/insights\/servicenow-instance-performance\/\" target=\"_blank\" rel=\"noreferrer noopener\">ServiceNow instance performance<\/a>, this argument can be used to specify a piece of information the admins need.<\/p>\n\n\n\n<p>For example, to only get thread details, use <strong>xmlStats.do?include=threads<\/strong>. This helps to get more understandable pieces of information from a complex XML output.<\/p>\n\n\n\n<p><strong>Helpful docs:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>https:\/\/docs.servicenow.com\/bundle\/washingtondc-it-operations-management\/page\/product\/event-management\/task\/xmlstats-oi-self-health.html<\/li>\n\n\n\n<li>https:\/\/docs.servicenow.com\/bundle\/xanadu-it-operations-management\/page\/product\/event-management\/task\/monitor-event-processing-metrics.html<\/li>\n\n\n\n<li>https:\/\/docs.servicenow.com\/bundle\/xanadu-servicenow-platform\/page\/administer\/instance-data-replication\/reference\/IDR-XML-stats.html<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":" ","protected":false},"author":13,"featured_media":4884,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[257],"tags":[904,905],"class_list":["post-4871","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-servicenow","tag-troubleshooting-in-servicenow","tag-xmlstats-do-command"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/posts\/4871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/comments?post=4871"}],"version-history":[{"count":14,"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/posts\/4871\/revisions"}],"predecessor-version":[{"id":14508,"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/posts\/4871\/revisions\/14508"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/media\/4884"}],"wp:attachment":[{"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/media?parent=4871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/categories?post=4871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/tags?post=4871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}