2017-02-27 - Re: [GRASE-Hotspot] Display Total number of active user
Header Data
From: Hotspotuser <jo***s@algardata.pt>
Message Hash: 27ef611d278d3a9f0872ffcfe3eba6c7e6d54b4d0f96e38f8751a50c2fa3e37e
Message ID: <8aecb6a5-5927-4643-a03f-da4a0f1e3d6f@grasehotspot.org>
Reply To: <CAESLx0+qpK6kFnpC4kTPxFBi8SRUgTOd-88pyQxUb2dm-363-g@mail.gmail.com>
UTC Datetime: 2017-02-27 04:57:35 UTC
Raw Date: Mon, 27 Feb 2017 03:57:35 -0800
Raw message
You can use the command:
chilli_query list
>
for instance to get currently logged in users in REALTIME:
chilli_query list | grep -c "pass"
>
You can also check the MySQL table to get what users FREERADIUS "thinks"
that are active:
SELECT * FROM radius.radacct WHERE AcctStopTime is null and UserName <>
> "CoovaChilli";
>
because this will not always give you the same results as the first option
(chilli_query).
Running these from PHP is trivial so choose your best fit.
segunda-feira, 27 de Fevereiro de 2017 às 11:42:15 UTC, timwhite88 escreveu:
>
> That's a great idea Jerren. Can you please open an issue for it on Github
> so it doesn't get forgotten.
> https://github.com/GraseHotspot/grase-www-portal/issues/
> "Metrics" are something that are only useful if people actual care about
> the thing we are measuring, so letting me know what metrics people want
> will help me build a better status page, or dashboard.
>
> Regards
>
> Tim
>
> On Fri, Feb 24, 2017 at 1:38 PM, KIRA Ynet <ki***.@gmail.com <javascript:>
> > wrote:
>
>> Hi Tim,
>>
>> I'm not sure if anyone ever asked this here but i want to know if there
>> is easy way to know the total number of active user in grasehotspot system.
>> :)
>> I know that i can simply count one by one of the user but that take time.
>> So, if there is any possible way to monitor total active session user, or
>> integrate it in "Monitor Sessions" page, this could be great. :)
>>
>> Thanks Tim.
>>
>> Regards,
>> Jerren.
>>
>> --
>> This mailing list is for the Grase Hotspot Project
>> http://grasehotspot.org
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Grase Hotspot" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to gr***.@grasehotspot.org <javascript:>.
>> To post to this group, send email to gr***.@grasehotspot.org
>> <javascript:>.
>> Visit this group at
>> https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
>> To view this discussion on the web visit
>> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/e06c93ae-c798-4dbf-b0ff-64d75229f5d5%40grasehotspot.org
>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/e06c93ae-c798-4dbf-b0ff-64d75229f5d5%40grasehotspot.org?utm_medium=email&utm_source=footer>
>> .
>>
>
>
Thread
- Return to February 2017
-
Return to March 2017
- Return to “George Perlington <ge***e@seeag.com>”
- Return to “Hotspotuser <jo***s@algardata.pt>”
- Return to “José <jo***s@algardata.pt>”
- Return to “José Borges <jo***s@algardata.pt>”
- Return to ““[KIRA_90]” <ki***0@gmail.com>”
- Return to “KIRA Ynet <ki***0@gmail.com>”
-
Return to “Timothy White <ti***8@gmail.com>”
- 2017-02-23 (Thu, 23 Feb 2017 19:38:54 -0800) - Display Total number of active user - KIRA Ynet <ki***0@gmail.com>
- 2017-02-27 (Mon, 27 Feb 2017 21:42:14 +1000) - Re: [GRASE-Hotspot] Display Total number of active user - Timothy White <ti***8@gmail.com>
- 2017-02-27 (Mon, 27 Feb 2017 03:57:35 -0800) - Re: [GRASE-Hotspot] Display Total number of active user - Hotspotuser <jo***s@algardata.pt>
- 2017-02-27 (Mon, 27 Feb 2017 20:19:07 +0800) - Re: [GRASE-Hotspot] Display Total number of active user - George Perlington <ge***e@seeag.com>
- 2017-02-27 (Mon, 27 Feb 2017 04:30:09 -0800) - Re: [GRASE-Hotspot] Display Total number of active user - Hotspotuser <jo***s@algardata.pt>
- 2017-02-27 (Mon, 27 Feb 2017 20:35:56 +0800) - Re: [GRASE-Hotspot] Display Total number of active user - George Perlington <ge***e@seeag.com>
- 2017-02-27 (Mon, 27 Feb 2017 04:40:14 -0800) - Re: [GRASE-Hotspot] Display Total number of active user - Hotspotuser <jo***s@algardata.pt>
- 2017-02-27 (Mon, 27 Feb 2017 20:45:14 +0800) - Re: [GRASE-Hotspot] Display Total number of active user - George Perlington <ge***e@seeag.com>
- 2017-02-27 (Mon, 27 Feb 2017 04:51:38 -0800) - Re: [GRASE-Hotspot] Display Total number of active user - Hotspotuser <jo***s@algardata.pt>
- 2017-02-27 (Mon, 27 Feb 2017 04:52:33 -0800) - Re: [GRASE-Hotspot] Display Total number of active user - Hotspotuser <jo***s@algardata.pt>
- 2017-02-27 (Mon, 27 Feb 2017 20:55:25 +0800) - Re: [GRASE-Hotspot] Display Total number of active user - George Perlington <ge***e@seeag.com>
- 2017-02-27 (Mon, 27 Feb 2017 04:54:07 -0800) - Re: [GRASE-Hotspot] Display Total number of active user - Hotspotuser <jo***s@algardata.pt>
- 2017-02-27 (Mon, 27 Feb 2017 20:55:57 +0800) - Re: [GRASE-Hotspot] Display Total number of active user - George Perlington <ge***e@seeag.com>
- 2017-02-27 (Mon, 27 Feb 2017 21:03:05 +0800) - Re: [GRASE-Hotspot] Display Total number of active user - “[KIRA_90]” <ki***0@gmail.com>
- 2017-02-27 (Mon, 27 Feb 2017 21:39:35 +0800) - Re: [GRASE-Hotspot] Display Total number of active user - George Perlington <ge***e@seeag.com>
- 2017-03-01 (Wed, 01 Mar 2017 03:41:08 -0800) - Re: [GRASE-Hotspot] Display Total number of active user - José <jo***s@algardata.pt>
- 2017-02-27 (Mon, 27 Feb 2017 04:51:38 -0800) - Re: [GRASE-Hotspot] Display Total number of active user - Hotspotuser <jo***s@algardata.pt>
- 2017-02-27 (Mon, 27 Feb 2017 20:45:14 +0800) - Re: [GRASE-Hotspot] Display Total number of active user - George Perlington <ge***e@seeag.com>
- 2017-02-27 (Mon, 27 Feb 2017 04:40:14 -0800) - Re: [GRASE-Hotspot] Display Total number of active user - Hotspotuser <jo***s@algardata.pt>
- 2017-02-27 (Mon, 27 Feb 2017 20:44:17 +0800) - Re: [GRASE-Hotspot] Display Total number of active user - George Perlington <ge***e@seeag.com>
- 2017-02-27 (Mon, 27 Feb 2017 20:35:56 +0800) - Re: [GRASE-Hotspot] Display Total number of active user - George Perlington <ge***e@seeag.com>
- 2017-02-27 (Mon, 27 Feb 2017 04:30:09 -0800) - Re: [GRASE-Hotspot] Display Total number of active user - Hotspotuser <jo***s@algardata.pt>
- 2017-02-27 (Mon, 27 Feb 2017 20:19:07 +0800) - Re: [GRASE-Hotspot] Display Total number of active user - George Perlington <ge***e@seeag.com>
- 2017-02-27 (Mon, 27 Feb 2017 03:57:35 -0800) - Re: [GRASE-Hotspot] Display Total number of active user - Hotspotuser <jo***s@algardata.pt>
- 2017-03-13 (Mon, 13 Mar 2017 04:34:23 -0700) - Re: Display Total number of active user - José Borges <jo***s@algardata.pt>
- 2017-02-27 (Mon, 27 Feb 2017 21:42:14 +1000) - Re: [GRASE-Hotspot] Display Total number of active user - Timothy White <ti***8@gmail.com>