Windows 2012 Core Survival Guide – Perfmon capturing


Learn about my 2012 Core Survival Guide here.

 

Perfmon capturing

At this time there are no PowerShell commands for the management of perfmon.  PowerShell does have three commands for accessing perfmon counters: get-counter, export-counter, import-counter.

For this reason we will still need to use the old Logman.exe command to manipulate perfmon.

Seeing a list of defined data collectors

Command:

Logman query

This command will list all of the data collector sets on the targeted server.

 

Viewing details on a single data collector set

In order to view details on a single data collect set you must know the exact spelling.  If there is a space in the name you must place quotes around the name.

Command:

Logman query LogmanCapture

 

 Creating a Data Collector Set

There are several ways to create a collector set.  The example below was selected because it can simply be copied and pasted without requiring any additional files.  This command will collect the necessary objects needed to do a quick performance analysis.   To analyze this output you will need to move the blg file off of the core box onto a workstation with a GUI.  You can use Perfmon which ships with the OS to review the data manually or PAL (found at:  http://pal.codeplex.com/) which is a PowerShell script that can analyze the blg file based on Microsoft’s recommended thresholds. 

Command:

Logman create counter LogmanCapture -v mmddhhmm -c  “\LogicalDisk(*)\*” “\Memory\*” “\Netlogon(*)\*” “\Paging file(*)\*”  “\PhysicalDisk(*)\*”  “\Process(*)\*” “\Processor(*)\*” “\System\*” -si 00:00:30 -f bincirc -o “c:\Perflogs\LogmanCapture_%computername%” -max 250

 

 Starting the Data Collector Set

Command:

Logman start logmancapture

Notice in the output below the data collector is orignially in the stopped state.  After the command has been run it is in the running state.

 

 Stopping the Data Collector Set

Command:

Logman stop logmancapture

Notice the data collector below has gone from the running state to the stopped state. 

 

 I hope you found this useful.  Please leave me a comment.  Let me know if there are any core tasks you would like me to cover.

Bruce

 

Comments (5)

  1. sads says:

    kata sayang http://katakata.terbaru.co.id/category/sayang/
    kata romantis http://katakata.terbaru.co.id/category/romantis/
    kata mutiara http://katakata.terbaru.co.id/category/mutiara/
    kata cinta http://katakata.terbaru.co.id/category/cinta/
    kata lelah http://katakata.terbaru.co.id/category/lelah/
    kata jomblo http://katakata.terbaru.co.id/category/jomblo/
    kata gombal http://katakata.terbaru.co.id/category/gombal/
    kata galau http://katakata.terbaru.co.id/category/galau/

    http://terbaru.over-blog.com/2016/01/cara-mengobati-jerawat-terbaru-2016.html
    http://terbaru.zohosites.com/blogs/post/cara-menghilangkan-jerawat-terbaru-2016/
    http://allblogspotcom.blogspot.co.id/2016/01/cara-menghilangkan-jerawat-terbaru-2016.html
    http://bundlr.com/b/cara-mengobati-jerawat-terbaru-2016
    http://ameblo.jp/terbaru/entry-12119531743.html
    http://cara.terbaru.co.id/tag/jerawat/
    http://www.academia.edu/20421199/Cara_Mengobati_dan_Mengatasi_Jerawat_Terbaru_2016
    http://www.apsense.com/article/hilangkan-jerawat-di-punggung-dengan-putih-telur-dan-mentimun.html
    http://azwarsuaib.edublogs.org/2016/01/21/6-cara-alami-menghilangkan-jerawat/
    http://terbaru.webnode.com/news/cara-atasi-jerawat-dengan-teh-hijau-terbaru-2016/
    http://terbaru2017.jimdo.com/2016/01/20/cara-mengatasi-jerawat-terbaru-2016/
    http://terbaru.emyspot.com/blog/cara-menghilangkan-jerawat-dengan-cepat.html
    http://goo.gl/drIEGP
    http://bit.ly/Cegah_Jerawat
    http://bit.ly/LowonganKerjaTerbaru2016
    http://terbaru.pbworks.com/w/page/104440429/Cara%20Menghilangkan%20Jerawat%20Terbaru
    http://www.eurocamps.net/pl/forum/60354/cara_menghilangkan_jerawat_terbaru_2016
    http://www.pkh.komisiyudisial.go.id/forum/topik-5588-cara-menghilangkan-jerawat-pada-wajah.html

  2. sdas says:

    http://www.biodataselebritis.com/2016/01/profil-dan-biodata-kevin-julio-terbaru.html
    http://www.biodataselebritis.com/2014/12/profil-dan-biodata-gritte-agatha.html
    http://www.biodataselebritis.com/2015/05/profile-biodata-kevin-aprilio.html
    http://www.biodataselebritis.com/2015/05/yukikato.html

    http://spesifikasidanharga.net/spesifikasi-dan-harga-terbaru-yamaha-scorpio-z-cw-maret-2015/
    http://spesifikasidanharga.net/spesifikasi-dan-harga-terbaru-yamaha-scorpio-z-limited-edition-bulan-2015/
    http://spesifikasidanharga.net/terbaru-motor-kawasaki-ninja-150-r-l-bulan-2015/
    http://spesifikasidanharga.net/harga-motor-ninja-terbaru-bulan-2015/

    http://ayokitabikinrame.blogspot.com/2015/01/download-lagu-mp3-terbaru-cita-citata.html
    http://ayokitabikinrame.blogspot.com/2015/02/cara-download-videomp3-flv-mp4-webm-3gp_24.html
    http://ayokitabikinrame.blogspot.com/2015/02/cara-uji-cek-kecocokan-pasangan-anda.html
    http://ayokitabikinrame.blogspot.com/2015/01/video-klip-cita-citata-goyang-dumang.html

    http://ayokitabikinrame.blogspot.com/2015/02/harga-motor-kawasaki-ninja-zx10r_25.html
    http://ayokitabikinrame.blogspot.com/2015/02/cara-daftar-ke-facebook.html
    http://ayokitabikinrame.blogspot.com/2016/01/cek-no-resi-jasa-pengiriman-barang.html
    http://ayokitabikinrame.blogspot.com/2015/03/kode-cheat-gta-san-andreas-ps2-bahasa.html

    http://www.biodataselebritis.com/2015/05/mika-tambayong.html
    http://www.biodataselebritis.com/2015/05/gita-gutawa.html
    http://www.biodataselebritis.com/2015/05/profil-laudya-cynthia-bella.html
    http://www.biodataselebritis.com/2015/05/cinta-laura.html
    http://www.biodataselebritis.com/2015/05/clesea-olivia.html