[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference utrop1::linkworks_v3

Title:LinkWorks V3.0 Notes Conference
Notice:LNX_APO = APO issues, LINKWORKS_V3 = V3.0 issues
Moderator:tacklr.apd.dec.com::TACK_Lm::TACK_L
Created:Tue Jun 28 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2269
Total number of notes:8338

2114.0. "Counting users in a domain" by ROM01::RUSSO (Save a tree ... use Bookreader !) Mon Feb 10 1997 12:30

    When I ask for connected users option from Desk pull down menu I've 
    got a long list. If I count them I got a different number from the total 
    that comes from the following command issued on every serveron 
    my LNX domain:
    # netstat -a | grep opcltdf | wc -l 
    
    Someone is wrong between them ... but witch one?
    
    
    	_Giuseppe
T.RTitleUserPersonal
Name
DateLines
2114.1IJSAPL::MONNINK_HMon Feb 10 1997 12:548
    
    This is not a good way to count the number of users, since opcltdf will
    be active for celldaemons aswell.
    What you are counting are all connections made including the
    connections to remote cells .
    
    Han
    
2114.2Skipping some files...ROM01::RUSSOSave a tree ... use Bookreader !Mon Feb 10 1997 16:2810
    According to your words, it means that I should just count only lines 
    like this:
    tcp   0      0  oarr01.opcltdf    113.12.12.10.1026     ESTABLISHED
    
    ... and I should skip lines like this:
    tcp   0      0  oarr01.2151       office.opcltdf        ESTABLISHED
    I know how much they are because they comes from cltdf.ctl file.
    Am I right ? Thanks again for your hint.
    
    	_Giuseppe 
2114.3IJSAPL::MONNINK_HTue Feb 11 1997 07:573
    Yes I guess that that will be the right approch.
    
    Han