Re: Onstat question
Posted in 1997
Bringing online down and up is not a solution, because the "problem" you
have is kinda random.
I had the same one, and I called the tech support.
The message "Changing data structure..." is due to concurrent access to
shared memory.
I.E., onstat -u reads data from the shared memory, but has a lower priority
than online, which changes its shared memory entries when it wants. So,
don't worry about it, it's just an annoying message not an error one ;-)
BTW, don't write shell scripts that rely on onstat's output...
Cheers.
Valery
--
Valery Fouques valou@hotmail.com
SYSADM GOSPORT-FRANCE /\\oO/\\
_ __/|
\\`O.o' "355/113 -- Not the famous irrational
=(_ _)= number PI, but an incredible simulation!"
U
Michel Auger <Michel.Auger@cgi.ca> wrote in article
<Michel.Auger.20.000A9376@cgi.ca>...
>
>
> When we use the Onstat -u , sometimes we get this display:
>
> onstat -u>
> INFORMIX-OnLine Version 7.12.UC1 -- On-Line -- Up 11 days 20:31:52 --
142096 Kbytes
>
> Userthreads
> address flags sessid user tty wait tout locks nreads
nwrites
> 332c020 ---P--D 0 informix - 0 0 0 2100
1585
> 332c6a8 ---P--F 0 informix - 0 0 0 0
0
> 332cd30 ---P--F 0 informix - 0 0 0 0
0
> 332d3b8 ---P--F 0 informix - 0 0 0 0
0
> 332da40 ---P--F 0 informix - 0 0 0 0
0
> 332e0c8 ---P--B 8 informix - 0 0 0 1868
10682
> 332e750 ---P--D 0 informix - 0 0 0 0
0
> 3330170 Y--P--- 11899 G4SLUS03 - 5fae4e0 0 1 44
109
> 3330e80 Y--P--- 11837 intdba ttyq1 603cef8 0 1 1
0
> 3331b90 Y--P--- 11812 sylvainL ttypc 4437548 0 1 2
0
> Changing data structure forced command termination.
>
>
> Does anyone know why we are getting the message "Changing data structure
.." ?
>
> How can we prevent this from happening ? We found that, by bringing
Online
> down and then up, it solves this problem. Is there a better alternative ?
>
> Thank you
>
> Michel
>