Im actually fairly happy with this:

We had no tools to see what was happening to VM when the linux boxes
were running
So I used this script to learn what tools are available natively with
the IFL.   Maybe
someone will clue me in to a better way.   I tried to use the MONITOR
commands
as suggested in a previous note to the list but I couldnt make it play.
It may be because
we are not licensed for the vm perf mon stuff.



/* TOP EXEC - CALLS TOP2 EXEC */

/*                                       */
/*  Shows some performance information   */
/*  like "top" for unix.                 */
/*  Enter "QUIT" to quit.                */
/*                                       */
/*                                       */
/*  Also check out: "netstat interval 5" */
/*                                       */

/* 200 line scrollable window */
vscreen define cms 200 81 25
set fullscreen on

clrscrn
pscreen refresh

'pipe (endchar ?)',
  'immcmd quit',            /* stop on "quit" */
  '| specs /PIPMOD STOP/ 1',
  '| command',
  '?',
  'LITERAL +10',            /* DELAY 10 secs */
  '| duplicate *',
  '| delay',
  '| literal go.',
  '| specs /exec top2/ 1',
  '| cms',
  '| console'

exit rc





/*  top2 exec a                           */
/*  also check out: "netstat interval 5"  */
 pscreen refresh   /* for fullscreen cms */
 clrscrn
 pipe 'literal Auto Refresh: Type "quit" to end. | > top2 out a'
 pipe 'literal   | >> top2 out a'

 pipe 'literal indicate load -------------------- | >> top2 out a'
 pipe 'cp indicate load | >> top2 out a'
 pipe 'literal   | >> top2 out a'

 pipe 'literal indicate queues ------------------ | >> top2 out a'
 pipe 'cp indicate queues exp | >> top2 out a'
 pipe 'literal   | >> top2 out a'

 pipe 'literal q frames ------------------------- | >> top2 out a'
 pipe 'cp q frames | >> top2 out a'
 pipe 'literal   | >> top2 out a'

 pipe 'literal q stor --------------------------- | >> top2 out a'
 pipe 'cp q stor | >> top2 out a'
 pipe 'literal   | >> top2 out a'

 pipe 'literal q srm ---------------------------- | >> top2 out a'
 pipe 'cp q srm all | >> top2 out a'
 pipe 'literal   | >> top2 out a'

 pipe 'literal q xstor -------------------------- | >> top2 tempfile a'
 pipe 'cp q xstor | >> top2 out a'
 pipe 'literal   | >> top2 out a'

 pipe '< top2 out a | console'

----------------------------------------------------------------------
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

Reply via email to