Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
HI,I hava a problem.
/home/informix/etc>onstat -
Informix Dynamic Server Version 9.30.UC4 -- On-Line -- Up 103 days 05:37:36
-- 269068 Kbytes
How does it is calculate for "269068 Kbytes" ? tks
SQL NET said:
>
> HI,I hava a problem.
>
> /home/informix/etc>onstat -
> Informix Dynamic Server Version 9.30.UC4 -- On-Line -- Up 103 days
> 05:37:36
> -- 269068 Kbytes
>
> How does it is calculate for "269068 Kbytes" ? tks
By adding up all the bytes allocated to shared memory.
--
Bye now,
Obnoxio
"... no bill is required as no value was provided."
-- Christine Normile
↪ replying to SQL NET
Marco Greco — — source: IIUG Forums & Mailing Lists
SQL NET wrote:
> HI,I hava a problem.
>
> /home/informix/etc>onstat -
> Informix Dynamic Server Version 9.30.UC4 -- On-Line -- Up 103 days 05:37:36
> -- 269068 Kbytes
>
> How does it is calculate for "269068 Kbytes" ? tks
onstat doesn't calculate it - it reads from shared memory that the engine has
physically allocated shared memory segments for a total amount of 269068
Kbytes. Do an onstat -g seg, and that will show you each of the allocated
shared memory, together with size, base address, key, etc
--
Ciao,
Marco
______________________________________________________________________________
Marco Greco /UK /IBM Standard disclaimers apply!
Structured Query Scripting Language http://www.4glworks.com/sqsl.htm
4glworks http://www.4glworks.com
Informix on Linux http://www.4glworks.com/ifmxlinux.htm
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.