Kernel Profiler Topics | Previous | Next

KernProf Examples


The following example takes a sample for 500 seconds and pipes the information to the path specified after ">" (in this case, C:\Pathto\Outputfile\Test.exe).

kernprof -a -d -c -x -p -v 500 >c:\pathto\outputfile\test.txt

The following example takes a sample of any counter over 200 and pipes the information to the path specified after the ">" (in this case, the directory from which KernProf was run to Test1.txt).

kernprof -a -d -c -x -p -v 500 200 >test1.txt

The following example takes a sample after waiting for 60 seconds and pipes the information to the path specified after ">" (in this case, C:\Users\Default\Test3.txt).

kernprof -a -d -c -w 60 -x -p -v 500 >c:\users\default\test3.txt