RE: [Q] "onstat -u" output
Posted in 1995
----------
From: CRAIG@CHEMISTRY.CHEM.UTAH.EDU[SMTP:CRAIG@CHEMISTRY.CHEM.UTAH.EDU]
Sent: Tuesday, November 28, 1995 2:45 PM
To: lid@rmy.emory.edu
Cc: informix-list@rmy.emory.edu
Subject: RE: [Q] "onstat -u" output
Diana,
FWIW, I would answer your question as follows:
11 active - Number of active threads. Count them, yup there's
11.
128 total - USERTHREADS. In 7.10, this should reflect what
you've configured as the max # of user threads.
19 max concurrent - Peak number of threads since stats were
initialized.
Now, don't ask me how the number of threads relates to the number
of users you are licensed for. I've never been able to figure that
one out! Also, get ready for 7.11. In that version, USERTHREADS
will be dynamically allocated. Thus, onstat -u will show just the
current and peak number of threads. (If memory serves)
Actually Craig, USERSTHREADS become dynamically allocated in 7.10.UD1. The
number of 128, is probably the initial size of this resource (based on
other config info). When necessary, the Server dynamically allocates to
this resource.
There is no 1 to 1 between USERTHREADS and actual users. A single user
could have 20 or 30 threads, depending on what the user is doing, and again
how the server has been configured.
Jon
------------------------------
Jon C. Vemo
jvemo@cyberspace.com
Bothell, WA U.S.A.
--Craig (craig@chemistry.utah.edu)
}
}INFORMIX-OnLine Version 7.10.UD1 -- On-Line -- Up 1 days 06:08:48 --
36784 Kby
}tes
}
}Userthreads
}address flags sessid user tty wait tout locks nreads
nwrites
}
}4000a010 ---P--D 0 root - 0 0 0 12 1
}4000a444 ---P--F 0 root - 0 0 0 0 0
}4000a878 ---P--F 0 root - 0 0 0 0 0
}4000acac ---P--F 0 root - 0 0 0 0 0
}4000b0e0 ---P--F 0 root - 0 0 0 0 0
}4000b514 ---P--F 0 root - 0 0 0 0 0
}4000b948 ---P--B 5 root - 0 0 0 0 0
}4000bd7c ---P--D 0 root - 0 0 0 0 0
}4000c1b0 Y--P--- 8 cfgmgr - 403a39a0 0 1 0 0
}4000c5e4 Y--P--- 3 wscap - 403912c8 0 1 91 0
}4000ca18 Y--P--- 24 viggiand 1 40372294 0 1 4
15
} 11 active, 128 total, 19 maximum concurrent
}
}The last line of this output confuses me. We have a 16-user liscence
installed on this UNIX
}server. What does the "128 total" mean ? Is the "xx maximum concurrent --
max. user connected
}once since the server is initialized last time" always accurate ?
}