Sunday, December 2, 2012

Loadrunner Certification Exam questions-Part-2


Loadrunner Certification Exam questions- Part-2


Load Runner Exam
1)    What is a LoadRunner scenario?
2)    What is the advantage of running the Vuser as thread?
3)    What are the components of LoadRunner and write file extensions for each component. 
4)    What is a function to capture dynamic values in the web Vuser script?  and write a syntax for the same.? 
5)    What is think time? and write a syntax function for think time?
6)    Write the steps for Manual correlation?
7)    Write all the message functions you know?
8)    Error: “No match found for the requested parameter 'ParameterName'. If the data you want to save exceeds 256 bytes”. If you find this error while correlation, what Is the debug action you perform? 
9)    Write the Syntax for web_reg_find function and also write the purpose of it.
10) What are the function names to convert integer to String and string to Integer?                             
11) Write the different goal types available in Goal oriented scenario?
12) What is the difference between Execute load test for “Run until completion”.
13) Write 4 memory counts and their description.
14) Write 2 CPU counters and their description.
15) How many controllers/ Load Generators and user licenses are there in your company (this is not a right/wrong question – You will get score based on realistic answer you provide) 

Please add other questions if you have.

Thursday, November 29, 2012

Performance Testing | Database Monitoring | Mysql


Following are some commands that we we can use to monitor mysql database on linux server.

To Monitor Current Queries :
  • show processlist;
  • show full processlist;

Query Execution Plan
  • explain QueryStatement
  • explain extended QueryStatement

To show index present in table

           show index from TableName

To Monitor Locks,Waits and Deadlocks
  •  show engine innodb status;  (See semaphore section).
  • SELECT r.trx_id waiting_trx_id,r.trx_mysql_thread_id waiting_thread,r.trx_query waiting_query,b.trx_id blocking_trx_id,b.trx_mysql_thread_id blocking_thread,        b.trx_query blocking_query FROM information_schema.innodb_lock_waits w INNER JOIN information_schema.innodb_trx b  ON b.trx_id = w.blocking_trx_id INNER JOIN information_schema.innodb_trx r  ON r.trx_id = w.requesting_trx_id\G
Find Largest Tables in Mysql

SELECT CONCAT(table_schema, '.', table_name), CONCAT(ROUND(table_rows / 1000000, 2), 'M') rows,CONCAT(ROUND(data_length / ( 1024 * 1024 * 1024 ), 2), 'G')    DATA, CONCAT(ROUND(index_length / ( 1024 * 1024 * 1024 ), 2), 'G') idx,CONCAT(ROUND(( data_length + index_length ) / ( 1024 * 1024 * 1024 ), 2), 'G') total_size,ROUND(index_length / data_length, 2) idxfrac FROM information_schema.TABLES ORDER  BY data_length + index_length DESC LIMIT  10;


Enabling Slow Query Log*:

1) Enter following lines in the file[my.cnf]
                Default Location:[ Location :/etc/my.cnf]

#ForSlowQuerylog  

datadir                         = /var/lib/mysql
log_slow_queries                = mysql-slow.log
long_query_time                 = 1     
  
2) After making changes restart the mysql .

*Require Root access to make this change


Tool for monitoring: Spotlight (http://www.quest.com/spotlight-on-mysql/)

Please feel free to add anything regarding Mysql Monitoring to this thread.

Tuesday, November 27, 2012

linux top command -- For Beautiful Monitoring of server Hardware Resources


The linux top command is the Command Line equivalent to Task Manager in windows.

Question / Scenario:

How do I determine CPU and Memory utilization, based on running processes.

Answer / Solution:

Use the TOP command in linux.

TOP

Top command provides a real-time look at what is happening with your system. Top produces so much output that a new user may get over whelmed with all thats presented and what it means.
Lets take a look at TOP one line at a time. The server has been flooded with http requests to create some load on the server.
top output:
top - 22:09:08 up 14 min,  1 user,  load average: 0.21, 0.23, 0.30
Tasks:  81 total,   1 running,  80 sleeping,   0 stopped,   0 zombie
Cpu(s):  9.5%us, 31.2%sy,  0.0%ni, 27.0%id,  7.6%wa,  1.0%hi, 23.7%si,  0.0%st
Mem:    255592k total,   167568k used,    88024k free,    25068k buffers
Swap:   524280k total,        0k used,   524280k free,    85724k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 3166 apache    15   0 29444 6112 1524 S  6.6  2.4   0:00.79 httpd
 3161 apache    15   0 29444 6112 1524 S  5.9  2.4   0:00.79 httpd
 3164 apache    15   0 29444 6112 1524 S  5.9  2.4   0:00.75 httpd
 3169 apache    15   0 29444 6112 1524 S  5.9  2.4   0:00.74 httpd
 3163 apache    15   0 29444 6112 1524 S  5.6  2.4   0:00.76 httpd
 3165 apache    15   0 29444 6112 1524 S  5.6  2.4   0:00.77 httpd
 3167 apache    15   0 29444 6112 1524 S  5.3  2.4   0:00.73 httpd
 3162 apache    15   0 29444 6112 1524 S  5.0  2.4   0:00.77 httpd
 3407 root      16   0  2188 1012  816 R  1.7  0.4   0:00.51 top
  240 root      15   0     0    0    0 S  0.3  0.0   0:00.08 pdflush
  501 root      10  -5     0    0    0 S  0.3  0.0   0:01.20 kjournald
 2794 root      18   0 12720 1268  560 S  0.3  0.5   0:00.73 pcscd
    1 root      15   0  2060  636  544 S  0.0  0.2   0:03.81 init
    2 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 migration/0
    3 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
    4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
    5 root      10  -5     0    0    0 S  0.0  0.0   0:00.07 events/0
The first line in top:
top - 22:09:08 up 14 min,  1 user,  load average: 0.21, 0.23, 0.30
“22:09:08″ is the current time; “up 14 min” shows how long the system has been up for; “1 user” how many users are logged in; “load average: 0.21, 0.23, 0.30″ the load average of the system (1minute, 5 minutes, 15 minutes).
Load average is an extensive topic and to understand its inner workings can be daunting. The simplest of definitions states that load average is the cpu utilization over a period of time. A load average of 1 means your cpu is being fully utilized and processes are not having to wait to use a CPU. A load average above 1 indicates that processes need to wait and your system will be less responsive. If your load average is consistently above 3 and your system is running slow you may want to upgrade to more CPU’s or a faster CPU.
The second line in top:
Tasks:  82 total,   1 running,  81 sleeping,   0 stopped,   0 zombie
Shows the number of processes and their current state.
The third lin in top:
Cpu(s):  9.5%us, 31.2%sy,  0.0%ni, 27.0%id,  7.6%wa,  1.0%hi, 23.7%si,  0.0%st
Shows CPU utilization details. “9.5%us” user processes are using 9.5%; “31.2%sy” system processes are using 31.2%; “27.0%id” percentage of available cpu; “7.6%wa” time CPU is waiting for IO.
When first analyzing the Cpu(s) line in top look at the %id to see how much cpu is available. If %id is low then focus on %us, %sy, and %wa to determine what is using the CPU.
The fourth and fifth lines in top:
Mem:    255592k total,   167568k used,    88024k free,    25068k buffers
Swap:   524280k total,        0k used,   524280k free,    85724k cached
Describes the memory usage. These numbers can be misleading. “255592k total” is total memory in the system; “167568K used” is the part of the RAM that currently contains information; “88024k free” is the part of RAM that contains no information; “25068K buffers and 85724k cached” is the buffered and cached data for IO.
So what is the actual amount of free RAM available for programs to use ?
The answer is: free + (buffers + cached)
88024k + (25068k + 85724k) = 198816k
How much RAM is being used by progams ?
The answer is: used – (buffers + cached)
167568k – (25068k + 85724k) = 56776k
The processes information:
Top will display the process using the most CPU usage in descending order. Lets describe each column that represents a process.
 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
3166 apache    15   0 29444 6112 1524 S  6.6  2.4   0:00.79 httpd
PID – process ID of the process
USER – User who is running the process
PR – The priority of the process
NI – Nice value of the process (higher value indicates lower priority)
VIRT – The total amount of virtual memory used
RES – Resident task size
SHR – Amount of shared memory used
S – State of the task. Values are S (sleeping), D (uninterruptible sleep), R (running), Z(zombies), or (stopped or traced)
%CPU – Percentage of CPU used
%MEM – Percentage of Memory used
TIME+ – Total CPU time used
COMMAND – Command issued

Interacting with TOP

Now that we are able to understand the output from TOP lets learn how to change the way the output is displayed.
Just press the following key while running top and the output will be sorted in real time.
M – Sort by memory usage
P – Sort by CPU usage
T – Sort by cumulative time
z – Color display
k – Kill a process
q – quit
If we want to kill the process with PID 3161, then press “k” and a prompt will ask you for the PID number, and enter 3161.

Command Line Parameters with TOP

You can control what top displays by issuing parameters when you run top.
- d – Controls the delay between refreshes
- p – Specify the process by PID that you want to monitor
-n – Update the display this number of times and then exit
If we want to only monitor the http process with a PID of 3166
$ top -p 3166
If we want to change the delay between refreshes to 5 seconds
$ top -d 5

Sunday, November 18, 2012

Dealing with dynamic boundaries in LoadRunner using Text Flags

When we talk about LoadRunner, we generally hear the term Correlation (which is nothing but capturing dynamic data from the server response to be used as input in further requests). LoadRunner is good at auto-correlation capabilities, but sometimes we come across situations, where only your scripting capabilities and the correct use of some advanced features can help.
We generally talk about dynamic data, but what if the strings by which that dynamic data is bound, are themselves dynamic. To put it simply, what if the left and right boundaries of the string to be captured are dynamic? For complex changes, we first capture a subset of the server response, based on some unique boundaries identified, and then with the aid of custom-built string handling functions, we get the desired substring out of the captured string. I will discuss that approach in a separate article.
Many a times, the solution can be much simpler. If you come across dynamic boundaries like the following, then instead of doing lot of string operations, you can use text flags in LoadRunner.
Suppose you have the response data as follows, where Captured is the string you want to capture, but issue is that the left boundary is changing every time. You get the left boundary as axb, where x ranges between 0 and 9, as follows:
a0b=Capturedrb
a1b=Capturedrb
a2b=Capturedrb
——–
——–
a9b=Capturedrb
You can capture the desired string by putting the following correlation function in place, using the /DIG text flag in combination with LB:
web_reg_save_param(“DynamicCapture”, “LB/DIG=a#b\=”, “RB=rb”, LAST);

The corresponding place, which you expect to be dynamically filled in with a digit, should be replaced by a pound sign ( # ).
If letters are changing case, you can modify the function as below to include the /IC flag:
web_reg_save_param(“DynamicCapture”, “LB/IC/DIG=a#b\=”, “RB/IC=rb”, LAST);
Extending the argument further, if there are multiple digits, you have to put a pound sign (#) sing for each digit:
A0123b=”Captured”rb
web_reg_save_param(“DynamicCapture”, “LB/IC/DIG=a####b\=”, “RB/IC=rb”, LAST);
Till now we were discussing about dynamic digits. If you find a case, where you expect a place to be filled in dynamically by a digit or a letter, then modify the function to use /ALNUM instead of /DIG text flag, and use caret sign(^) instead of # :
web_reg_save_param(“DynamicCapture”, “LB/ALNUM=a^b\=”, “RB/IC=rb”, LAST);

To deal with the case while, matching alphanumeric dynamic boundaries, there are three versions of /ALNUM flag as – ALNUMIC to ignore case, ALNUMLC to match only lower case, and ALNUMUC to match only upper case. In the above example, ALNUMIC has been used.
So, go back experiment! But while you do that, keep in mind two things:
1.One sign (# or ^) for each place
2.If you have a literal # or ^ sign, it will not be interpreted as a literal, if you use the corresponding flags. E.g. LB/DIG=a#b will not match “a#b”.

Tuesday, August 14, 2012

MongoDB Profiling

Login to mongodb: by /bin/mongo
   [ You can find the same by locate command $ locate bin/mongo

Show database available command
show dbs
show db db_name[example : show db global ]

 db.getProfilingStatus()
db.setProfilingLevel(0);
 db.commandHelp("mongostat")
 db.commandHelp("profile")
mongostat

LoadRunner Certification Information & Sample Questions


Certification Information: http://www.lalitgarg.com/2012/05/loadrunner-certification.html

Sample Questions:

1.) What is the kind of testing used to check the behavior and performance of each tier?
Ans) Performance Testing

2.) What is the performance test objective which checks whether a new version of the software Adversely affect response time?
Ans) Benchmark Performance Testing, based (benchmarked) on previous version

3.) What is the performance test objective which checks whether the system is stable enough to go into production?
Ans) Detect all the bottlenecks

4.) The load generator should have connectivity to which components?select two?
 a.) web server b.) vugen c.) controller d.) analysis
Ans) (a),(c)

5.) Which component emulate the steps of real users using the application?
a.) vugen b.)Controller c.)load generator d.) analysis
Ans) a)
6.) What is the component used to monitor application infrastructure components which provide metrics for system tuning?
Ans) Controller

7.) What u will do after doing a debug run?
a.) re-run the scenario b.) tune the system c.) go to full load test and scalability test d.) inform
the project manager that system peformance is good and stop the load testing
Ans) c
8.) Which statement is an example of a conceptual goal?
A. The update transaction should function during heavy usage.
B. The Update transaction must attain 200 concurrent users during peak time.
C. The search transaction should respond within 5 seconds during normal usage.
D. The login transaction should respond within 4 seconds or less during heavy usage.
Ans) D)

9.) What is the LoadRunner term used to define a collection of Vusers within a scenario?
A. Set
B. Group
C. Profile
D. Scenario
Ans) B)

10.)A set of actions or user steps performed within an application to accomplish a business goal is called as
a.) business process
b.) transaction
c.) concurrency
d.) check point
Ans) b)

11.) An example of stress testing :
a.) Purchasing at an e-commerce site
b.)Searches at a search engine site
c.)Updated content display at a news site
d.)Downloading received orders or updating order status at a Client / Server system.
Ans) a)

12.) Master Data comes from :
a.) Application data
b.)user input
c.) System will generate
d.) from scripts
Ans) a)

13.) An example of user generated data
a.) e-mail address
b.) session id
c.) confirmation number
d.) userid and password
Ans) d)

14.) delay between two different iterations can be done by using which run time settings?
Ans) Pacing

15.) Iterations can be set under which option in run time settings dialog box?
Ans) RunLogic

16.) What is the type of concurrency happening when user was in the process of buying tickets?
Ans) ----

17.) What is the type of business process happening when multiple users were buying tickets?
Ans)-----

18.) How many transactions will need to be run per minute if a load test has to be run for four hours with 2000 users, assuming an average length of ten minutes?
Ans) 200 transactions

19.) what is the process to validate that there is enough test hardware available in the test environment,benchmark the business processes against the testing hardware?
Ans) Smoke Test

20.) vugen should have connectivity to which component to record vuser script?
a.) AUT(application under test)
b.) analysis
c.) controller
d.) load generator
Ans a)

21.) u r trying to change the server sampling rate and u couldn't do it what u should u do to make the process the successful?
a.) disconnect load generator and try again
b.) close loadrunner and open again
c.) shut down the corresponding server and try again
d.) u couldn't do that because u cannot change server sampling rate

22.) When u click start scenario option:
a.) load generator will automatically go to ready state and do the necessary operation
b.) U need to manually click the connect button in load generator window
c.) start wlrun.exe
d.) ping the controller
Ans) a)

23.) Before the vusers are executed, first they are
a.) initialized
b.) they will execute the scripts directly in AUT from load generator
c.) paused and then will do the intended operation
d.) vusers will go to rendezvous state
Ans) a)

24.) Option where vusers and groups will be automatically scheduled is
a.) Manual scenario
b.) Goal oriented scenario
c.) real life schedule
d.) Run until completion
Ans) d)

25.) What is the scenario outline for the condition update should successfully happen for 1000 concurrent users
a.) script should define update and 1000 concurrent users should run the script
b.) script should define update and 1000 users should run the script
c.) update transaction with manual scenario
d.) update transaction with goal oriented scenario
Ans) d)

26.) the type of file to be choosed in scenario groups is
a.) .lrr file
b.) .lra file
c.) .usr file
d.) .lrs file
Ans) d)

27.) What is the minimum value for transaction monitor frequency for small scenarios?
Ans) 1 minute

28.) What is the minimum value for transaction monitor frequency for large scenarios?
Ans) 1 minute

29.) if in initial stages of scenario execution during ramp up, if u feel that response time is
increasing, what u will do to run the scenario with current users?
a.) stop the scenario and decrease the no of vusers
b.) press the pause button in interactive schedule graph to continue with current no of users
c.) pause the users in run tab
d.) design a different scenario
Ans) a)

30.) what is the common run time settings for all protocols?
Ans) General

31.) What run-time settings we need to have for debug run?
Ans) Replay think time, Extended logs on,No pacing

31.) run time settings for the whole controller can be accessed from?(menu flow)
Ans)From controller's Run-time setings button

32.) What is the term u call to pass different input to a script?
Ans)Parameterisation

33.) Results of scenario execution are stored in
a.) controller machine
b.) load generator machine
c.) vugen machine
d.) analysis machine
Ans) Load generator,if you collate the results it will be copied in controller machine

34.) An intersection point in a business process is called as?
Ans) Rendezvous point

35.) extended log and data returned by server will be used for
a.) debug run
b.) isolate top time transaction
c.) full load
d.) scalability load
Ans) a

36.) What is the HTTP status code which indicates an individual business process is failing under load, or the Web application itself has crashed.
a.) 404
b.) 502
c.) 500
d.) 200
Ans) c)

37.) What are the two types of scheduling available in controller?
Ans) Schedule by Scenario, Schedule by Group

38.) what is the option in analysis used to isolate a specific measurement?
a.) drill down
b.) filter
c.) Autocorrelate
d.) graularity
Ans) b)

39.) What is the graph used to get transaction throughout the test?
a.) Average Transaction response time
b.) Response time per second
c.)Transaction response time distribution graph
d.)Transaction response time percentile graph
Ans) c)

40.) If number of hits become flattened, then the issue is with
a.) application server
b.) web server
c.) database server
d.) authentication server
Ans) b)

41.) If throughput graph becomes flattened out then the issue is with
a.) ramp up
b.) bandwidth
c.) firewall
d.) network
Ans) b)

42.) server time and network time can be identified using graph
a.) time to first buffer breakdown
b.) page download time breakdown
c.) Page Component Breakdown (Over Time) Graph
d.) Downloaded Component Size Graph
Ans) a)

43.) What is the type of graph displayed below
a.) Transaction Response Time (Distribution) Graph
b.) SLA graph
c.) Summary graph
d.) Transaction breakdown graph
Ans) Where is the Graph????

44.) what are the main formats in which we can produce analysis results(choose any two)
a.) ms excel
b.) crystal reports
c.) ms word
d.) HTML
e.) XML
Ans) c),d)

45.) Tell me two business process u will record out of which displayed below?
BusinessProcessNameTypical Day Peak Day DynamicContent MissionCritical Record
Sign in 70/hr 210/hr Light High ?
Create new account 10/hr 15/hr Moderate Low ?
Search for flights 130/hr 180/hr Moderate Moderate ?
View flight booking 20/hr 30/hr Moderate High ?
Ans) business process---Sign-in, Business process-Search for Flights

46) Which option in the Analysis tool allows you to compare a measurement in a graph with other measurements during a specific time range of a scenario and view similar trends?
A. Drill Down
B. Apply Filter
C. Merge Graphs
D. Auto Correlate
Answer: D

47) Which Analysis graph details transaction response times as a function of load?
A. Transactions per Second
B. Average Transaction Response Time
C. Transaction Response Time Under Load
D. Transaction Response Time (distribution)
Answer: C

48) During analysis of a scenario, you realize that the throughput becomes flat as Vusers continue to increase. What is the likely cause?
A. a bandwidth problem
B. a database server problem
C. a web server connection problem
D. an application server connection problem
Answer: A

49) Which option in the Analysis tool allows you to see the results of two graphs from the same load test scenario in a single graph?
A. Drill Down
B. Apply Filter
C. Merge Graphs
D. Auto Correlate
Answer: C

50) Which Analysis graph shows the number of transactions against transaction response times?
A. Transactions per Second
B. Average Transaction Response Time
C. Transaction Response Time Under Load
D. Transaction Response Time (distribution)
Answer: D

51) In the Analysis tool, what allows you to modify the scale of the x-axis?
A. think time
B. granularity
C. event type
D. transaction hierarchical path
Answer: B

52) Which Analysis graph details the delay for the complete path between the source and destination machines?
A. MS IIS
B. Windows Resource
C. Network Delay Time
D. Time to First Buffer Breakdown
Answer: C

53) Click the Exhibit button.Which type of graph does the image in the exhibit represent?
A. Merged graph
B. Drill Down graph
C. Cross Scenario graph
D. Auto Correlated graph
Answer: C

54) What does the elapsed time in the Scenario Status window refer to?
A. the time that has elapsed from when all Vusers have finished Initializing
B. the time that has elapsed from when all Vusers were in the running state
C. the time that has elapsed from when you press the start Scenario button
D. the time that has elapsed from when the first Vusers entered the running state
Answer: C

55) You configure a scenario to start with a delay of <05:00:00> (HH:MM:SS) just before leaving from work. You return the next morning to find that the scenario did not run. Why would this happen?
A. You failed to save the scenario.
B. You failed to save the schedule.
C. You failed to connect to the load generators.
D. You failed to press the START SCENARIO button.
Answer: D

56) What provides you with the level of activity associated with each business process during each hour of a typical work day?
A. Conceptual goals list
B. Business process profile
C. Task distribution diagram
D. System configuration diagram

57) When would you need to perform path translation for a scenario execution?
A. When you use Storage Area Network (SAN) to store the scripts and results
B. When you can use the Universal Naming Convention (UNC) for accessing the shared network drive being used to store scripts and results
C. When the scripts and results are configured to be stored on the current Vuser machine
D. When the shared network drive being used to store results and scripts is mapped to a different drive letter on the Controller versus the Load Generator

58) You executed a load test using scripts running on load generators placed at various points on the network. You need to determine the response times by load generator for the scenario run. Which features (used independently) within the Analysis tool, can help you accomplish this? (Select two.)
A. Auto correlate
B. Merge graphs
C. Set filter
D. Cross with result
E. Drill down
-------------------------------------------------------------------------------------------------
Hi...:) ...If any one found wrong answers plz... post your answers to administrator
Above inormation may help to the people who are appearing Loadrunner certification.

All the Best ..!!!!

Wednesday, August 1, 2012

Creating LoadRunner Dynamic Transaction Names


Today I wanted to use parameterized transaction names within a LoadRunner script. 

1) As I thought that a particular transaction was failing after a particular number of iterations. 

2) For Capturing the response time of  request having different keyword searches for each keyword 

Luckily this was pretty simple in LoadRunner. It was just a case of using lr_eval_string in the call to the transaction wrapper.

lr_start_transaction(lr_eval_string("Do Something {IterationNo}"));
lr_end_transaction(lr_eval_string("Do Something {IterationNo}"), LR_AUTO);

Example

lr_start_transaction(lr_eval_string("Response Time for search of {Keyword_Param}"));

web_url("autoSuggestion", 
"URL=http://lalitgarg.com/json/search/autoSuggestion?q={Keyword_Param}&catId=0&v=", 
"TargetFrame=", 
"Resource=1", 
"RecContentType=application/json", 
"Referer=", 
"Snapshot=t1.inf", 
LAST);

 lr_end_transaction(lr_eval_string(" Response Time for search of {Keyword_Param}"), LR_AUTO);


You have to be careful above to make sure that start and end transaction names are the same. To overcome that problem I created a string variable to hold the LoadRunner transaction name.
char sTranName[20];
sprintf(sTranName,lr_eval_string("TransactionA_{pIteration}"));
lr_start_transaction(sTranName);
lr_end_transaction(sTranName,LR_AUTO);

Thursday, July 12, 2012

Windows Performance Monitoring Counters


Windows Performance Monitoring Counters:

 Steps To Set Performance Monitoring Counters in Windows Server Machine:

1. Go to Run in Start
2. Type Perfmon Press Enter
3.Right Click on Right Pane and Press Add Counters
4. Add the counters to be monitored at run time


Note:You can also collect the values of counters by setting New Collector for post analysis and report preparation

Resources
Performance
Monitoring Counters
Description
Processor
% Processor Time
% Processor Time is the percentage of elapsed time that the processor spends to execute a non-Idle thread.
% Previledge Time
% Privileged Time is the percentage of elapsed time that the process threads spent executing code in privileged mode.
% User Time
% User Time is the percentage of elapsed time the processor spends in the user mode.
Interepts/Sec
Interrupts/sec is the average rate, in incidents per second, at which the processor received and serviced hardware interrupts
Process
% Privileged Time
% Privileged Time is the percentage of elapsed time that the process threads spent executing code in privileged mode
% Processor Time
% Processor Time is the percentage of elapsed time that all of process threads used the processor to execution instructions.
% User time
% User Time is the percentage of elapsed time that the process threads spent executing code in user mode.
Page Faults/sec
Page Faults/sec is the rate at which page faults by the threads executing in this process are occurring.
Page File Bytes
Page File Bytes is the current amount of virtual memory, in bytes, that this process has reserved for use in the paging file(s).
Thread Count
The number of threads currently active in this process.
Working Set
Working Set is the current size, in bytes, of the Working Set of this process.
Working Set Peak
Working Set Peak is the maximum size, in bytes, of the Working Set of this process at any point in time.
Memory
Available Mbytes
Available MBytes is the amount of physical memory, in Megabytes, immediately available for allocation to a process or for system use.
Catche Faults/sec
Cache Faults/sec is the rate at which faults occur when a page sought in the file system cache is not found and must be retrieved from elsewhere in memory (a soft fault) or from disk (a hard fault).
Page Faults/sec
Page Faults/sec is the average number of pages faulted per second.
Page write/sec
Page Writes/sec is the rate at which pages are written to disk to free up space in physical memory.
Page read/sec
Page Reads/sec is the rate at which the disk was read to resolve hard page faults.
Pages/sec
Pages/sec is the rate at which pages are read from or written to disk to resolve hard page faults.
Pool NonPaged Bytes
Pool Nonpaged Bytes is the size, in bytes, of the nonpaged pool, an area of system memory (physical memory used by the operating system) for objects that cannot be written to disk, but must remain in physical memory as long as they are allocated.
Network Interface
Bytes Received/sec
Bytes Received/sec is the rate at which bytes are received over each network adapter, including framing characters.
Bytes Sent/sec
ytes Sent/sec is the rate at which bytes are sent over each network adapter, including framing characters. Network Interface\Bytes Sent/sec is a subset of Network Interface\Bytes Total/sec.
Bytes Total/sec
Bytes Total/sec is the rate at which bytes are sent and received over each network adapter, including framing characters.
Packets/sec
Packets/sec is the rate at which packets are sent and received on the network interface.
Packets Sent/sec
Packets Sent/sec is the rate at which packets are sent on the network interface.
Packets Received/sec
Packets Received/sec is the rate at which packets are received on the network interface.
Physical Disk
% Disk time
% Disk Time is the percentage of elapsed time that the selected disk drive was busy servicing read or write requests.
Avg Disk bytes/transfer
Avg. Disk Bytes/Transfer is the average number of bytes transferred to or from the disk during write or read operations.
Disk Read bytes/sec
Disk Read Bytes/sec is the rate at which bytes are transferred from the disk during read operations.
Disk write bytes/sec
Disk Write Bytes/sec is rate at which bytes are transferred to the disk during write operations.
Disk transfer/sec
Disk Transfers/sec is the rate of read and write operations on the disk.
Disk write/sec
Disk Writes/sec is the rate of write operations on the disk.
% Disk Read Time
% Disk Read Time is the percentage of elapsed time that the selected disk drive was busy servicing read requests.
% Disk Write Time
% Disk Write Time is the percentage of elapsed time that the selected disk drive was busy servicing write requests.
Avg Disk Queue Length
Avg. Disk Queue Length is the average number of both read and write requests that were queued for the selected disk during the sample interval.
Current Disk Queue Length
Current Disk Queue Length is the number of requests outstanding on the disk at the time the performance data is collected.
System
Context switches/sec
Context Switches/sec is the combined rate at which all processors on the computer are switched from one thread to another.
Processor Queue Length
Processor Queue Length is the number of threads in the processor queue.
Threads
Threads is the number of threads in the computer at the time of data collection.
Objects
Processes
Processes is the number of processes in the computer at the time of data collection.
Threads
Threads is the number of threads in the computer at the time of data collection.



Note: Counters shown above are the general one,More counters can be added depending on the type of application like [for .Net application;It is recommended to add counters related to the .Net application]

We will soon share the more counters depending on the type of applications.