• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
ControlUp Community

ControlUp Community

Connect, Learn, and Grow

  • Blog
  • Podcast
  • Meetups
  • Archives
  • Categories
    • ControlUp One Platform
    • ControlUp for Apps
    • ControlUp for Compliance
    • ControlUp for Desktops
    • ControlUp Scripts & Triggers
    • ControlUp Synthetic Monitoring
    • ControlUp for VDI
  • Topics
  • Events
    • Logos & Wallpaper
    • ControlUp.com
  • Join

Does ControlUp keep a log of user input delay anywhere, or is it merely a realtime thing?

Posted on March 8, 2023

This discussion addressed whether ControlUP keeps a log of user input delay. It was suggested to use the Monitor PS cmdlets Export-CUQuery to query the Sessions table and Field UserInputDelay. An example was given on how to refresh this table every two seconds for a duration of 200 seconds using Invoke-CUQuery and Export-Csv.


Read the entire ‘Logging User Input Delay with ControlUP’ thread below:

Does ControlUP keep a log of user input delay anywhere, or is it merely a realtime thing?


My suggestion: Use the Monitor PS cmdlets (in this case Export-CUQuery) and write a script that manually queries the Sessions table, Field UserInputDelay. As this is a real-time metric, I think you would need to query this table quite frequently to get useful results


An example with the Invoke-CUQuery (which you could basically use as well to send the output to a file (Out-File))


If you want to refresh every 2 secs (for a duration of 200 seconds)

for ($i = 0; $i -lt 100; $i++) {

`$now = Get-Date`

`$queryResult = (Invoke-CUQuery -scheme Main -Table Sessions -Fields UserInputDelay, ADDN, sServerName -Where "UserInputDelay > 0.0").Data`

`$output = $queryResult | Select-Object *,@{Name=’Timestamp’;Expression={$now}}`

`$output | Export-Csv -Path ‘C:\tmp\UserInputDelayOverview.csv’ -Append -NoTypeInformation`

`Start-Sleep -Milliseconds 2000`

}

Continue reading and comment on the thread ‘Does ControlUp keep a log of user input delay anywhere, or is it merely a realtime thing?’.  Not a member? Join Here!


Categories: All Archives, ControlUp Scripts & Triggers
Topics: Logs, Scripts

Ask Us Anything, Connect, Learn, and Grow with the ControlUp Community!

Login to the ControlUp Community to ask us anything, stay up-to-date on what’s new and coming soon and meet other like-minded techies like you.

Not already a member? Join Today!

Primary Sidebar

ControlUp Academy

Enroll in ControlUp Academy for expert-led technical training, equipping you with skills to effectively deploy, manage, and grow your ControlUp investment.

Learn here >

Rotating Images

Hidden Gem from our Community on Slack!

ControlUp Betas - What's Coming Next?
NEW ControlUp Features - Stay Up-to-Date!
ControlUp Scripts - Scripting, Zero to Hero
Latest KB Articles - Be the First to Learn
Did you Know - with Sivan Kroitoru
Practical Perspectives Technical Use Case Training

Video Tutorials Library

Visit our technical how-to videos, offering step-by-step tutorials on advanced features, troubleshooting, and best practices.

Watch here >

ControlUp Blog

Check out the ControlUp blog for expert advice and in-depth analysis.

Read here >

ControlUp Script Library

Visit the ControlUp technical script library, which offers a multitude of pre-built scripts and custom actions for your monitoring and troubleshooting requirements.

See here >

ControlUp Support

Visit the ControlUp support home and to delve deeper into ControlUp solutions.

Browse here >

Download ControlUp RealTime DX

Start with ControlUp for real-time end-user environment insights, swift troubleshooting, and unprecedented performance optimization. Download now.

Download here >

Footer

      

ControlUp Community
Of Techie, By Techie, For Techie!

Terms of Use | Privacy Policy | Security
Dive Deeper, Learn more at ControlUp.com

  • facebook
  • twitter
  • youtube
  • linkedin

© 2023–2025 ControlUp Technologies LTD, All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. by continuing to use this site you agree to our Cookie policy..