Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Our Sponsors
Want to advertise?  


Reply
 
LinkBack Thread Tools
  #1  
Old June 30th, 2009
tyraven's Avatar
tyraven Offline
Junior Member
 
Join Date: June 2009
Posts: 1
nmon graphs

trying to produce graphs using nmom. read the nmon manual and don't see an exact way to do it. I am using nmon to gather info locally on the server but when I bring it over to my PC, no graphs just a bunch of info. any help would be appreciated. Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old June 30th, 2009
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 574
Re: nmon graphs

Try this:

nmon analyser -- A free tool to produce AIX performance reports
__________________
Ross Mather, IBM AIX IT Specialist.
That said anything I say here is my own opinion and not anything that you can ever hold against IBM.
Ohhh and don't forget that I make mistakes too....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old July 7th, 2009
pprevoo's Avatar
pprevoo Offline
Junior Member
 
Join Date: July 2009
Posts: 2
Re: nmon graphs

Hello Tyraven,

You can start nmon with the following parameters:
nmon -F /<filename.csv> -c <number of refreshes> -s <seconds between refreshing> -V -P -Y

-V = Include Disk volume group section
-P = Include paging
-Y = Include Command summary

The resulting file can be converted from .csv to a nice Excel-sheet with graphs. See:
at ibm.com see developerworks/aix/library/au-nmon_analyser


My nmon script:
================================================== ==========
#!/bin/ksh
# This script will start nmon in a controlled fashion.#
# Variables
DATE=`date +"%Y-%m-%d"`
HOST=`hostname`
FILE=nmon_${HOST}_$DATE.csv
NMONBIN=/usr/local/etc
NMONLOG=/var/log/nmon
SCRIPTNAME=`basename $0`
LOGFILE=/tmp/nmon_system_log.sh.$$
EMAIL="<your e-mail>"
DOMAIL="NO"

if [[ $1 = "" || $2 = "" ]];
then
echo
echo "Usage: $SCRIPTNAME <number of refreshers> <seconds delay>"
echo
echo "$SCRIPTNAME 180 60 #Will run nmon for 180 refreshes of 60 seconds."
echo
exit
fi

RUN_CMD()
{
ERROR="NO"
if ! $* >> $LOGFILE 2>&1
then
ERROR="YES"
fi
}


# Check if there is a nmon -F process running
if [ ! "$(ps -ef |grep "nmon" |grep -v "grep" |grep "\-F" )" = "" ]
then
echo "ERROR: An other nmon proces with option -F has been detected!" >> $LOGFILE
DOMAIL="YES"
else
# install new nmon version when we detect a nmon.new file.
if [ -e $NMONBIN/nmon.new ]
then
mv $NMONBIN/nmon.new $NMONBIN/nmon
fi
PARM=""
if [ "$(uname -s)" = "AIX" ]
then
PARM="-V -P -Y"
fi
RUN_CMD $NMONBIN/nmon -F $NMONLOG/$FILE -c$1 -s$2 $PARM
DOMAIL=$ERROR
fi

if [ "$DOMAIL" = "YES" ]
then
mail -s "ERROR: $SCRIPTNAME on $HOST - $(date "+%A %d %B %Y")" $EMAIL < $LOGFILE
sleep 10
rm -f $LOGFILE 2> /dev/null
fi
================================================== ==========


Quote:
Originally Posted by tyraven View Post
trying to produce graphs using nmom. read the nmon manual and don't see an exact way to do it. I am using nmon to gather info locally on the server but when I bring it over to my PC, no graphs just a bunch of info. any help would be appreciated. Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old July 7th, 2009
Frans's Avatar
Frans Offline
Member
 
Join Date: November 2006
Posts: 59
Re: nmon graphs

Also have a look at this link

http://w3.aixncc.uk.ibm.com/tools/pmwiki.php
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Glad to help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old July 9th, 2009
raba's Avatar
raba Offline
Junior Member
 
Join Date: April 2008
Location: Netherlands
Posts: 3
Re: nmon graphs

instead of using excel to import the nmon files:


/developerworks/forums/thread.jspa?threadID=266032&tstart=0

(i can't post links yet so after w w w . ibm . com paste the above)

regards
Randy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
graphs, nmon

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0042-008 nimsh: request denied 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac 3074feb7 aa00e1f3 aio aix aix aio aix freeware aix memory usage aix rsync aixif_arp_dup_addr b150f22a b181f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 fcp_array_err6 fget_config gnu tar aix gtar aix hmc root password hmc vmware ibm p6 520 libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseriestech ptype and account type do not match rshd: 0826-813 permission is denied. rsync aix sc_disk_err4 scan_error_chrp vio server vmware hmc websm ... powered by Simple Search Cloud


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73