Discussion:
Is there a way to map a CMS user id's memory usage?
(too old to reply)
Roland P. Chung
2006-02-08 20:21:19 UTC
Permalink
Hi Listers, is there a way to find out the memory utilization in a CMS user id? I am thinking about something like the GETVIS command in VSE. Better still, a command to provide a map on what memory address each module resides while the CMS id is still active. I know a dump would provide that information, but, I need something more humanly readable on real time...

Thanks a lot in advance.


With best regards,

...Roland Chung
Senior Technical Specialist (S/390,VM/VSE,DB2/VSE&VM)
MAXC Consultants Inc.
Voice/Fax: 416-469-3280 (If busy, call: 416-469-2268)
197 Hastings Ave., Toronto, Ontario, Canada. M4L 2L6

** Life is short. Stop once in a while and smell the roses. **
Roland P. Chung
2006-02-08 22:10:40 UTC
Permalink
Thanks to Peter, Ed and Alan for the responses. It is very usuallful. But, when VM would provide these, huh? It is free in VSE II

IESADMSL.IESESTAT SYSTEM STATUS APPLID: DBDCCICS

Enter the number of your selection and press the ENTER key:

1 Display System Activity
2 Display Channel and Device Activity
3 Display Storage Layout
4 Display CICS TS Storage

Have a nice evening.

...Roland

Alan Altmark <***@us.ibm.com> wrote:
On Wednesday, 02/08/2006 at 03:21 EST, "Roland P. Chung"
wrote:
> Hi Listers, is there a way to find out the memory utilization in a CMS
user id?
> I am thinking about something like the GETVIS command in VSE. Better
still, a
> command to provide a map on what memory address each module resides
while the
> CMS id is still active. I know a dump would provide that information,
but, I
> need something more humanly readable on real time... [IMAGE]
>
> Thanks a lot in advance.

STORMAP. You can also "STORMAP ( EXT 1234" and then issue #CP EXT 1234
while your program is running to get a snapshot.

Alan Altmark
z/VM Development
IBM Endicott
Rob van der Heij
2006-02-08 22:18:50 UTC
Permalink
On 2/8/06, Roland P. Chung <***@rogers.com> wrote:

> Enter the number of your selection and press the ENTER key:
>
> 1 Display System Activity
> 2 Display Channel and Device Activity
> 3 Display Storage Layout
> 4 Display CICS TS Storage

I think you're comparing different beasts. Your CMS session is your
own private single-user operating system. Things like STORMAP are
mainly for debugging your single-user CMS application.

z/VM is a multi-user operating system that runs a lot of virtual
machines each with their own copy of an operating system (e.g. CMS,
VSE, Linux, z/OS, TPF, AIX/370, Music, etc). In that case z/VM (or
rather CP) manages real storage to provide each virtual machine with
its own address space. To understand whether CP has enough resources
to run all those virtual machines, see who is using how much, that's
what you use a Performance Monitor for. Like ESALPS, see
http://velocitysoftware.com/

Rob

--
Rob van der Heij rvdheij @ gmail.com
Velocity Software, Inc
Dave Jones
2006-02-09 00:43:54 UTC
Permalink
To expand just a bit on Alan's comment.....no serious z/VM system's
programmer (and we're all serious, right, except at SCIDS....)
should download and install TRACK. It can display a great deal of
information about virtual machines, and it knows about the layout of CMS
storage. While it can't (yet) display as much information as a STORMAP,
it can display information about a CMS virtual machine as it runs.....

Check it out at:
http://vm.marist.edu/track/

Good luck.

DJ

Alan Altmark wrote:
> On Wednesday, 02/08/2006 at 05:10 EST, "Roland P. Chung"
> <***@rogers.com> wrote:
>
>>Thanks to Peter, Ed and Alan for the responses. It is very usuallful.
>
> But, when
>
>>VM would provide these, huh? It is free in VSE II
>
>
> LOL, Roland. Not quite the same, is it? Well, you could use TRACK to do
> the same thing. It can peek into another CMS virtual machine.
>
> Alan Altmark
> z/VM Development
> IBM Endicott
Nick Laflamme
2006-02-09 13:58:55 UTC
Permalink
Dave Jones wrote:
> To expand just a bit on Alan's comment.....no serious z/VM system's
> programmer (and we're all serious, right, except at SCIDS....) should
> download and install TRACK.

Dave, tell me you dropped a comma after that "no" or meant "any", not
"no", right? 'Cause, otherwise, the next VM cluster leader at SHARE is
going to be on your case rather severely....

Nick
Dave Jones
2006-02-09 14:17:06 UTC
Permalink
Nick, what's missing is the word "not" following the word
"should"....you would think that after all these years, I would have
learned by now not to post to the list without first having enough
caffeine....:-)

In any event, I would not care to have the next SHARE VM cluster leader
on my case, severely or otherwise...

DJ

Nick Laflamme wrote:
> Dave Jones wrote:
>
>> To expand just a bit on Alan's comment.....no serious z/VM system's
>> programmer (and we're all serious, right, except at SCIDS....) should
>> download and install TRACK.
>
>
> Dave, tell me you dropped a comma after that "no" or meant "any", not
> "no", right? 'Cause, otherwise, the next VM cluster leader at SHARE is
> going to be on your case rather severely....
>
> Nick
Roland P. Chung
2006-02-09 01:00:10 UTC
Permalink
Well, Alan, I know. It is almost like apple and orange.

Just want to get some *free* VM tool to help a customer to
debug a strange "insufficient storage" problem. In a 250MB
CMS machine, the application software is only asking for
526 bytes and abends due to "insufficient storage"!
Ummmm...

I think I have to get a VMDUMP and try to figure out
what/who uses up all these storage!

Thanks anyway. Take care.

...Roland

--- Alan Altmark <***@us.ibm.com> wrote:

> On Wednesday, 02/08/2006 at 05:10 EST, "Roland P. Chung"
> <***@rogers.com> wrote:
> > Thanks to Peter, Ed and Alan for the responses. It is
> very usuallful.
> But, when
> > VM would provide these, huh? It is free in VSE II
>
> LOL, Roland. Not quite the same, is it? Well, you could
> use TRACK to do
> the same thing. It can peek into another CMS virtual
> machine.
>
> Alan Altmark
> z/VM Development
> IBM Endicott
>


With best regards,

...Roland Chung
Senior Technical Specialist (S/390,VM/VSE,DB2/VSE&VM)
MAXC Consultants Inc.
Voice/Fax: 416-469-3280 (If busy, call: 416-469-2268)
197 Hastings Ave., Toronto, Ontario, Canada. M4L 2L6

** Life is short. Stop once in a while and smell the roses. **
Rob van der Heij
2006-02-09 01:04:38 UTC
Permalink
On 2/9/06, Roland P. Chung <***@rogers.com> wrote:

> Just want to get some *free* VM tool to help a customer to
> debug a strange "insufficient storage" problem. In a 250MB
> CMS machine, the application software is only asking for
> 526 bytes and abends due to "insufficient storage"!
> Ummmm...

Could it be the application is asking that to be allocated under the 16M ?
But really, STORMAP should provide you guidance there. If you cannot
run it in the virtual machine, then as Dave explains set up TRACK and
do it from there. That's all 'free' like in 'free beer' but it will
take some time to acquire the skills.

Rob
--
Rob van der Heij rvdheij @ gmail.com
Velocity Software, Inc
Alan Ackerman
2006-02-09 07:17:22 UTC
Permalink
There is also SUBPMAP. STORMAP and SUBPMAP both have many, many options -- they will give you
more information than you can possibly use, for a CMS virtual machine. I know nothing about VSE
tools to compare -- the last time I worked on (not PC) DOS it was called DOS/VS (not VSE) and it had
hardly any tools.
Michael Coffin
2006-02-09 15:07:43 UTC
Permalink
"no serious z/VM systems' programmer should NOT download and install TRACK"

But DJ, that would be a double-negative. :)

I think we get it though. Stay away from that "free-beer" DJ, except in
moderation! :)

-Mike

-----Original Message-----
From: VM/ESA and z/VM Discussions [mailto:VMESA-***@LISTSERV.UARK.EDU] On Behalf
Of Dave Jones
Sent: Thursday, February 09, 2006 9:17 AM
To: VMESA-***@LISTSERV.UARK.EDU
Subject: Re: Is there a way to map a CMS user id's memory usage?


Nick, what's missing is the word "not" following the word
"should"....you would think that after all these years, I would have
learned by now not to post to the list without first having enough
caffeine....:-)

In any event, I would not care to have the next SHARE VM cluster leader
on my case, severely or otherwise...

DJ

Nick Laflamme wrote:
> Dave Jones wrote:
>
>> To expand just a bit on Alan's comment.....no serious z/VM system's
>> programmer (and we're all serious, right, except at SCIDS....) should
>> download and install TRACK.
>
>
> Dave, tell me you dropped a comma after that "no" or meant "any", not
> "no", right? 'Cause, otherwise, the next VM cluster leader at SHARE is
> going to be on your case rather severely....
>
> Nick
Dave Jones
2006-02-09 15:15:40 UTC
Permalink
OK, OK, enough already.....

"serious VM system's programmers should install TRACK"...there, plain
and simple......and "free-beer" didn't have anything to do with it. Way
to early in the morning here for that. :-)

DJ

Michael Coffin wrote:
> "no serious z/VM systems' programmer should NOT download and install TRACK"
>
> But DJ, that would be a double-negative. :)
>
> I think we get it though. Stay away from that "free-beer" DJ, except in
> moderation! :)
>
> -Mike
>
> -----Original Message-----
> From: VM/ESA and z/VM Discussions [mailto:VMESA-***@LISTSERV.UARK.EDU] On Behalf
> Of Dave Jones
> Sent: Thursday, February 09, 2006 9:17 AM
> To: VMESA-***@LISTSERV.UARK.EDU
> Subject: Re: Is there a way to map a CMS user id's memory usage?
>
>
> Nick, what's missing is the word "not" following the word
> "should"....you would think that after all these years, I would have
> learned by now not to post to the list without first having enough
> caffeine....:-)
>
> In any event, I would not care to have the next SHARE VM cluster leader
> on my case, severely or otherwise...
>
> DJ
>
> Nick Laflamme wrote:
>
>>Dave Jones wrote:
>>
>>
>>>To expand just a bit on Alan's comment.....no serious z/VM system's
>>>programmer (and we're all serious, right, except at SCIDS....) should
>>>download and install TRACK.
>>
>>
>>Dave, tell me you dropped a comma after that "no" or meant "any", not
>>"no", right? 'Cause, otherwise, the next VM cluster leader at SHARE is
>>going to be on your case rather severely....
>>
>>Nick
Loading...