---
title: "How to pinpoint host and service execution time (perf_scan)"
description: "The perf_scan script helps identify hosts and services with the longest execution times. It runs on the Monitor server and shows the top five slowest hosts and services."
url: "https://docs.itrsgroup.com/docs/faq/op5/360003095358-op5-monitor-how-to-pinpoint-host-and-service-execution-time-perf-scan/index.html"
---

**Unsupported**



This script is not included with the product, and as such it is not supported.




1. Download the [file perf\_scan.pl](/faq/downloads/op5/perf_scan.pl "Download the configuration file") to your Monitor server, for example via curl:

   ```
   # curl -OL /faq/downloads/op5/360003095358-360004441397-perf_scan.pl
   ```

2. Make it executable (`chmod +x`).
3. Run the script without parameters to get the top 5 hosts and services that take the longest time to run.

   ```
   # chmod +x perf_scan.pl
   # ./perf_scan.pl --help
   perf_scan 0.2
   Usage: perf_scan [OPTIONS]
   OPTIONS:
       -h        list hosts
       -s        list services
       -l        number of hosts/services to show (default 5)
   ```


