Viewing Number of Users Logged into OnDemand

Previous topic - Next topic

GWilcox

Is there a way to see the CURRENT number of users connected to an OnDemand instance/session?
I know you can see information in the System Log-
I am looking for a way to see this in real time, maybe via Command Line?

Thanks!

Justin Derrick

Depends on the platform and version.

In AIX with CMOD 8.4, you can get the number of active users from the process list:

$ ps -ef |grep license
archive  7536774  7274502   0   Sep 18      - 145:15 arssockd: license (Cur(1), Max(12))


Which platform / version are you using?

-JD.
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

GWilcox

Hello Justin,
I am using IBM Content Manager OnDemand for Multiplatforms 8.5.0.4 with Windows 2008 R2 and SQL Server 2008 R2...
Thanks!

Alessandro Perucchi

Quote from: GWilcox on December 06, 2012, 10:26:09 PM
I am using IBM Content Manager OnDemand for Multiplatforms 8.5.0.4 with Windows 2008 R2 and SQL Server 2008 R2...

Well in that case, try

arssockd -p -I <instance>

To have the arssockd help you might do:

arssockd -help

Quote$ arssockd -help
Usage: arssockd [options]
   Version:  8.5.0.5
   -h <od_inst> OnDemand instance name or host name (same as -I)
   -I <od_inst> OnDemand instance name or host name (same as -h)
   -p Display process usage information for the given instance
   -q Display configuration and version information for the given instance
   -r <iterations> Number of iterations (defaults to 1)
   -s <seconds> Number of seconds between iterations (defaults to 1)
   -S Start the OnDemand server for the given instance
   -T Stop the OnDemand server for the given instance
   -v Verbose output
   -x Extended information (when used with -p)
   -1 <trace_file> Fully-qualified trace file name
   -2 <level> Trace level number
              The values are additive.  (Default: 3)
              1: Errors
              2: Warnings
              4: Info
              8: Flow

it should help a bit :-)

Sincerely yours,
Alessandro
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

Ed_Arnold

To run this command in batch on z/OS this is JCL I use.

I don't know if you need all of the DD defs, it's just canned JCL I use for various batch invocations.

//STEP1    EXEC PGM=BPXBATCH,REGION=0M                       
//*                                                         
//STEPLIB  DD DISP=SHR,DSN=ARS.ARSV900.SARSLOAD             
//         DD DISP=SHR,DSN=DSN.DB2VA10.SDSNEXIT             
//         DD DISP=SHR,DSN=DSN.DB2VA10.SDSNLOAD             
//SYSPRINT DD SYSOUT=*                                       
//SYSOUT   DD SYSOUT=*                                       
//STDERR   DD SYSOUT=*                                       
//STDOUT   DD SYSOUT=*                                       
//STDPARM DD *                                               
PGM /usr/lpp/ars/V9R0M0/bin/arssockd                         
-h ARCH900 -p                                               
//STDENV DD *                                               
CLASSPATH=/usr/lpp/ars/V9R0M0/bin/xml/ODAdmin.jar:           
          /usr/lpp/java/J6.0_64/lib/core.jar                 
LIBPATH=/usr/lpp/ixm1a/IBM/xml4c-5_7/lib/:$LIBPATH           
PATH=/usr/lpp/java/J6.0_64/bin:/usr/lpp/ars/V9R0M0/bin:$PATH
/*                                                           
#zOS #ODF

Ed_Arnold

Hmmm - at least on z/OS this doesn't work as I expected.  I've logged on to OnDemand, even ran a load while displaying the process information and I can never get anyone/anything to show up in the "user" column.

Probably something I'm doing but I'm investigating....

Ed
#zOS #ODF

Ed_Arnold

Quote from: Ed_Arnold on January 07, 2013, 06:43:12 PM
Hmmm - at least on z/OS this doesn't work as I expected.  I've logged on to OnDemand, even ran a load while displaying the process information and I can never get anyone/anything to show up in the "user" column.

Probably something I'm doing but I'm investigating....

Ed

Sure enough, it was something I was doing.

On z/OS at least when a user logs on, it may take a little bit before the Cur(n) field gets updated.

When a user logs off, the logoff is reflected immediately.

The code that updates the Cur(n) field for logons runs on a timer pop, is asynchronous.

Ed
#zOS #ODF