Hello,
How to check the patch version of WinCC OA on Linux without starting gedi?
The usual --version does not work.
Cheers,
Sebastien
Linux Command for quick check of WinCC OA version and patch number installed
- sblancha
- Posts:64
- Joined: Thu Feb 18, 2016 4:18 pm
Linux Command for quick check of WinCC OA version and patch number installed
- agruber
- Posts:147
- Joined: Tue Sep 07, 2010 2:52 pm
Re: Linux Command for quick check of WinCC OA version and patch number installed
Hello,
A very basic check your be the following:
Will output every package with the name WinCC in it, like: WinCC_OA_3.15-base-rhel-0-8.x86_64
BR, Andreas
Customer Care
A very basic check your be the following:
Code: Select all
rpm -qa | grep WinCC
BR, Andreas
Customer Care
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: Linux Command for quick check of WinCC OA version and patch number installed
/opt/WinCC_OA/3.15/bin/WCCOAui -version
- sblancha
- Posts:64
- Joined: Thu Feb 18, 2016 4:18 pm
Re: Linux Command for quick check of WinCC OA version and patch number installed
Thanks, exactly what I need.
Cheers,
Sebastien
Cheers,
Sebastien
- RudiKreiner
- Posts:198
- Joined: Mon May 16, 2011 2:10 pm
Re: Linux Command for quick check of WinCC OA version and patch number installed
If the command line contains 3.15 then I already know what version I am running.
The command works too if I just enter
WCCOAui -version
if my PATH environment variable is set properly. Then I get this output (we are still using 3.14 as you can see)
WCCOAui (0), 2018.02.06 08:35:25.875: 3.14 platform Linux x86_64 linked at Dec 16 2016 12:17:04
WCCOAui (0), 2018.02.06 08:35:25.875: libBasics: $Revision: 3.14 $ (Dec 1 2016 11:58:34)
Theoretically I could have both 3.14 and 3.15 installed and the answer that I get would depend on how PATH is set.
On my notebook I have both 3.14 and 31.5 installed (in different directories than the recommended defaults)
The command
C:\\home\\pvss\\3.14\\bin\\WCCOAui -version
answers with
WCCOAui (0), 2018.02.06 08:42:57.943: 3.14 platform Windows AMD64 linked at Dec 16 2016 12:07:15
WCCOAui (0), 2018.02.06 08:42:57.943: libBasics: $Revision: 3.14 $ (Nov 24 2016 10:11:51)
The command
C:\\home\\pvss\\3.14\\bin\\WCCOAui -version
answers with
WCCOAui (0), 2018.02.06 08:40:29.495: 3.15 platform Windows AMD64 linked at Oct 31 2016 09:15:31
WCCOAui (0), 2018.02.06 08:40:29.495: libBasics: $Revision: 3.15 $ (Oct 31 2016 07:49:37)
but in both cases I see no information about the patch levels, which was actually a part of the original request.
In 3.14 I know that I have patch 8 installed because I see this file:
C:\\home\\pvss\\3.14\\ReadmeP008.txt
Even this control scripts
main() { DebugN(VERSION_DISP); }
only returns
["3.14"]
but no patch number, too bad.
(WinCC Help says that an installed service pack number would also be returned)
See also the help on the environment variables VERSION and VERSION_NUMERIC for other variations.
The command works too if I just enter
WCCOAui -version
if my PATH environment variable is set properly. Then I get this output (we are still using 3.14 as you can see)
WCCOAui (0), 2018.02.06 08:35:25.875: 3.14 platform Linux x86_64 linked at Dec 16 2016 12:17:04
WCCOAui (0), 2018.02.06 08:35:25.875: libBasics: $Revision: 3.14 $ (Dec 1 2016 11:58:34)
Theoretically I could have both 3.14 and 3.15 installed and the answer that I get would depend on how PATH is set.
On my notebook I have both 3.14 and 31.5 installed (in different directories than the recommended defaults)
The command
C:\\home\\pvss\\3.14\\bin\\WCCOAui -version
answers with
WCCOAui (0), 2018.02.06 08:42:57.943: 3.14 platform Windows AMD64 linked at Dec 16 2016 12:07:15
WCCOAui (0), 2018.02.06 08:42:57.943: libBasics: $Revision: 3.14 $ (Nov 24 2016 10:11:51)
The command
C:\\home\\pvss\\3.14\\bin\\WCCOAui -version
answers with
WCCOAui (0), 2018.02.06 08:40:29.495: 3.15 platform Windows AMD64 linked at Oct 31 2016 09:15:31
WCCOAui (0), 2018.02.06 08:40:29.495: libBasics: $Revision: 3.15 $ (Oct 31 2016 07:49:37)
but in both cases I see no information about the patch levels, which was actually a part of the original request.
In 3.14 I know that I have patch 8 installed because I see this file:
C:\\home\\pvss\\3.14\\ReadmeP008.txt
Even this control scripts
main() { DebugN(VERSION_DISP); }
only returns
["3.14"]
but no patch number, too bad.
(WinCC Help says that an installed service pack number would also be returned)
See also the help on the environment variables VERSION and VERSION_NUMERIC for other variations.
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: Linux Command for quick check of WinCC OA version and patch number installed
/opt/WinCC_OA/3.15/bin/WCCOActrl -version
WCCOActrl (0), 2018.02.06 10:14:46.122: 3.15 platform Linux x86_64 linked at Oct 25 2017 13:31:04
WCCOActrl (0), 2018.02.06 10:14:46.122: libBasics: $Revision: 3.15 $ Patch 7 (Oct 20 2017 10:45:29)
Since 3.15 it includes the Patch.
WCCOActrl (0), 2018.02.06 10:14:46.122: 3.15 platform Linux x86_64 linked at Oct 25 2017 13:31:04
WCCOActrl (0), 2018.02.06 10:14:46.122: libBasics: $Revision: 3.15 $ Patch 7 (Oct 20 2017 10:45:29)
Since 3.15 it includes the Patch.
- RudiKreiner
- Posts:198
- Joined: Mon May 16, 2011 2:10 pm
Re: Linux Command for quick check of WinCC OA version and patch number installed
The 3.15 version on my notebook was a beta version. That is probably why I wasn't seeing the patch level there.