Foros de discusión
Statistics
Lambert Mickael, modificado hace 11 años.
Statistics
Junior Member Mensajes: 58 Fecha de incorporación: 29/12/11 Mensajes recientes
Hello,
After looking on a lot of forum, i was asking if it's possible to get some statistics for portlets.
I'll like to create a new portlet which contains the following stats :
- Number of online users
- Number of total users
- Number of pages in a wiki.
That's it, i hope you can help me.
Have a good day!
After looking on a lot of forum, i was asking if it's possible to get some statistics for portlets.
I'll like to create a new portlet which contains the following stats :
- Number of online users
- Number of total users
- Number of pages in a wiki.
That's it, i hope you can help me.
Have a good day!
Hitoshi Ozawa, modificado hace 11 años.
RE: Statistics
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
Number of users and number of wiki pages can be found by using UserLocalServiceUtil and WikiPageLocalServiceUtil
Lambert Mickael, modificado hace 11 años.
RE: Statistics
Junior Member Mensajes: 58 Fecha de incorporación: 29/12/11 Mensajes recientes
Thanks for the answer, i'll try this!
What about number of users online ?
What about number of users online ?
David H Nebinger, modificado hace 11 años.
RE: Statistics
Liferay Legend Mensajes: 14916 Fecha de incorporación: 2/09/06 Mensajes recientes
You have to enable live monitoring in portal-ext.properties. You can then reference the monitoring jsp page to figure out how to get the number of live users, although this breaks down in a clustered system because an instance of the cluster doesn't share their user count w/ the rest of the instances.