adoptium / jenkins-helper

Jenkins Node helper API and helper jobs
Apache License 2.0
7 stars 26 forks source link

CPU information for zOS #9

Open VermaSh opened 6 years ago

VermaSh commented 6 years ago

Need to figure a command that can be executed from Groovy

VermaSh commented 6 years ago

Update: IPLINFO.TXT on this website http://mzelden.com/mvsutil.html has a C script to get CPU count NUMCPU = C2d(Storage(D2x(CSD + 212),4)) /* point to # of CPUS */

jdekonin commented 6 years ago

https://www-03.ibm.com/systems/z/os/zos/features/unix/bpxa1ty2.html oeconsol "D M=CPU" | grep ".. + " | wc -l To get memory... oeconsol "D M=STOR"

gdams commented 6 years ago

oeconsol isn't currently on the zOS machines but it looks like we could add it quite easily