Re: [U2] CPU Charge Units
For some reason either Universe on Windows does this, or are particular users are doing something where a large number of processes are left running dead on the Windows server. That is, the process *claims* to be a telnet process, but it's not actually attached to any live Universe process any longer. I suppose it's possible that if a user in Universe is idle for a long period of time, that they get killed in Universe, but are still living in Windows. I'm not sure that's what's happening. Anyone else ever try to match up the Windows processes to the Universe processes like this? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] CPU Charge Units
I may be sending you down the wrong road, but, these thoughts came to mind. I've never done it in Windows, but, I've had a little experience doing it in Linux. In Linux, and I may be wrong... but, I think the way it works is that the telnet or ssh process is the parent process. So the uvsh process would be the child process. If the child process dies, which is uv, then the parent telnet process may stay open. If the parent telnet or ssh process dies, then the uv process will certainly die eventually (unless there is some kind of record lock set or something like that). However, the linux kernel or the linux telnet mechanism will usually do keep alive checks (which is configurable), to see if these parent telnet or ssh processes have any activity. After a certain amount of in-activity it will kill them off. Preliminary Linux info: http://tldp.org/HOWTO/TCP-Keepalive-HOWTO/usingkeepalive.html http://klaver.it/linux/sysctl.conf There must be a utility to show this process relationship in windows. I think the previous poster said something about pslist. That might do it. On windows I would think there has to be a way to set options for tcp keep alive, etc. I.E. Set how often a connection is checked, set how long it should be idle for before killing it, etc. I know you can do it in most every unix OS out there. Maybe this will help. I've never used it to my recollection... http://www.adminnation.com/2011/06/30/sysinternal-process-explorer/ On Fri, Aug 24, 2012 at 9:54 AM, Wjhonson wjhon...@aol.com wrote: For some reason either Universe on Windows does this, or are particular users are doing something where a large number of processes are left running dead on the Windows server. That is, the process *claims* to be a telnet process, but it's not actually attached to any live Universe process any longer. I suppose it's possible that if a user in Universe is idle for a long period of time, that they get killed in Universe, but are still living in Windows. I'm not sure that's what's happening. Anyone else ever try to match up the Windows processes to the Universe processes like this? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- John Thompson ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] CPU Charge Units
On 24/08/12 14:54, Wjhonson wrote: For some reason either Universe on Windows does this, or are particular users are doing something where a large number of processes are left running dead on the Windows server. That is, the process *claims* to be a telnet process, but it's not actually attached to any live Universe process any longer. Is this an OLD version of UV? This would regularly lock up our old 9.6 system, so if that's what you're experiencing I could understand why you're looking at that. I suppose it's possible that if a user in Universe is idle for a long period of time, that they get killed in Universe, but are still living in Windows. I'm not sure that's what's happening. We never worked out what was actually causing it. And it went away after an upgrade. Anyone else ever try to match up the Windows processes to the Universe processes like this? Nope. Cheers, Wol ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] CPU Charge Units
Not as old as 9.6 We're running 10.2 It's not locking anything up as far as I can see, it's just odd and probably shouldn't be there. -Original Message- From: Wols Lists antli...@youngman.org.uk To: U2 Users List u2-users@listserver.u2ug.org Sent: Fri, Aug 24, 2012 12:37 pm Subject: Re: [U2] CPU Charge Units On 24/08/12 14:54, Wjhonson wrote: For some reason either Universe on Windows does this, or are particular users are doing something where a large number of processes are left running dead on the Windows server. That is, the process *claims* to be a telnet process, but it's not actually attached to any live Universe process any longer. Is this an OLD version of UV? This would regularly lock up our old 9.6 system, so if that's what you're experiencing I could understand why you're looking at that. I suppose it's possible that if a user in Universe is idle for a long period of time, that they get killed in Universe, but are still living in Windows. I'm not sure that's what's happening. We never worked out what was actually causing it. And it went away after an upgrade. Anyone else ever try to match up the Windows processes to the Universe processes like this? Nope. Cheers, Wol ___ 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] CPU Charge Units
When we were doing service bureaus in the 80's the Charge Units was one of many metrics used for billing (in addition pages printed, user count, CPU speed, disk consumed, network traffic, and others. But as technology moved forward the value of Charge Units became increasingly unreliable, depending on platform (Ultimate, ADDs, R91, Zebra, AP, etc), hardware, and release. As I recall the figure became more of a measure of relative activity, and to be used only in conjunction with other corroborating evidence, like similar data from the host OS (later when there was one). In short, I don't think I've looked at Charge Units since about 1995 because it's just not a reliable element on which to make decisions. In addition to asking how one would obtain that data, I think other important questions include: how consistent is it across U2 environments , and thus, how valid is that data? HTH T From: Wjhonson In R83 we had a file called ACC which would store details about user's logged in. One of the details it stored was the CPU Charge Units. Universe has this concept in the SYSTEM(9) CPU Charge Units However in R83, you could query this value for any user, or every user since it was stored in a file. Is there a way, in Universe, to query what the CPU Charge Units are, for some other user ? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] CPU Charge Units
I have discovered a way to determine, from inside Universe, what Windows thinks is the amount of CPU time that each one of all running process has consumed. Now I just need to work out a better way to tie this into the other internal details of the process so it can actually be a useful tool for finding runaway processes from the Universe perspective. -Original Message- From: Wjhonson wjhon...@aol.com To: u2-users u2-users@listserver.u2ug.org Sent: Wed, Aug 22, 2012 6:14 pm Subject: [U2] CPU Charge Units In R83 we had a file called ACC which would store details about user's logged in. One of the details it stored was the CPU Charge Units. Universe has this concept in the SYSTEM(9) CPU Charge Units However in R83, you could query this value for any user, or every user since it was stored in a file. Is there a way, in Universe, to query what the CPU Charge Units are, for some other user ? ___ 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] CPU Charge Units
From: Wjhonson I have discovered a way to determine, from inside Universe, what Windows thinks is the amount of CPU time that each one of all running process has consumed. Now I just need to work out a better way to tie this into the other internal details of the process so it can actually be a useful tool for finding runaway processes from the Universe perspective. Oh, is THAT what you're looking for? Why didn't you say so? :) Lookup these commands: (use cmdname /? from commandline) logman wmic typeperf pslist (From SysInternals/Microsoft collection) Googling for those will return a good amount of examples as well. You'll need to be sure that the method you use properly reflects all CPUs being used by a given process. Check the wrong CPU and it will look like a process is idle, perhaps while another one is spinning. Also note that 50% utilization or more often isn't always bad. You Want your software to be using the system when other apps are not. Of course the question would arise - why is that process always doing something when I thought it was idle? High utilization is only bad (*add qualifier here like usually*) when you have a lot of processes competing for resources and one of them is hogging resources at the expense of others. It can be bad when only one process is doing something but it's always at 100% CPU utilization - you need to know the application to determine if that's what it should be doing. Something like SETI@Home should, for Universe maybe not. All that said, while I'm aware of some performance nuances, I'm Completely ignorant of CPU utilization characteristics of the U2 platforms. T ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] CPU Charge Units
In R83 we had a file called ACC which would store details about user's logged in. One of the details it stored was the CPU Charge Units. Universe has this concept in the SYSTEM(9) CPU Charge Units However in R83, you could query this value for any user, or every user since it was stored in a file. Is there a way, in Universe, to query what the CPU Charge Units are, for some other user ? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users