Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
RMotta2408
Creator II
Creator II

Name of the machine the Job is running on

Hi everyone,

 

I wonder if there's a way to get the name of the machine the Job is running on.
I know that, using the command "System.getProperty("java.vm.name")" I get the information regarding the VM (i.e OpenJDK 64-Bit Server VM). But I'm interested in getting the name of the computer the Job is running in.
Is there a way to get it?

Thank you,
Rui

Labels (2)
1 Solution

Accepted Solutions
RMotta2408
Creator II
Creator II
Author

Hi,

I found out that this command does the trick:
System.getenv("COMPUTERNAME")

Thank you all,

Rui

View solution in original post

1 Reply
RMotta2408
Creator II
Creator II
Author

Hi,

I found out that this command does the trick:
System.getenv("COMPUTERNAME")

Thank you all,

Rui