How Can I Tell if My VI is Using Too Much Processor Time in Linux? Primary Software: LabVIEW Development Systems>>Professional Development SystemPrimary Software Version: 8.5.1 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have made a VI that causes my machine to run abnormally slow. I think it may be taking too much processor time. How can I check the processor usage of my VI in Linux? Solution: You can use the program top to check the running tasks in Linux and compare the amount of processor time taken by each. You can run this program from your command line by typing top. This will display all the running processes and their associated resource usage. If you start your VI and then look for the LabVIEW entry in top's output, you can see its percentage of processor usage as well as other key resource statistics such as memory usage. If the CPU percentage is at or near 100%, your VI is using all processor time and starving other running processes on the machine. ![]() Related Links: KnowlegeBase 11H902U3: How Can I Keep One Loop From Starving Other Loops of Processor Time? KnowlegeBase 0YTBPJQL: Why Does a LabWindows/CVI Application Use So Much Processor Time? Attachments:
Report Date: 07/23/2008 Last Updated: 08/22/2008 Document ID: 4NMJUSMO |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

