Skip to content
Snippets Groups Projects
Commit cf9af10d authored by Arno Schoenmakers's avatar Arno Schoenmakers
Browse files

TAsk #6553: Changes for WinCC

parent 633db60a
No related branches found
No related tags found
No related merge requests found
......@@ -433,8 +433,15 @@ status_prog()
# this.
highest_level_running=$levelnr
else
pid="DOWN"
fi
pid="DOWN"
if [ "$prog" == "PVSS00pmon" ]; then
# Check for WCCILpmon (3.14 equivalent)
/sbin/pidof -x WCCILpmon 1>/dev/null 2>&1
if [ $? -eq 0 ]; then
pid=( `/sbin/pidof -x WCCILpmon` )
fi
fi
fi
if [ "$pid" != "DOWN" ] && [ ${#obsid[0]} != 0 ]; then
echo ${levelnr}:${prog}:${pid[*]}:${obsid[*]} | awk -F: '{ printf "%s : %-25s %s [ObsID: %s]\n", $1, $2, $3, $4 }'
......
......@@ -37,6 +37,7 @@ CS032 32
# central (60-69)
# 60
MCU001 61
MCU002 63
# 61 .. 69
# wan (70-79)
......@@ -46,7 +47,8 @@ WAN001 71
# cep (80-89)
# 80
CEP001 81
CCU001 81
CCU002 83
# 82 .. 89
# spare (90-99)
......
......@@ -68,6 +68,7 @@ CS501 181 C 6.8665950 52.9263631 56.53 12 6 96 48 Ye
## 60
#MCU001 61
#MCU099 62
MCU002 63
#MCU100 1063
## 61 .. 69
......@@ -81,6 +82,7 @@ CS501 181 C 6.8665950 52.9263631 56.53 12 6 96 48 Ye
#CCU001 81
#CCU099 82
#CCU100 1083
CCU002 83
## 82 .. 89
## spare (90-99)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment