Subject | RE: [firebird-support] No of Users connected to DB on Classic Server |
---|---|
Author | Nigel Weeks |
Post date | 2005-02-14T21:47:55Z |
ps waux | grep fb_inet_server | grep grep -v | wc | awk '{print $1}'
In another words, however many database processes are running, is how many
users are doing something at the present time.
This isn't foolproof, as you may be using persistent connections/connection
pooling, allowing 100 users to share 10 DB connections, but it does tell you
you're handling exactly N connections at the present time.
Nige.
Disclaimer: I could be mistaken, but it's close
In another words, however many database processes are running, is how many
users are doing something at the present time.
This isn't foolproof, as you may be using persistent connections/connection
pooling, allowing 100 users to share 10 DB connections, but it does tell you
you're handling exactly N connections at the present time.
Nige.
Disclaimer: I could be mistaken, but it's close
> -----Original Message-----
> From: chriskudla [mailto:chris@...]
> Sent: Monday, 14 February 2005 10:36 PM
> To: firebird-support@yahoogroups.com
> Subject: [firebird-support] No of Users connected to DB on Classic
> Server
>
>
>
>
> Hi
>
> How do I find out how many users are currently connected to my
> database on Firebird Classic Server version 1.5.2.
>
>
> Chris Kudla
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
> __________ NOD32 1.998 (20050212) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.nod32.com
>
>