epics-modules / xxx

APS BCDA synApps module: xxx
http://epics-modules.github.io/xxx
Other
5 stars 6 forks source link

xxx.sh sometimes fails to report when the IOC is running in a screen session #22

Closed kmpeters closed 5 years ago

kmpeters commented 5 years ago

xxx.sh sometimes fails to report when the IOC is running in a screen session. This is caused by differences in the output of the pgrep and ps commands; ps prepends white space to pids with few digits, which breaks the string comparison.