Forum Discussion

vijayku007's avatar
vijayku007
New Contributor
7 years ago

How to save the List of running processes with Process id in csv file using Java.

Can someone pls provide me the script for 

 

How to save the List of running processes with Process id in csv file using Java

 

Thanks,

Vijay K.

  • baxatob's avatar
    baxatob
    Community Hero

    You should do something like:

     

    for (i = 0; i < Sys.ChildCount; i++) {
      Log.Message(Sys.Child(i).Id); // update this string to record data to csv
    }