The following execs are what I use to somewhat track my systems.
REPCPU2 just repeats the ALLCPU2 exec for 4 hours.  ALLCPU2 reports on
resource consumption of any machines that used a cpu second over the
last interval (at times I think I should change it to report on either
cpu or I/O usage over the last interval).  It also gives storage
utilization.  STCKUSER just does a Q N and stacks all the users in a
list.

Does require an authorized user.

I have one session up with this running anytime I'm in.

Tom Duerbusch
THD Consulting

>>> [EMAIL PROTECTED] 07/20/04 06:45PM >>>
Looking at some previous posts, Maybe MONITOR is a bad name
Im trying TOP for a while to see if that causes me any problems.

Mike Caughran wrote:

> I have been playing around trying to make a simple
> monitor like top for vm.  If you create two files
> MONITOR EXEC and MONITOR2 EXEC you can see what
> I have been up to.   I have not written any vm
> scripts for 10 years and had never seen cms pipes
> before so Im sure there are better ways to do this.
> In particular, I had problems with the "say" output
> of MONITOR2 EXEC not coming out where I wanted.
>
>
>
> Other interesting commands:
> netstat interval 5
> q stor
> q srm all
> q xstore
> q frames
>
>
>
>
> /*  MONITOR EXEC  -  CALLS MONITOR2 EXEC  */
> /*                                       */
> /*  Shows some performance information   */
> /*  like "top" for unix.                 */
> /*  Enter "QUIT" to quit.                */
> /*                                       */
>
> 'PIPE (endchar ?)',
>   'immcmd quit',              /* stop on "quit" */
>   '| specs /PIPMOD STOP/ 1',
>   '| command',
>   '?',
>   'literal +3',              /* delay 3 secs */
>   '| duplicate *',
>   '| delay',
>   '| literal go.',
>   '| specs /exec monitor2/ 1',
>   '| cms',
>   '| console'
>
> exit rc
>
>
>
>
> /*  MONITOR2 EXEC A                       */
> /*  best viewed with a s3279-3            */
>
>  clrscrn
>  'indicate load'
>  'indicate queues exp'
>  say " "
>  say "Type QUIT to end."
>
>
----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO
LINUX-390
> or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Attachment: repcpu2.exec
Description: Binary data

Attachment: allcpu2.exec
Description: Binary data

Attachment: stckuser.exec
Description: Binary data

Reply via email to