Skip to main content
1-Visitor
September 30, 2014
Question

Users Connected to Windchill 9.1

  • September 30, 2014
  • 13 replies
  • 4282 views

How to check how many users have conneted/using Windchill9.1 application ?

13 replies

1-Visitor
September 30, 2014

Hi,

Do you need the currently connected no:of users ? or Total users in Windchill ?

For the former, you can use the Site>UtilitiesSystem Administration>Server Manager / Monitor link.

You should log as Site Admin.

Thanks

hari

1-Visitor
September 30, 2014

I need to check the total no: of users using Windchill 9.1

MarcoTosin
21-Topaz I
September 30, 2014

Arya,

you could do it by using a report.

In the community there is a group about reporting that you can join.

I wrote a document with a lot of useful things about reporting, that I found in different places (PTC Community, PTC/User.org and PTC Technical Support).

In this document you can find also something about user access.

Marco

Marco
22-Sapphire I
September 30, 2014

As others have stated, there are multiple ways to get the total number of users currentlly on. Getting the list of who they are is more challenging. I know of two ways:

1. Security Audit Reporting, event=Login, when=Today. This at least gives a list of who has logged on today - can't tell if they are still on. But - there is also a "Logoff" event which sort of is a timeout. One list minus the other at least gets close.

2. If you install and use PTC System Monitor (PSM), then run the User Actions dashboard, it gives all users (by login, not Full Name) who have taken any action (including login) in the time period used, Can't tell here as well if the user is still on, but can for example send a message to allwho logged on or took any other action in the past hour.

PSM is free and superb - don't knpw why more don't have it in place.

1-Visitor
October 1, 2014

Open Windchill Shell and run the command <jconsole>. You will see java gui app, that will ask you which process you want to monitoring. Select variant like "wt.method.MethodServerMain wt.method.serviceName=..." and press Connect.

Then open MBeans tab and in the folder structure open the node like:

com.ptc/Monitors/ActiveUsers/Attributes/TotalActiveUsers. In the right field in the Value string you will see: java.lang.String[usersCount]. Double click on this will open the list of users logins.

22-Sapphire I
October 1, 2014

Thank you!!

I've seen this exact question posted to the world at least 50 times in the past 10 years - and have asked it myself a bunch of times.

Never got this answer before. Provides exactly what is needed..

See attached screen capture.

thanks again

MarcoTosin
21-Topaz I
October 1, 2014

Mike,

if I'm not wrong, what Anton said is exactly the same as what Jess Holle wrote this morning.

The results from windchill shell is the same as you get from GUI using Server Status and it could be misleading because of 30 minutes of buffer in server cache.

Marco
1-Visitor
December 30, 2014

PTC document expalins the same procedure.. CS146093..

In our case we were unable to access jconsole via connecting to "wt.method.MethodServerMain wt.method.serviceName=...".

Encountered following error

Error_Connect.JPG

But its resolved one we straightway used windchill wt.util.jmx.SMJconsole in Windchill shell.