Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Administration & Installation

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
35%
Installation Wizard into new VRC
42%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 31

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 7th February 2003, 15:36
jak_tn's Avatar
jak_tn jak_tn is offline
Junior Member
 
Join Date: Nov 2002
Posts: 9
jak_tn is on a distinguished road
Baan: Baan IVc w/ A&D 2.0+ - DB: DB2 UDB 7.2 - OS: RS/6000 AIX 4.3.3
How can I count users?

Hello all,

We have two separate Baan IV environments, sharing the same license daemon, running on the same AIX box. Before the 2nd environment was added, I always could enter from an AIX command line:

ps -ef | grep bshell

to count the number of users logged into the system. Now if I execute that command, I can't tell which system the user is logged on to.

Does anyone know of a way to inquire into the number of users logged on to a specific environment? I have looked at shmmanager6.1 and bshell6.1 parameters, but have not come up with anything yet.

Any ideas?

Thanks,
Judy
Reply With Quote
  #2  
Old 7th February 2003, 19:51
NPRao's Avatar
NPRao NPRao is offline
Guru
 
Join Date: Aug 2001
Location: Pacific NW, USA
Posts: 3,028
NPRao will become famous soon enough
Baan: iBaanERP-5.2a(Reger),SSA-ERP-LN-6.1,Infor LN-10.x - DB: Oracle-10g,11g,12c,MS-SQL - OS: HP-UX, Linux, Windows
Lightbulb

Judy,

You can rename the bshell as bshell_dev, bshell_qa etc in the respective $BSE/lib/ipc_info files.

Then when you use the ps -ef | grep bshell_dev you can know the environment specific users who are currently logged in.

then execute the command -

$ ps -ef | grep bshell_dev | grep -v "grep bshell_dev" | wc -l
__________________
The art of perfection does not lie in doing extraordinary things but, doing ordinary things extraordinarily well. [-N. Prashanth Rao]
How To Ask Questions The Smart Way,BaaNBoard,NPRao
Reply With Quote
  #3  
Old 7th February 2003, 20:34
jak_tn's Avatar
jak_tn jak_tn is offline
Junior Member
 
Join Date: Nov 2002
Posts: 9
jak_tn is on a distinguished road
Baan: Baan IVc w/ A&D 2.0+ - DB: DB2 UDB 7.2 - OS: RS/6000 AIX 4.3.3
Smile

Hello NPRao...

Great idea! I knew about this option, but never thought about using it in this capacity. That should definitely do the trick!

Many thanks,
Judy
Reply With Quote
  #4  
Old 7th February 2003, 21:11
jak_tn's Avatar
jak_tn jak_tn is offline
Junior Member
 
Join Date: Nov 2002
Posts: 9
jak_tn is on a distinguished road
Baan: Baan IVc w/ A&D 2.0+ - DB: DB2 UDB 7.2 - OS: RS/6000 AIX 4.3.3
Hmmmm...maybe I didn't do it right...

OK, here is my ipc_info, with the bshell change...

bshell s 0 0 p ${BSE}/bin/bshell6.1_dev

Yet, when I do the ps -ef | grep bshell, I still see the bshells represented as 'bshell', not bshell6.1_dev, like so...

aixdev:root:/baan4ct/bse/lib>ps -ef|grep bshell

bsp 65084 9804 0 13:58:14 - 0:00 bshell (bsp@TRWJK:1504/SOCKET) -1
545 5 6

Did I implement this change incorrectly?
Reply With Quote
  #5  
Old 7th February 2003, 21:16
NPRao's Avatar
NPRao NPRao is offline
Guru
 
Join Date: Aug 2001
Location: Pacific NW, USA
Posts: 3,028
NPRao will become famous soon enough
Baan: iBaanERP-5.2a(Reger),SSA-ERP-LN-6.1,Infor LN-10.x - DB: Oracle-10g,11g,12c,MS-SQL - OS: HP-UX, Linux, Windows
Judy,

You made a mistake there, you have to change the entry and not the executable name....

Here is our info -
Quote:
>cat ipc_info
bshell_user s ${BSE}/bin/bshell6.2
bshell_supp s ${BSE}/bin/bshell6.2
bshell_ctlm s ${BSE}/bin/bshell6.2
bshellOW6.2 s ${BSE}/bin/bshellOW6.2
bshellmig s ${BSE}/bin/bshell6.2
bshell.inst s ${BSE}/bin/bshell_inst6.2
audit s ${BSE}/bin/audit_srv6.2
After you make the change in the $BSE/lib/ipc_info file you also need to change the bshell name in the BW configuration file. Because if you remove the "bshell" entry in the ipc_info file then you cannot log into the system.
__________________
The art of perfection does not lie in doing extraordinary things but, doing ordinary things extraordinarily well. [-N. Prashanth Rao]
How To Ask Questions The Smart Way,BaaNBoard,NPRao
Reply With Quote
  #6  
Old 7th February 2003, 21:51
jak_tn's Avatar
jak_tn jak_tn is offline
Junior Member
 
Join Date: Nov 2002
Posts: 9
jak_tn is on a distinguished road
Baan: Baan IVc w/ A&D 2.0+ - DB: DB2 UDB 7.2 - OS: RS/6000 AIX 4.3.3
Red face

That was a resounding "DUH" on my part!

Thanks for setting me straight! It's working now.
Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Monitoring logged in Users dhnish Tools Administration & Installation 34 30th November 2007 16:48
Link between Baan Users & Database Users p.cole Tools Administration & Installation 11 22nd March 2003 02:51
Unix account of users never activated when logging thru GUI of BaaN Badre Alam Operating Systems & Databases 7 20th December 2002 09:37
Max Concurrent Baan Users Brendan Shine Polls and Surveys 1 11th June 2002 08:57
How can I prevent the users from using a company? i96nds Tools Administration & Installation 7 16th April 2002 18:33


All times are GMT +2. The time now is 02:46.


©2001-2017 - Baanboard.com - Baanforums.com