adapted to new license server

This commit is contained in:
Franz Roters 2017-03-24 10:54:34 +01:00
parent bdbaaa3ecf
commit 9493807c1d
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class Environment():
'explicit':5}
if Nneeded == -1: Nneeded = licensesNeeded[software]
try:
cmd = """ ssh mulicense2 "/Stat_Flexlm | grep 'Users of %s: ' | cut -d' ' -f7,13" """%software
cmd = """ ssh mulicense2 "/lm-status | grep 'Users of %s: ' | cut -d' ' -f7,13" """%software
process = subprocess.Popen(shlex.split(cmd),stdout = subprocess.PIPE,stderr = subprocess.PIPE)
licenses = list(map(int, process.stdout.readline().split()))
try: