[U2] [UV] USERS vs Analyze.shm -x

2010-03-16 Thread Jacques G.

Hello,

When logging into the uv account, if I run this paragraph:

PA
USERS
ANALYZE.SHM -X


The number of users logged on as reported by USERS is often different than that 
which is reported by ANALYZE.SHM -x.Anyone know if there is a version where 
this has been fixed ?This was apparently reported in 10.0.17  ( 
http://osdir.com/ml/db.u2.general/2004-05/msg00148.html ) .

We have one client using 10.2.11 on HP-UX and his UODOT.NET web services is at 
times getting the 39134 errors (The user limit has been reached on the server 
Source)  when not all of his licences have been taken yet.  As reported by 
SYSTEM(35).

Just running it a few times I am getting the numbers:

There are currently 1098 users logged on the system.
General System Information:
Login count: 1109


There are currently 1095 users logged on the system.
General System Information:
Login count: 1106


There are currently 1089 users logged on the system.
General System Information:
Login count: 1101

There are currently 1087 users logged on the system.
General System Information:
Login count: 1099


  
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UD - Error Logging

2010-03-16 Thread Steve Romanow
Nothing prevents us from using syslog right?  Ive been thinking about 
logging a lot lately.


Specifically, syslog-ng or rsyslog.

Any unix db should log to syslog.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UD - Error Logging

2010-03-16 Thread Henry Unger
We use syslog in UniData and UniVerse to log all kinds of application events.

Best regards,

Henry

Henry P. Unger
Hitech Systems, Inc.
http://www.hitech.com

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve Romanow
Sent: Tuesday, March 16, 2010 12:06 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] UD - Error Logging

Nothing prevents us from using syslog right?  Ive been thinking about 
logging a lot lately.

Specifically, syslog-ng or rsyslog.

Any unix db should log to syslog.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Logging

2010-03-16 Thread Steve Romanow

On 3/16/2010 3:00 PM, u2-users-requ...@listserver.u2ug.org wrote:


Message: 6
Date: Tue, 16 Mar 2010 02:06:22 +
From: Wally Terhunewterh...@rocketsoftware.com
To: U2 Users Listu2-users@listserver.u2ug.org
Subject: Re: [U2] UD - Error Logging
Message-ID:
0d0b269b9fd7a64687f66c66d6f49fab09b...@nwt-s-mbx1.rocketsoftware.com
Content-Type: text/plain; charset=us-ascii

I would be happy to entertain (and formally register) a detailed, coherent 
proposal for logs, error logs, diagnostic logs - location and management.
Do you still want the saved_logs directory concept? (20 or configurable? 
Iterations saved)
What happens at 'startud'? Anything happen at 'stopud'?
Is the trunclog command useful?
Should the detailed UniBasic run-time error message logging provided by 7.2.0 
/usr/ud72/include/msglevelconfig be placed separate from udt.errlog?
Should RFS have a separate log for error messages?
Should RFS Archiving - have a separate log for offload messages?
Client/server debug logs are inconsistent in configuration and activation. What 
would you propose in this area?
Locations must be discoverable by tools that collect information for 
diagnostics (such as udtdiag).
What else am I missing?

Whereas I am constantly requesting more usable content of the messages, can we 
just focus on the overall architecture for this specific proposal?

This would be something to be considered by PM for UniData.NEXT and prioritized 
with the rest of the enhancements.
Other venues for proposals such as this are u2-users better and better forum 
and the UniData CAB (just recently formed by PM).

Any takers?
Regards,

Wally Terhune
U2 Support Architect
Rocket Software
4700 S. Syracuse Street, Suite 400 **Denver, CO 80237 **USA
Tel: +1.720.475.8055
Email: wterh...@rs.com
Web: www.rocketsoftware.com/u2

   
I am not a logging expert, so I cannot say anything here with 
authority.  Just opinion and observation.


Why reinvent logging?  There is lot of thought and work in existing 
logging systems.


I have really become a fan of bitwise log configuration, where you have 
a binary string in a config file detailing what you want logged (NOT 
verbosity, that is a separate control.)

Here is a paper discussing it.  http://felix-halim.net/pg/bitwise/index.php

Here is a product I use that controls its logging using this method.  
What is nice is there is ONE control for logging, not X individual 
flags.  This one string is parsed.  When you add new logging points, you 
just add one more digit to the binary string.


Here is an example from the icinga (nagios) config.  The idea is if you 
want to log both Functions and Notifications, then det debug level to 33.


# DEBUG LEVEL
# This option determines how much (if any) debugging information will
# be written to the debug file.  OR values together to log multiple
# types of information.
# Values:
#  -1 = Everything
#  0 = Nothing
#  1 = Functions
#  2 = Configuration
#  4 = Process information
#  8 = Scheduled events
#  16 = Host/service checks
#  32 = Notifications
#  64 = Event broker
#  128 = External commands
#  256 = Commands
#  512 = Scheduled downtime
#  1024 = Comments
#  2048 = Macros

debug_level=32



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UD - Error Logging

2010-03-16 Thread Susan Lynch

Wally,

Just because I have not noticed anyone else responding to your question 
about the saved_logs, yes, please keep that concept - I, for one, end up 
checking the saved_logs quite a bit when I get calls after the client has 
already rebooted in order to get their users working again.


I would hate to see all that good data go away!

I would think that a configurable number of iterations would be optimal, 
given that your team would be going in and doing a lot of work here anyway.


Just my 2 cents!

Susan Lynch
F. W. Davison  Company, Inc.


- Original Message - 
From: Wally Terhune wterh...@rocketsoftware.com

To: U2 Users List u2-users@listserver.u2ug.org
Sent: 03/15/2010 10:06 PM
Subject: Re: [U2] UD - Error Logging


I would be happy to entertain (and formally register) a detailed, coherent 
proposal for logs, error logs, diagnostic logs - location and management.
Do you still want the saved_logs directory concept? (20 or configurable? 
Iterations saved)

What happens at 'startud'? Anything happen at 'stopud'?
Is the trunclog command useful?
Should the detailed UniBasic run-time error message logging provided by 
7.2.0 /usr/ud72/include/msglevelconfig be placed separate from udt.errlog?

Should RFS have a separate log for error messages?
Should RFS Archiving - have a separate log for offload messages?
Client/server debug logs are inconsistent in configuration and activation. 
What would you propose in this area?
Locations must be discoverable by tools that collect information for 
diagnostics (such as udtdiag).

What else am I missing?

Whereas I am constantly requesting more usable content of the messages, 
can we just focus on the overall architecture for this specific proposal?


This would be something to be considered by PM for UniData.NEXT and 
prioritized with the rest of the enhancements.
Other venues for proposals such as this are u2-users better and better 
forum and the UniData CAB (just recently formed by PM).


Any takers?
Regards,

Wally Terhune
U2 Support Architect
Rocket Software
4700 S. Syracuse Street, Suite 400 **Denver, CO 80237 **USA
Tel: +1.720.475.8055
Email: wterh...@rs.com
Web: www.rocketsoftware.com/u2

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users




___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UD - Error Logging

2010-03-16 Thread Bill Haskett

Steve:

What's wrong with syslog?  We use Windows.  I don't have a problem with 
UD logging to the event log, but many applications log to their own 
standard area.  UD logging needs to be configured, so having that in the 
same area would be nice too.  cross-platform?


I suspect, all U2 logging should configure in one location/directory and 
write to one location/directory.  Every logging needs archiving and I 
understand @UDTHOME/bin/saved_logs does that, although 
@UDTHOME/logs/saved_logs would be a better location.  It could be nice 
to have a structure like:


@UDTHOME
+ config
+  logs
   + saved_logs

...and one could have an environment variable names @UDTCONF and 
@UDTLOGS where one could offload these directories somewhere else.


Bill


Steve Romanow said the following on 3/16/2010 12:05 PM:
Nothing prevents us from using syslog right?  Ive been thinking about 
logging a lot lately.


Specifically, syslog-ng or rsyslog.

Any unix db should log to syslog.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] [UV] USERS vs Analyze.shm -x

2010-03-16 Thread Symeon Breen
Is this not the difference between user licences consumed and physical user
licences - e.g non interactive phantoms and device licencing connections do
not count as licences but do as users ?



-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jacques G.
Sent: 16 March 2010 14:38
To: U2 Users List
Subject: [U2] [UV] USERS vs Analyze.shm -x


Hello,

When logging into the uv account, if I run this paragraph:

PA
USERS
ANALYZE.SHM -X


The number of users logged on as reported by USERS is often different than
that which is reported by ANALYZE.SHM -x.Anyone know if there is a
version where this has been fixed ?This was apparently reported in
10.0.17  ( http://osdir.com/ml/db.u2.general/2004-05/msg00148.html ) .

We have one client using 10.2.11 on HP-UX and his UODOT.NET web services is
at times getting the 39134 errors (The user limit has been reached on the
server Source)  when not all of his licences have been taken yet.  As
reported by SYSTEM(35).

Just running it a few times I am getting the numbers:

There are currently 1098 users logged on the system.
General System Information:
Login count: 1109


There are currently 1095 users logged on the system.
General System Information:
Login count: 1106


There are currently 1089 users logged on the system.
General System Information:
Login count: 1101

There are currently 1087 users logged on the system.
General System Information:
Login count: 1099


  
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users