Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 4 out of 5     Rate this Document

How Can I Find The Process ID (PID) of LabVIEW in Linux?

Primary Software: LabVIEW Development Systems>>Professional Development System
Primary Software Version: 8.5.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I need to know the process ID of LabVIEW in order to end the task, attach a debugger, change its priority or perform other operations on the running process in Linux. How can I find this value?

Solution:
You can find the process ID of a running application in Linux by using the ps command.  In order to find all the processes running on Linux, type in the following command:

ps –Al

This will return a detailed list of all processes currently running and their associated process IDs. If you wish to find the process ID of LabVIEW only, you can use the following command:

ps –lC labview

At the top of the list that is output by these commands are a series of column headers. The column titled PID contains the process ID of each process listed under the CMD header.



Related Links:
KnowlegeBase 252D81UZ: LabVIEW Runs Slower When a Linux System is Under Heavy Load

Attachments:





Report Date: 07/23/2008
Last Updated: 09/16/2008
Document ID: 4NML1TMO

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit