Buscador

martes, 18 de enero de 2011

Nmon

* Installing the tool (http://nmon.sourceforge.net/pmwiki.php)

The tool is a stand-alone binary file (a different file for each AIX or Linux version) that you can install in five seconds, probably less if you type fast. Installation is simple:

* Copy the nmonXXX.tar.Z file to the machine. If using FTP, remember to use binary mode.
Note: Version XXX replaces this example.
* To uncompress the file, run uncompress nmonXX.tar.Z.
* To extract the files, run tar xvf nmonXX.tar.
* Read the README file.
* To start the nmon tool, type nmon.
* If you are the root user, you might need to type ./nmon.

  • En AIX
 Podemos ver el numero de CPu's del servidor asi como el modelo, su velocidad, el tipo de kernel, sistema operativo,....
Si pulsamos la opcion h tendremoslas difrentes opciones que tenemos:
  • Pulsando las diferentes opciones que queremos, obtendremos ventanas con datos de uso de la maquina, tales como: cpu, memoria, uso de disco, etc... (c,m,k,d)


  • En Linux
Exactamente ocurre lo mismo para linux.
  
  • Nosotros guardamos los datos cada dia para poder interpretarlos en caso de error. Para ello, lo hacemos por medio del crontab.
#crontab for sysstat

#activity reports every 10 minutes everyday
0,10,20,30,40,50 *   * * *     root  /usr/lib/sa/sa1

#update reports every 6 hours
0    */6 * * *     root  /usr/lib/sa/sa2 -A
00 00 * * * /usr/bin/nmon -x -m /sistemas

  • Dentro de la carpeta /sistemas tenemos los nmones guardados. Para poder interpretarlos nos bajamos el siguiente software.  (http://www.ibm.com/developerworks/wikis/display/Wikiptype/nmonanalyser).
 

No hay comentarios:

Publicar un comentario