Collect hw counters

I am running collect on a Niagara system and trying to get harware counter information, but all the counts are assigned to <Unknown>. For example I have run:
collect -p on -h +dcm/0,hi program
I get the routine timing information but all the d-cache misses are in <unknown>.
I have compiled using:
-xhwcprof -xdebugformat=dwarf -g -xO[23]
Any ideas?

The Niagara counters do not generate interrupts for those counters
that are on register zero (it's a HW problem, unfixable in SW).
The only counter that can be used for profiling on Niagara is
"insts" -- instructions executed -- the only counter on register one.
Marty Itzkowitz, Project lead, Sun Studio Performance Tools

Similar Messages

  • In logman, should All Instances include _Total?

    Hello
    If this question has already been asked and answered elsewhere, my apologies.
    I want to collect IIS worker process perfmon data using logman.  When I add counters in PerfMon, choosing All Instances gives all instances (each w3wp process for each application pool, plus _Total).  When I try to get the same in "logman 
    create counter" using
    -c "\w3svc_w3wp(*)\*"
    All I get is _Total, none of the individual instances.
    Through getting the wrong end of the stick about parent/instance#index (from
    http://technet.microsoft.com/en-us/library/bb490956.aspx), I happened into trying
    -c "\w3svc_w3wp(**)\*"
    which gave the individual instances but not _Total.  I've tried a combination of using (**) and (_Total), but that gave the individual instances only.
    I'm sure I'm doing something simple wrong and would appreciate someone telling me what it is.
    Thank you
    dg
    dg

    Hello again
    I've continued trying to collect program counters for all instances, not only _Total, and not only every individual instance bar _Total.
    I thought that it was just Logman that didn't agree with my expectations, but I'm having the same problem with Data Collector Sets made in PerfMon.  When running live in PerfMon, I'm collecting for all the instances, which translates as "*" when adding
    the counters, but specifically names the instances when I look in
    System Monitor Log for that Data Collector Set
    Logman query for that Data Collector Set.
    (Presumably this means that the application pool worker processes would not be picked up if the application pool recycles, thus changing the ID number at the start of the instance name.  But that does not apply to processor instances.)
    But when I look at the binary log file in PerfMon, I'm only seeing counters for instance "_Total".
    So, it seems that the recorded counters are the same whether I use logman and specify instance "*", or whether I use PerfMon and create a new Data Collector Set from the current live counters.  I only get results for _Total, not for individual instances.
    I would appreciate guidance to documentation that explains that this is the expected behaviour, or an explanation of how to collect the counters for the individual instances other than in real time.
    Please help.  Thanks
    dg

  • SQL Server database save error

    I am encountering an issue every few days or so whereby, for some reason, my metadata database LDF log file is growing to a very large size (> 5GB in size). This could be due to specific settings for my database, however I don’t believe I’m doing anything
    unusual so it’s probably worth recording.
    When the LDF grows to a large size, I start to see the following I/O error messages in the windows event viewer for the SQL database service:
    2014-08-28 16:18:25:
    SQL Server has encountered 1 occurrence(s) of I/O requests taking longer than 15 seconds to complete on file [C:\SCM\Databases\PPGallium_Metadata_New4_log.ldf] in database [PPGallium_Metadata_New4] (7).  The OS file handle is 0x0000000000000A64. 
    The offset of the latest long I/O is: 0x000000fe4f3200
    This is followed by further follow-on errors in saving data to the database (from Gallium database service log for same time):
    -28 16:19:05.960] DEBUG (   90) PP.Workflow.Service.Database.MetadataProvider - Saving 13 items(s) on model with ID 'd022f598-4f25-4f87-a8fd-e8dc2825c916'...
    [2014-08-28 16:19:06.341] DEBUG (   88) PP.Workflow.Service.Database.ScheduleProvider - Saving 1 items(s) on model with ID 'f16fac97-3cdd-471a-bf8c-7a839a386f7f'...
    [2014-08-28 16:19:06.347] DEBUG (   88) PP.Workflow.Service.Database.ScheduleProvider - Committing...
    [2014-08-28 16:19:06.354] DEBUG (   88) PP.Framework.Model.Sync.Database.SqlDataContext - Committing...
    [2014-08-28 16:19:06.357] DEBUG (   88) PP.Framework.Model.Sync.Database.SqlDataContext - Committed.
    [2014-08-28 16:19:06.360] DEBUG (   88) PP.Workflow.Service.Database.ScheduleProvider - Item(s) saved.
    [2014-08-28 16:19:06.672] DEBUG (   89) PP.Workflow.Service.Database.MetadataProvider - Saving 5 items(s) on model with ID 'd022f598-4f25-4f87-a8fd-e8dc2825c916'...
    [2014-08-28 16:19:06.722] DEBUG (   92) PP.Workflow.Service.Database.MetadataProvider - Saving 5 items(s) on model with ID 'd022f598-4f25-4f87-a8fd-e8dc2825c916'...
    [2014-08-28 16:19:06.860] DEBUG (   54) PP.Workflow.Service.Database.ScheduleProvider - Purging...
    [2014-08-28 16:19:06.865] DEBUG (   54) PP.Framework.Model.Sync.Database.SqlDataContext - SQL output received ('There are no more objects to purge').
    [2014-08-28 16:19:06.867] DEBUG (   54) PP.Workflow.Service.Database.ScheduleProvider - Purging complete. 0 item(s) purged. 25 item ID(s) remain cached.
    [2014-08-28 16:19:06.962] DEBUG (   88) PP.Workflow.Service.Database.MetadataProvider - Saving 6 items(s) on model with ID 'd022f598-4f25-4f87-a8fd-e8dc2825c916'...
    [2014-08-28 16:19:13.553] ERROR (   60) PP.Workflow.Service.Database.DatabaseService - Failed to save ('Failed to commit transaction ('Failed to merge 'Object' data from staging table due to an SQL error ('Timeout expired.  The timeout
    period elapsed prior to completion of the operation or the server is not responding.')')').
    [2014-08-28 16:19:13.586] DEBUG (   22) PP.Workflow.Service.Database.MetadataProvider - Committing...
    [2014-08-28 16:19:13.603] ERROR (   17) PP.Workflow.Service.Database.DatabaseService - Failed to save ('Failed to commit transaction ('Failed to merge 'Object' data from staging table due to an SQL error ('Timeout expired.  The timeout
    period elapsed prior to completion of the operation or the server is not responding.')')').
    [2014-08-28 16:19:13.617] ERROR (   20) PP.Workflow.Service.Database.DatabaseService - Failed to save ('Failed to commit transaction ('Failed to merge 'Object' data from staging table due to an SQL error ('Timeout expired.  The timeout
    period elapsed prior to completion of the operation or the server is not responding.')')').
    [2014-08-28 16:19:13.621] DEBUG (   89) PP.Workflow.Service.Database.MetadataProvider - Committing...
    [2014-08-28 16:19:13.623] DEBUG (   32) PP.Workflow.Service.Database.MetadataProvider - Committing...
    When I then restart the database service, I get the following unhandled exception:
    2014-08-28 16:21:15.874] DEBUG (    6) PP.Workflow.Service.Database.ScheduleProvider - Purging complete. 0 item(s) purged. 25 item ID(s) remain cached.
    [2014-08-28 16:21:16.625] FATAL (Database Cache Pre-fetch) PP.Workflow.Service.Database.DatabaseWindowsService - Unhandled exception on worker thread ('Failed to get child BLOB properties for object '233fd1db-67c2-4745-91ce-8ff5c5bdf044' due to an SQL error
    ('Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.')').
    PP.Framework.Model.Sync.Core.SyncModelProviderException: Failed to get child BLOB properties for object '233fd1db-67c2-4745-91ce-8ff5c5bdf044' due to an SQL error ('Timeout expired.  The timeout period elapsed prior to completion of the operation or
    the server is not responding.') ---> System.Data.SqlClient.SqlException: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception: The wait operation
    timed out
       --- End of inner exception stack trace ---
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
       at System.Data.SqlClient.SqlDataReader.get_MetaData()
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteReader()
       at PP.Framework.Model.Sync.Database.SqlDataContext.GetListBlobProperties(Guid itemId, Nullable`1 updateId) in c:\SCM\Workflow Applications MS0\Sync Framework\PP.Framework.Model.Sync.Database\SqlDataContext.cs:line 1147
       --- End of inner exception stack trace ---
       at PP.Framework.Model.Sync.Database.SqlDataContext.GetListBlobProperties(Guid itemId, Nullable`1 updateId) in c:\SCM\Workflow Applications MS0\Sync Framework\PP.Framework.Model.Sync.Database\SqlDataContext.cs:line 1164
       at PP.Framework.Model.Sync.Database.DatabaseProvider`1.ReadModelItem(Type type, Guid id, ISyncModelItem parent, IDatabaseDataContext dataContext, Dictionary`2 itemInfosById, Nullable`1 updateId) in c:\SCM\Workflow Applications MS0\Sync Framework\PP.Framework.Model.Sync.Database\DatabaseProvider.cs:line
    421
       at PP.Framework.Model.Sync.Database.DatabaseProvider`1.<>c__DisplayClass2.<StartPrefetching>b__0() in c:\SCM\Workflow Applications MS0\Sync Framework\PP.Framework.Model.Sync.Database\DatabaseProvider.cs:line 189
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
    [2014-08-28 16:21:16.631] FATAL (Database Cache Pre-fetch) PP.Workflow.Service.Database.DatabaseWindowsService - Inner Exception (level 1) ('Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.').
    System.Data.SqlClient.SqlException (0x80131904): Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
       at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
       at System.Data.SqlClient.SqlDataReader.get_MetaData()
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteReader()
       at PP.Framework.Model.Sync.Database.SqlDataContext.GetListBlobProperties(Guid itemId, Nullable`1 updateId) in c:\SCM\Workflow Applications MS0\Sync Framework\PP.Framework.Model.Sync.Database\SqlDataContext.cs:line 1147
    ClientConnectionId:2ce295e4-ad9d-4fa5-82e8-06351e1bee00
    [2014-08-28 16:21:16.633] FATAL (Database Cache Pre-fetch) PP.Workflow.Service.Database.DatabaseWindowsService - Inner Exception (level 2) ('The wait operation timed out').
    System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out.
    Has anyone experienced any issues like this?
    Thanks
    Ian

    Hi Ian,
    According to your description, the error message indicates SQL Server I/O bottlenecks. The SQL Server I/O bottleneck can be caused by many reasons, for example, there is firmware issue or misconfiguration issue in I/O subsystem , or some other process on
    your system is saturating the disks with I/O requests.
    To troubleshoot this issue, I recommend the following steps.
    1. Exclude SQL Server files from antivirus scan.
    2. Do not place SQL Server FILES on compressed drives.
    3. Distribute SQL Server data files and transaction log files across drives.
    4. Collect perfmon counters to get more information about I/O operation.
    For more details, please review this blog:
    I/O requests taking longer than 15 seconds to complete on file.
    Thanks,
    Lydia Zhang

  • DISK,VM,NETWORk,PROCESS COUNTER INFO

    Hi,
    1. For VM I am using the cpu_vminfo_t to collect the VM counters? The value
    that I get for pages page in is 4605 (pages page in /lbolt_time). The values for pages paged out is 3881 again divided by lbolt time. Are these
    values correct? What is the command to verify these values?
    2. For Disk I am collecting the counters reads and writes , kilobytes read, kilobytes written from kstat_io_t. Is this the right structure to be used to collect the values? I am getting the disk reads as 213344 and disk writes as 0. Kilobytes read and written per sec are 0. I am using iostat
    to check these values. But the values do not match. So please suggest me
    if I am using the right structure to get the counter values.
    3. For networks which is the structure to be used to get the packets in, packets out, bytes in, bytes out, routes, socket open. etc.
    4. Again for process which is the structute to be used to get all the process counters?
    Any help or ideas on this is welcome.
    Thanks in advance,
    Charulatha.

    Forums > Forum: Kernel
    DISK,VM,NETWORk,PROCESS COUNTER INFO
    Hi,
    1. For VM I am using the cpu_vminfo_t to collect the VM counters? The value that I get for pages page in is 4605 (pages page in /lbolt_time). The values for pages paged out is 3881 again divided by lbolt time. Are these values correct? What is the command to verify these values?
    2. For Disk I am collecting the counters reads and writes , kilobytes read, kilobytes written from kstat_io_t. Is this the right structure to be used to collect the values? I am getting the disk reads as 213344 and disk writes as 0. Kilobytes read and written per sec are 0. I am using iostat to check these values. But the values do not match. So please suggest me if I am using the right structure to get the counter values.
    3. For networks which is the structure to be used to get the packets in, packets out, bytes in, bytes out, routes, socket open. etc.
    4. Again for process which is the structute to be used to get all the process counters?
    Any help or ideas on this is welcome.
    Thanks in advance,
    Charulatha.

  • Retrieving Performance Metrics from Azure Redis Portal

    We are evaluating our application performance on cloud. We are automating the process of running and collecting performance counters from the application (from web roles, sql azure database, redis cache).
    We can get the metrics for Redis cache instance on the portal. But we want to retrieve the metrics from portal and use it for comparing the results between different tests run. What is the best way we can
    achieve that?

    Hi Harit,
    Here is some background and an answer.
    Redis is only available in the new preview Azure portal. The new portal uses a new underlying deployment mechanism called CSM. The libraries you mentioned do not support Redis. There is a new set of libraries (microsoft.azure.insights) that you have
    to use. These libraries are in preview.
    Please take a look at the SDK here:
    https://www.nuget.org/packages/Microsoft.Azure.Insights/ The documentation is here:
    http://msdn.microsoft.com/en-us/library/azure/dn802153.aspx
    I have a sample which shows how you can get the data for Redis.
    https://github.com/rustd/RedisSamples/blob/master/CustomMonitoring/Program.cs
    Please make sure when you enable diagnostics for your Cache, then you have provided a storage account as well. This is a new feature that we are rolling out where the diagnostic data will be stored in a storage account specified by the user.
    Hopefully this answers your question.

  • Network device is not responding to SNMP

    Hello All
    We are monitoring our first network device (Cisco  FW) SNMP V2.
    We discovered it and were able to collect performance counters for 2 hours.
    After that, only thing we can collect is ICMP response. Also it keeps switching between healthy and warning state.

    Hi Helpful guy,
    This problem occurs on some network devices in case that the maximum number (default 50) of OIDs that OM will query per batch is too high. You probably find a entry in the Cisco logs:
    "incoming SNMP request (# bytes) from IP address
    IP_ADDRESS and PORT
    PORT_NUMBER Interface "inside" exceeds data buffer size, discarding the SNMP request"
    This problem can be solved by creating a registry key:
    location: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Operations Manager\3.0\Modules\Global\SNMP]
    key type: DWORD value
    key name: MaxOidsPerRequest
    default: 50
    Change the default value to one that suits your environment.
    Hope this helps,
    Regards Marthijn van Rheenen
    Blog: Heading To The Cloud’s
    I'm using OpsMgr 2012 R2.  I started with MaxOidsPerRequest set to 30 and monitoring was going well for two ASA 5510s.  I have raised the number to 40 and am waiting to see if there are any issues.  It is a decimal value and I set it on both
    management servers in the resource pool for network devices.

  • Is this REALLY the easiest/best way to do this?

    I'm no SQL guru by any means, but I can get by. Here is some background.
    I am running Perfmon Data Collector Sets to collect performance counters.
    I am using Relog.exe to take the .blg files and pushing them into a database
    I am attempting to write a query that will ultimately get the information out of the database and see if I can aggregate the data a bit as well. If the last part is better off doing in Excel (where this data will ultimately end up for charting), then I will
    do that part there.
    Here is the table layouts when you import the .blg files:
    Table name: CounterData
    Columns:
    GUID
    CounterID
    RecordIndex
    CounterDateTime
    CounterValue
    FirstValueA
    FirstValueB
    SecondValueA
    SecondValueB
    MultiCount
    Table Name: CounterDetails
    CounterID
    MachineName
    ObjectName
    CounterName
    CounterType
    DefaultScale
    InstanceName
    InstanceIndex
    ParentName
    ParentObjectID
    TimeBaseA
    TimeBaseB
    I need to pull multiple sets of data out of these tables, so I built the following query:
    USE PDB
    SELECT
    CAST(LEFT(CounterDateTime, 16) as smalldatetime) AS CounterDateTime,
    REPLACE(CounterDetails.MachineName,'\\','') AS ComputerName,
    CounterDetails.ObjectName + ISNULL('(' + CounterDetails.InstanceName + ')','') + '\' + CounterDetails.CounterName AS [Counter],
    CounterData.CounterValue
    FROM CounterData
    FULL OUTER JOIN CounterDetails ON CounterData.CounterID = CounterDetails.CounterID
    FULL OUTER JOIN DisplayToID ON CounterData.GUID = DisplayToID.GUID
    WHERE CounterDetails.ObjectName = 'Processor'
    AND CounterDetails.CounterName = '% Processor Time'
    AND CounterDetails.InstanceName = '_Total'
    UNION
    SELECT
    CAST(LEFT(CounterDateTime, 16) as smalldatetime) AS CounterDateTime,
    REPLACE(CounterDetails.MachineName,'\\','') AS ComputerName,
    CounterDetails.ObjectName + ISNULL('(' + CounterDetails.InstanceName + ')','') + '\' + CounterDetails.CounterName AS [Counter],
    CounterData.CounterValue
    FROM CounterData
    FULL OUTER JOIN CounterDetails ON CounterData.CounterID = CounterDetails.CounterID
    FULL OUTER JOIN DisplayToID ON CounterData.GUID = DisplayToID.GUID
    WHERE CounterDetails.ObjectName = 'Web Service'
    AND CounterDetails.CounterName = 'Bytes Received/sec'
    AND CounterDetails.InstanceName = 'AppName'
    ORDER BY 1
    Is this REALLY the best way to do this?
    Also, trying to figure out how to build in data aggregation in 5 minute average blocks.
    Any assistance appreciated!

    Erland,
    Thanks for your response.
    The related items in the table are CounterID, in a nutshell, what I want to do is the following:
    Get the data from the CounterDetails table that holds the MachineName, CounterName, CounterType and so forth.
    CounterID MachineName ObjectName CounterName CounterType DefaultScale InstanceName InstanceIndex ParentName ParentObjectID TimeBaseA TimeBaseB
    1 \\ServerName Web Service Bytes Received/sec 272696576 -4 Carnival NULL NULL NULL 14318180 0
    2 \\ServerName Web Service Bytes Sent/sec 272696576 -4 AppName NULL NULL NULL 14318180 0
    3 \\ServerName Web Service Current Connections 65536 0 AppName NULL NULL NULL 14318180 0
    4 \\ServerName Web Service Bytes Total/sec 272696576 -4 AppName NULL NULL NULL 14318180 0
    5 \\ServerName Web Service Get Requests/sec 272696320 0 AppName NULL NULL NULL 14318180 0
    6 \\ServerName Web Service Head Requests/sec 272696320 0 AppName NULL NULL NULL 14318180 0
    7 \\ServerName Processor % Processor Time 558957824 0 _Total NULL NULL NULL 10000000 0
    8 \\ServerName PhysicalDisk Disk Reads/sec 272696320 0 _Total NULL NULL -1 14318180 0
    9 \\ServerName PhysicalDisk Disk Reads/sec 272696320 0 0 C: D: E: NULL NULL -1 14318180 0
    10 \\ServerName PhysicalDisk Disk Read Bytes/sec 272696576 -4 _Total NULL NULL -1 14318180 0
    11 \\ServerName PhysicalDisk Disk Read Bytes/sec 272696576 -4 0 C: D: E: NULL NULL -1 14318180 0
    12 \\ServerName PhysicalDisk Disk Writes/sec 272696320 0 _Total NULL NULL -1 14318180 0
    13 \\ServerName PhysicalDisk Disk Writes/sec 272696320 0 0 C: D: E: NULL NULL -1 14318180 0
    14 \\ServerName PhysicalDisk Current Disk Queue Length 65536 1 _Total NULL NULL -1 14318180 0
    15 \\ServerName PhysicalDisk Current Disk Queue Length 65536 1 0 C: D: E: NULL NULL -1 14318180 0
    16 \\ServerName PhysicalDisk % Disk Read Time 542573824 0 _Total NULL NULL -1 10000000 0
    17 \\ServerName PhysicalDisk % Disk Read Time 542573824 0 0 C: D: E: NULL NULL -1 10000000 0
    18 \\ServerName PhysicalDisk Disk Write Bytes/sec 272696576 -4 _Total NULL NULL -1 14318180 0
    19 \\ServerName PhysicalDisk Disk Write Bytes/sec 272696576 -4 0 C: D: E: NULL NULL -1 14318180 0
    20 \\ServerName PhysicalDisk Disk Transfers/sec 272696320 0 _Total NULL NULL -1 14318180 0
    21 \\ServerName PhysicalDisk Disk Transfers/sec 272696320 0 0 C: D: E: NULL NULL -1 14318180 0
    22 \\ServerName PhysicalDisk % Disk Write Time 542573824 0 _Total NULL NULL -1 10000000 0
    23 \\ServerName PhysicalDisk % Disk Write Time 542573824 0 0 C: D: E: NULL NULL -1 10000000 0
    24 \\ServerName Network Interface Bytes Received/sec 272696576 -4 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter NULL NULL -1 14318180 0
    25 \\ServerName Network Interface Bytes Received/sec 272696576 -4 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] NULL NULL -1 14318180 0
    26 \\ServerName Network Interface Bytes Received/sec 272696576 -4 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter _3 NULL NULL -1 14318180 0
    27 \\ServerName Network Interface Bytes Received/sec 272696576 -4 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter _2 NULL NULL -1 14318180 0
    28 \\ServerName Network Interface Bytes Received/sec 272696576 -4 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter _4 NULL NULL -1 14318180 0
    29 \\ServerName Network Interface Bytes Received/sec 272696576 -4 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] _4 NULL NULL -1 14318180 0
    30 \\ServerName Network Interface Bytes Received/sec 272696576 -4 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] _3 NULL NULL -1 14318180 0
    31 \\ServerName Network Interface Bytes Received/sec 272696576 -4 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] _2 NULL NULL -1 14318180 0
    32 \\ServerName Network Interface Bytes Sent/sec 272696576 -4 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter NULL NULL -1 14318180 0
    33 \\ServerName Network Interface Bytes Sent/sec 272696576 -4 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] NULL NULL -1 14318180 0
    34 \\ServerName Network Interface Bytes Sent/sec 272696576 -4 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter _3 NULL NULL -1 14318180 0
    35 \\ServerName Network Interface Bytes Sent/sec 272696576 -4 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter _2 NULL NULL -1 14318180 0
    36 \\ServerName Network Interface Bytes Sent/sec 272696576 -4 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter _4 NULL NULL -1 14318180 0
    37 \\ServerName Network Interface Bytes Sent/sec 272696576 -4 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] _4 NULL NULL -1 14318180 0
    38 \\ServerName Network Interface Bytes Sent/sec 272696576 -4 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] _3 NULL NULL -1 14318180 0
    39 \\ServerName Network Interface Bytes Sent/sec 272696576 -4 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] _2 NULL NULL -1 14318180 0
    40 \\ServerName Network Interface Bytes Total/sec 272696576 -4 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter NULL NULL -1 14318180 0
    41 \\ServerName Network Interface Bytes Total/sec 272696576 -4 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] NULL NULL -1 14318180 0
    42 \\ServerName Network Interface Bytes Total/sec 272696576 -4 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter _3 NULL NULL -1 14318180 0
    43 \\ServerName Network Interface Bytes Total/sec 272696576 -4 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter _2 NULL NULL -1 14318180 0
    44 \\ServerName Network Interface Bytes Total/sec 272696576 -4 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter _4 NULL NULL -1 14318180 0
    45 \\ServerName Network Interface Bytes Total/sec 272696576 -4 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] _4 NULL NULL -1 14318180 0
    46 \\ServerName Network Interface Bytes Total/sec 272696576 -4 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] _3 NULL NULL -1 14318180 0
    47 \\ServerName Network Interface Bytes Total/sec 272696576 -4 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] _2 NULL NULL -1 14318180 0
    48 \\ServerName Network Interface Output Queue Length 65792 0 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter NULL NULL -1 14318180 0
    49 \\ServerName Network Interface Output Queue Length 65792 0 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] NULL NULL -1 14318180 0
    50 \\ServerName Network Interface Output Queue Length 65792 0 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter _3 NULL NULL -1 14318180 0
    51 \\ServerName Network Interface Output Queue Length 65792 0 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter _2 NULL NULL -1 14318180 0
    52 \\ServerName Network Interface Output Queue Length 65792 0 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter _4 NULL NULL -1 14318180 0
    53 \\ServerName Network Interface Output Queue Length 65792 0 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] _4 NULL NULL -1 14318180 0
    54 \\ServerName Network Interface Output Queue Length 65792 0 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] _3 NULL NULL -1 14318180 0
    55 \\ServerName Network Interface Output Queue Length 65792 0 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] _2 NULL NULL -1 14318180 0
    56 \\ServerName Network Interface Current Bandwidth 65792 -6 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter NULL NULL -1 14318180 0
    57 \\ServerName Network Interface Current Bandwidth 65792 -6 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] NULL NULL -1 14318180 0
    58 \\ServerName Network Interface Current Bandwidth 65792 -6 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter _3 NULL NULL -1 14318180 0
    59 \\ServerName Network Interface Current Bandwidth 65792 -6 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter _2 NULL NULL -1 14318180 0
    60 \\ServerName Network Interface Current Bandwidth 65792 -6 TEAM : Team _0 - Intel[R] PRO_1000 PT Dual Port Server Adapter _4 NULL NULL -1 14318180 0
    61 \\ServerName Network Interface Current Bandwidth 65792 -6 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] _4 NULL NULL -1 14318180 0
    62 \\ServerName Network Interface Current Bandwidth 65792 -6 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] _3 NULL NULL -1 14318180 0
    63 \\ServerName Network Interface Current Bandwidth 65792 -6 Broadcom BCM5708C NetXtreme II GigE [NDIS VBD Client] _2 NULL NULL -1 14318180 0
    64 \\ServerName Memory % Committed Bytes In Use 537003008 0 NULL NULL NULL NULL 14318180 0
    65 \\ServerName Memory Available MBytes 65792 0 NULL NULL NULL NULL 14318180 0
    66 \\ServerName Memory Committed Bytes 65792 -6 NULL NULL NULL NULL 14318180 0
    67 \\ServerName ASP.NET Requests Current 65536 -1 NULL NULL NULL NULL 14318180 0
    68 \\ServerName ASP.NET Worker Process Restarts 65536 -1 NULL NULL NULL NULL 14318180 0
    69 \\ServerName ASP.NET Applications Running 65536 -1 NULL NULL NULL NULL 14318180 0
    70 \\ServerName ASP.NET Requests Queued 65536 -1 NULL NULL NULL NULL 14318180 0
    71 \\ServerName ASP.NET Application Restarts 65536 -1 NULL NULL NULL NULL 14318180 0
    72 \\ServerName ASP.NET Worker Processes Running 65536 -1 NULL NULL NULL NULL 14318180 0
    73 \\ServerName ASP.NET Request Execution Time 65536 -1 NULL NULL NULL NULL 14318180 0
    Put that together with the Actual CounterData in the appropriately named table.
    GUID CounterID RecordIndex CounterDateTime CounterValue FirstValueA FirstValueB SecondValueA SecondValueB MultiCount
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 1 2015-04-30 13:01:17.165 0 -1927979745 2 -598728243 706 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 2 2015-04-30 13:01:22.173 67581.3633745449 -1927642227 2 -527219720 706 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 3 2015-04-30 13:01:27.165 94686.4063445727 -1927169543 2 -455741935 706 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 4 2015-04-30 13:01:32.172 152203.041104636 -1926407371 2 -384042212 706 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 5 2015-04-30 13:01:37.180 165447.09804292 -1925578898 2 -312344215 706 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 6 2015-04-30 13:01:42.172 171837.776053684 -1924721043 2 -240864459 706 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 7 2015-04-30 13:01:47.180 173383.630948422 -1923852824 2 -169166134 706 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 8 2015-04-30 13:01:52.172 144598.914838348 -1923130989 2 -97690055 706 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 9 2015-04-30 13:01:57.179 174737.727857169 -1922255986 2 -25991455 706 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 10 2015-04-30 13:02:02.171 169321.861725293 -1921410708 2 45486867 707 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 11 2015-04-30 13:02:07.179 208117.127073016 -1920368562 2 117185118 707 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 12 2015-04-30 13:02:12.171 141008.757157554 -1919664632 2 188662923 707 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 13 2015-04-30 13:02:17.178 149495.458222544 -1918916026 2 260361927 707 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 14 2015-04-30 13:02:22.170 174341.539879002 -1918045605 2 331847154 707 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 15 2015-04-30 13:02:27.178 143957.916530014 -1917324818 2 403537258 707 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 16 2015-04-30 13:02:32.170 130619.882518362 -1916672720 2 475018386 707 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 17 2015-04-30 13:02:37.178 142332.32395318 -1915959971 2 546718673 707 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 18 2015-04-30 13:02:42.170 184550.944997403 -1915038722 2 618192753 707 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 19 2015-04-30 13:02:47.177 154267.317838657 -1914266244 2 689889592 707 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 20 2015-04-30 13:02:52.169 149238.629713526 -1913521218 2 761368514 707 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 21 2015-04-30 13:02:57.177 188584.542348845 -1912576880 2 833066869 707 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 22 2015-04-30 13:03:02.169 176918.705027469 -1911693639 2 904548308 707 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 23 2015-04-30 13:03:07.176 188369.179859497 -1910750431 2 976242743 707 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 24 2015-04-30 13:03:12.168 148606.905306921 -1910008537 2 1047723754 707 1
    8ADCC3A7-4D90-45A3-B912-FB18C9CB3646 1 25 2015-04-30 13:03:17.176 200078.077196397 -1909006668 2 1119420468 707 1
    The query above is working, but I feel there is a better way to get this done.
    Sample Output:
    CounterDateTime ComputerName Counter CounterValue
    2015-04-30 13:01:00 ServerName Memory\Committed Bytes 23836753920
    2015-04-30 13:01:00 ServerName Memory\Committed Bytes 23837396992
    2015-04-30 13:01:00 ServerName Memory\Committed Bytes 23842693120
    2015-04-30 13:01:00 ServerName Memory\Committed Bytes 23843172352
    2015-04-30 13:01:00 ServerName Memory\Committed Bytes 23861657600
    2015-04-30 13:01:00 ServerName Memory\Committed Bytes 23872827392
    2015-04-30 13:01:00 ServerName Memory\Committed Bytes 23909138432
    2015-04-30 13:01:00 ServerName Memory\Committed Bytes 23960690688
    2015-04-30 13:01:00 ServerName Memory\Committed Bytes 23972872192
    2015-04-30 13:01:00 ServerName PhysicalDisk(_Total)\Current Disk Queue Length 0
    2015-04-30 13:01:00 ServerName Processor(_Total)\% Processor Time 0
    2015-04-30 13:01:00 ServerName Processor(_Total)\% Processor Time 8.65725297547727
    2015-04-30 13:01:00 ServerName Processor(_Total)\% Processor Time 9.34837740384615
    2015-04-30 13:01:00 ServerName Processor(_Total)\% Processor Time 10.45515625
    2015-04-30 13:01:00 ServerName Processor(_Total)\% Processor Time 11.3926622596154
    2015-04-30 13:01:00 ServerName Processor(_Total)\% Processor Time 11.4480309928908
    2015-04-30 13:01:00 ServerName Processor(_Total)\% Processor Time 11.8893621695024
    2015-04-30 13:01:00 ServerName Processor(_Total)\% Processor Time 12.3306933461139
    2015-04-30 13:01:00 ServerName Processor(_Total)\% Processor Time 13.3301821231728
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Received/sec 0
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Received/sec 67581.3633745449
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Received/sec 94686.4063445727
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Received/sec 144598.914838348
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Received/sec 152203.041104636
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Received/sec 165447.09804292
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Received/sec 171837.776053684
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Received/sec 173383.630948422
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Received/sec 174737.727857169
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Total/sec 0
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Total/sec 354821.47994974
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Total/sec 533111.927106303
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Total/sec 849787.130317823
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Total/sec 1015485.82303199
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Total/sec 1286054.48388504
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Total/sec 1528398.33137765
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Total/sec 1600789.68540725
    2015-04-30 13:01:00 ServerName Web Service(AppName)\Bytes Total/sec 1690894.89372096
    2015-04-30 13:02:00 ServerName Memory\Committed Bytes 23781527552
    2015-04-30 13:02:00 ServerName Memory\Committed Bytes 23802056704
    2015-04-30 13:02:00 ServerName Memory\Committed Bytes 23803797504
    2015-04-30 13:02:00 ServerName Memory\Committed Bytes 23821389824
    2015-04-30 13:02:00 ServerName Memory\Committed Bytes 23831420928
    2015-04-30 13:02:00 ServerName Memory\Committed Bytes 23835803648
    2015-04-30 13:02:00 ServerName Memory\Committed Bytes 23850049536
    2015-04-30 13:02:00 ServerName Memory\Committed Bytes 23863857152
    2015-04-30 13:02:00 ServerName Memory\Committed Bytes 23875534848
    2015-04-30 13:02:00 ServerName Memory\Committed Bytes 23917281280
    2015-04-30 13:02:00 ServerName Memory\Committed Bytes 23933739008
    2015-04-30 13:02:00 ServerName Memory\Committed Bytes 23978917888
    I hope this additional information I have provided will help. :)
    Thanks for your time!

  • What is good tool for Analyzing Windows Perfmon logs

    I have SQL Server 2014 SSAS on dedicated server. I'm starting to collect Performance Counters with Perfmon.
    What is good tool for analyzing results? I would like to see graphs about Memory usage etc.
    Kenny_I

    Have you tried the PAL tool. It is too good a tool for perfmon analysis.
    https://pal.codeplex.com/
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • How to collect physical and logical disk counters using query?

    Hai friends, i want to view physical and logical disk counters in sql server like Avg. Disk sec/Read, Avg.
    Disk Bytes/Read, Avg. Disk sec/Write, Avg.
    Disk Bytes/Write, etc.,  Can anyone tell me how to vies this by using query?
    Thanks in advance..

    Hai friends, i want to view physical and logical disk counters in sql server like Avg. Disk sec/Read, Avg.
    Disk Bytes/Read, Avg. Disk sec/Write, Avg.
    Disk Bytes/Write, etc.,  Can anyone tell me how to vies this by using query?
    Thanks in advance..
    Hello,
    Sys.dm_os_performance counter will only show counters related to SQL server not Physical disk if you run below query in SQL server it will not return any value so no disk counter is present.You will have to see it using perfmon.
    select * from sys.dm_os_performance_counters where counter_name like '%disk%'
    This can also be done through power shell but I dont have experience with that.You can search net for power shell query to see Windows perfmon counters
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Performance collection counters

    Hi,
    A customer has asked for the following and I am stuck when it gets to territory like Directory Services.
    The customer wants ALL counters under each Object to be selected.
    I am stumped how to do this for all counters at once like the few in the pic below. Perfmon allows ALL to be selected, but I can only select one at a time in SCOM (that I can see).
    Thx,
    John Bradshaw
    ============================================
    Can we setup the following performance counters for Active Directory? We need to get it for the case of physicals versus virtual for domain controllers.
    Performance Counters
    \Process\*
    \DirectoryServices(*)\*
    \PhysicalDisk\*
    \Processor(*)\*
    \Memory\*
    \System\*
    \Server\*
    \Network Interface(*)\*
    \UDPv4\*
    \TCPv4\*
    \IPv4\*
    I would like it to be 1 min intervals

    Roger,
    What would I put in at this point in the script from that link?
    JB
     -ComputerName
    '$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$' 
    You just need to type
     -ComputerName
    '$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$' 
    When you add performance counter, the computer name is required and -computername is a variable which point the target machine computer name.
    Roger

  • Service policy counters not working..

    I have a service policy on a 6509 interface so I can see what the packets per second of a video stream coming out of a DVR (digital video recorder) is. This DVR has 16 security cameras attached and I'm concerned that when someone views all 16 cameras the video stream is going to be huge.
    So I create a service policy to match an access list for all IP from the DVR. But no counters increment unless I add in some other match statement. I added in a match protocol telnet and the service policy counters started to work. I removed the match on telnet and the counters stopped. Telnet has nothing to do with the DVR. Here is the config of the class map, policy map and show commands: (By the way video is streaming through this interface continually during this excercise)
    MATCHING ACCESS LIST ONLY:
    class-map match-any DVR
    match access-group 130
    policy-map DVR-test
    class DVR
    ROC-6509-DU-A#sh access-list 130
    Extended IP access list 130
    10 permit ip host 164.72.2.125 any
    ROC-6509-DU-A#sh policy-map int
    GigabitEthernet2/5
    Service-policy output: DVR-test
    Class-map: DVR (match-any)
    0 packets, 0 bytes
    30 second offered rate 0 bps
    Match: access-group 130
    0 packets, 0 bytes
    30 second rate 0 bps
    Class-map: class-default (match-any)
    0 packets, 0 bytes
    30 second offered rate 0 bps, drop rate 0 bps
    Match: any
    ADDING IN TELNET:
    class-map match-any DVR
    match access-group 130
    match protocol telnet
    policy-map DVR-test
    class DVR
    ROC-6509-DU-A#sh policy-map int
    GigabitEthernet2/5
    Service-policy output: DVR-test
    Class-map: DVR (match-any)
    524025 packets, 70724866 bytes
    30 second offered rate 3991000 bps
    Match: access-group 130
    523896 packets, 70689220 bytes
    30 second rate 3991000 bps
    Match: protocol telnet
    129 packets, 35646 bytes
    30 second rate 0 bps
    Class-map: class-default (match-any)
    18696 packets, 11180265 bytes
    30 second offered rate 129000 bps, drop rate 0 bps
    Match: any
    If I remove the 'match protocol telnet' and clear the counters, no longer do the counters for the access-list 130 increment - put back in match telnet and they start to increment.
    This is a Sup720 with IOS 12.2(18)SXE3
    Is this a bug or do I not have my class map or policy map correct?

    The hardware ASICs do not support collecting the individual policer information.
    Try:
    http://www.cisco.com/univercd/cc/td/doc/product/lan/c3550/1216ea1/3550scg/swqos.htm#xtocid1990743

  • WMI Performance counters not shown in SCOM Performance view

    Hi,
    We're unable to see %CPU usage, avg cpu queue length and many other WMI counters on a Performance View for one of our servers.
    - The agent is displayed as healthy.
    - We are getting data from counters generated by script.
    - WMI counters are shown as enabled.
    - We're able to see the counters locally on server manager, on performance counters.
    - we have run lodctr /R, without success.
    - no alerts on the scom agent or server.
    - no overrides for these counters exist.
    So definitely it looks like the WMI infrastructure is working ok but somehow data is not being sent to the server. Any hints on debugging this issue?
    Thanks in advance

    Ops Manager, Ops DW, or both?  If performance collection is ENABLED for this server, and it's a W2K8 box, and you can see the perf in perf monitor on the server, then you should look to see if other performance is missing.  If there are no performance
    counters being collected, then you can do a few things, but before doing that, do some spot checking.
    Is this rule enabled?  Did someone override disable it?  If enabled, and no overrides, then create a view (my views or whatever that custom workspace is) targetting the generic class of "said" target for the collection rule.  Do you see any
    computers listed?  How many computers are listed?  Jot that down.  Go to discovered inventory in the monitoring pane, and change scope to the targeted class for the collection rule.  Count what is returned, do the number of servers returned
    match?
    If you have the same number of green healthy objects in both the custom view and the discovered inventory scope, then you are good, if there are a few missing, you need to troubleshoot those agents.
    If you are missing all of them, you probably have a problem with your RMS/SQL, which means you have to start traces on SQL and or at the very least look at the ops manager event log on the rms.
    So, back to the "missing a few" scenario.  You could start to do logging, etc, but instead of that, reinstall the agent on one of the machines not showing up in both views.  Wait a few hours.  Check the views again, and keep an eye on the
    ops manager event log on that sick agent.  Increase the size of the log file, if you have too, so you don't over right events.
    After a few hours if it's not showing up, you can either start down the path of enabling tracing on the agent (there are kbs on how to turn this on, and the logs are not hard to go through), or you can uninstall the agent.  Run cleanmom on the box.
     Reinstall the agent.
    I would perform the repair, clean mom, before I troubleshoot the agent, but that's just me.  Keep in mind, any data that is collected and or queued will be lost when you do the clean mom.  But since you have no data as it is, no real loss.
    While the agent is showing up in the console, and before you start down the previous steps, I would verify that you have events collected as well (another query) and stop a service on the box that is supposed to be monitored, see if it triggers and alert
    and a state change.  Also peek at the RMS ops manager event log, you might have some SQL problems.
    Good luck.
    Regards, Blake Email: mengotto<at>hotmail.com Blog: http://discussitnow.wordpress.com/ If my response was helpful, please mark it as so, if it answered your question, then please also mark it accordingly. Thank you.

  • No performance counters and other issues

    The title is my main issue, but beating my head against a wall here. Anyone with enough patience to read through my issues below is a saint.
    Following every guide out there, myself and our Linux admin have gone over in detail everything that needs to be done to monitor our RHEL 6 servers in SCOM, but alas, we are having issues.
    First, we tried it on three different servers, all running RHEL 6.6. The servers appear as green and healthy in SCOM, and we get "some" alerts from them such as unauthorized login attempts. However, when we try to open a performance view,
    there are no counters displayed on two of them. One of them displays all the counters you would expect, but none of them have any data collected, except for one lone three hour period from two weeks ago. Before and after that: nothing. That's my biggest confusion,
    because for some odd reason, it managed to work for that time period, so what changed?
    Next, I should mention that I have also had to flat out disable the unix/linux heartbeat monitor because when it's enabled, after about 10 minutes all 3 linux servers will go grey, and no alerts come in for them.
    Digging through all of the posts here, I've come across multiple things to try that have worked for other people, but all with no luck. For starters, theres the whole port 1270 thing. There is no firewall on either the management server or the linux
    servers, and checking for listeners shows the scom agent listening on port 1270 on the linux server. Should there be something listening on port 1270 on the Management server? Because if so, there isn't, and I cant find any posts that say how to make that
    happen. I've attempted to run simple winrm commands from the management server to attempt to gather data from the linux servers, however, when running the command below:
    winrm e "http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_Agent?__cimnamespace=root/scx" -r:"http://<server>:1270" -auth:basic -username:<user> -password:<pass> -encoding:utf-8
    It fails with the following error:
        Message = The WinRM client cannot process the request. The authentication mechanism requested by the client is not supported by the server or unencrypted traffic is disabled in the service configu
    ration. Verify the unencrypted traffic setting in the service configuration or specify one of the authentication mechanisms supported by the server.  To use Kerberos, specify the computer name as the
    remote destination. Also verify that the client computer and the destination computer are joined to a domain. To use Basic, specify the computer name as the remote destination, specify Basic authentic
    ation and provide user name and password. Possible authentication mechanisms reported by server:
    Anyone have any ideas why there are no performance counters, or why winrm requests fail? Is there some missing hidden step or configuration need on the linux end to make the winrm queries work?
    Please help!

    Steve,
    I've never seen any alerts from SCOM in an event viewer log. If you're talking about errors about communication, there arent any coming in. By all accounts, it appears as if SCOM "thinks" it's working fine. As for the agent going "grey",
    they only go grey if I have the heartbeat monitor enabled. Even when they're grey, I can still run tasks in the scom console against them to get top processes etc.
    I've tried changing some of the winrm configs already to attempt successful connections, but with no luck. Here's the current output of winrm get winrm/config:
    Config
        MaxEnvelopeSizekb = 50
        MaxTimeoutms = 60000
        MaxBatchItems = 32000
        MaxProviderRequests = 4294967295
        Client
            NetworkDelayms = 5000
            URLPrefix = wsman
            AllowUnencrypted = true
            Auth
                Basic = true
                Digest = true
                Kerberos = true
                Negotiate = true
                Certificate = true
                CredSSP = false
            DefaultPorts
                HTTP = 5985
                HTTPS = 5986
            TrustedHosts = *
        Service
            RootSDDL = O:NSG:BAD:P(A;;GA;;;BA)(A;;GR;;;IU)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD)
            MaxConcurrentOperations = 4294967295
            MaxConcurrentOperationsPerUser = 1500
            EnumerationTimeoutms = 240000
            MaxConnections = 300
            MaxPacketRetrievalTimeSeconds = 120
            AllowUnencrypted = true
            Auth
                Basic = true
                Kerberos = true
                Negotiate = true
                Certificate = false
                CredSSP = false
                CbtHardeningLevel = Relaxed
            DefaultPorts
                HTTP = 5985
                HTTPS = 5986
            IPv4Filter = *
            IPv6Filter = *
            EnableCompatibilityHttpListener = false
            EnableCompatibilityHttpsListener = false
            CertificateThumbprint
            AllowRemoteAccess = true
        Winrs
            AllowRemoteShellAccess = true
            IdleTimeout = 7200000
            MaxConcurrentUsers = 10
            MaxShellRunTime = 2147483647
            MaxProcessesPerShell = 25
            MaxMemoryPerShellMB = 1024
            MaxShellsPerUser = 30
    We started the trace on the linux server, and it does appear to be hitting it, but I can't really tell from the logs what exactly it's trying to do. Every 5 minutes it appears to be hitting the /var/log/secure file but im not sure what it's looking for.
    Below is the log activity for the first 20 minutes or so after we began the log. From what I understand, the management server should be attempting to grab performance data every 5 minuts, but I don't think that's happening.
    * Microsoft System Center Cross Platform Extensions (SCX)
    * Build number: 1.5.1-150 Labeled_Build
    * Process id: 30046
    * Process started: 2015-03-24T16:15:33,574Z
    * Log format: <date> <severity>    
    [<code module>:<line number>:<process id>:<thread id>] <message>
    2015-03-24T16:15:33,575Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:356:30046:139918764054464] IsNewFile - not new file
    2015-03-24T16:15:33,575Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:277:30046:139918764054464] LogFileProvider OpenLogFile /var/log/secure- Seek to: 109390
    2015-03-24T16:15:33,575Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:311:30046:139918764054464] LogFileProvider PersistState() - pos = 109545
    * Microsoft System Center Cross Platform Extensions (SCX)
    * Build number: 1.5.1-150 Labeled_Build
    * Process id: 30054
    * Process started: 2015-03-24T16:20:33,572Z
    * Log format: <date> <severity>    
    [<code module>:<line number>:<process id>:<thread id>] <message>
    2015-03-24T16:20:33,573Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:356:30054:140547729790912] IsNewFile - not new file
    2015-03-24T16:20:33,573Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:277:30054:140547729790912] LogFileProvider OpenLogFile /var/log/secure- Seek to: 109545
    2015-03-24T16:20:33,573Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:311:30054:140547729790912] LogFileProvider PersistState() - pos = 109700
    2015-03-24T16:20:46,072Z Trace      [scx.core.common.pal.system.systeminfo:98:28125:140643556374464] SystemInfo constructor
    2015-03-24T16:20:46,072Z Trace      [scx.core.common.pal.system.systeminfo:118:28125:140643556374464] SystemInfo Update()
    2015-03-24T16:20:46,072Z Trace      [scx.core.common.pal.system.systeminfo:108:28125:140643556374464] SystemInfo destructor
    2015-03-24T16:20:46,072Z Trace      [scx.core.common.pal.system.systeminfo:98:28125:140643556374464] SystemInfo constructor
    2015-03-24T16:20:46,072Z Trace      [scx.core.common.pal.system.systeminfo:118:28125:140643556374464] SystemInfo Update()
    2015-03-24T16:20:46,073Z Trace      [scx.core.common.pal.system.systeminfo:108:28125:140643556374464] SystemInfo destructor
    * Microsoft System Center Cross Platform Extensions (SCX)
    * Build number: 1.5.1-150 Labeled_Build
    * Process id: 30058
    * Process started: 2015-03-24T16:25:33,571Z
    * Log format: <date> <severity>    
    [<code module>:<line number>:<process id>:<thread id>] <message>
    2015-03-24T16:25:33,571Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:356:30058:140363780855744] IsNewFile - not new file
    2015-03-24T16:25:33,571Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:277:30058:140363780855744] LogFileProvider OpenLogFile /var/log/secure- Seek to: 109700
    2015-03-24T16:25:33,572Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:311:30058:140363780855744] LogFileProvider PersistState() - pos = 109855
    * Microsoft System Center Cross Platform Extensions (SCX)
    * Build number: 1.5.1-150 Labeled_Build
    * Process id: 30066
    * Process started: 2015-03-24T16:30:33,570Z
    * Log format: <date> <severity>    
    [<code module>:<line number>:<process id>:<thread id>] <message>
    2015-03-24T16:30:33,570Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:356:30066:139978787211200] IsNewFile - not new file
    2015-03-24T16:30:33,571Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:277:30066:139978787211200] LogFileProvider OpenLogFile /var/log/secure- Seek to: 109855
    2015-03-24T16:30:33,571Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:311:30066:139978787211200] LogFileProvider PersistState() - pos = 110010
    * Microsoft System Center Cross Platform Extensions (SCX)
    * Build number: 1.5.1-150 Labeled_Build
    * Process id: 30072
    * Process started: 2015-03-24T16:35:33,570Z
    * Log format: <date> <severity>    
    [<code module>:<line number>:<process id>:<thread id>] <message>
    2015-03-24T16:35:33,571Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:356:30072:140082908952512] IsNewFile - not new file
    2015-03-24T16:35:33,571Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:277:30072:140082908952512] LogFileProvider OpenLogFile /var/log/secure- Seek to: 110010
    2015-03-24T16:35:33,571Z Trace      [scx.core.providers.logfileprovider.logfilestreampositioner:311:30072:140082908952512] LogFileProvider PersistState() - pos = 110165
    Again, I appreciate the help,
    Alvin

  • Windows 7 counters for Firefox

    Hi Experts,
    Please help with an issue regarding Firefox productivity in Win7.
    I like to use lots of extensions and plug-ins for my FF, but some time ago I started to experience high CPU and memory resources usage for the browser according to the Task Manager. I have an old notebook with 2Gb RAM, which seems to be not enough to use plenty of extensions, especially with other applications running. Basically, there was nothing special (eg Adobe, Apple plug-ins, Adblock, Fire Gestures etc.) but I had to disable all of them according to recommendations on your official site to reduce memory consumption (Safe Mode state). It helped, but now I have only a bare browser which is not appropriate for me.
    My question is how can I collect performance statistics based on add-ons configuration? I tried to use Process Explorer utility, which is very beautiful and gives some average values, but I want real numbers to compare (I found no logging option available). I think that Windows Performance Monitor would be useful, but there are lots of counters, and I don't know which of them have relation to Firefox. Could you please provide with basic (or maybe extended as well) counter configuration to track and log main resources used by the browser? That is how I want to test CPU and memory utilization to find out less "harmful" extensions.
    Thank you in advance!
    Best regards,
    Yuriy

    Hi Tylerdowner,
    Thank you, but it only reads current data, not a collection for an hour eg. If you start Performance Monitor (Win+R, type ''perfmon'', hit Enter, go to Performance Monitor icon under the Monitoring Tools), you'll see what I mean. You get only main processor load as the default counter, and I'd like to customize it for Firefox and then save the report after some time of activity with specific settings.

  • Performance monitor reports and graphs don't show all the counters that were captured

    I've run into an odd behavior of performance monitor that I haven't been able to clear up yet: after I run a data collector set, the resulting report only shows a partial list of the counters that I captured, and so does the graph of that report (but different
    items).
    For instance, I chose the following counters for the data collector set:
    \PhysicalDisk(*)\% Idle Time
    \PhysicalDisk(*)\Avg. Disk Queue Length
    \PhysicalDisk(*)\Avg. Disk sec/Read
    \PhysicalDisk(*)\Avg. Disk sec/Write
    When the data collection ends, the report that gets displayed shows all those counters for _Total instance and C:, but then E: only shows % Idle Time and Avg. Disk Queue Length. That's it, the report ends there, even though I also have F: and V: drives on
    this server.
    If I choose to view the graph of this data collection, it only shows those four counters for the _Total instance.
    It took me a while to realize that all the data is being captured, but it's just the display that is truncated. If I view the folder then open the report.html, it actually shows all the data. Same with the graphs. If I select to add counters and add
    all the missing counters, they are displayed.
    I have searched high and low but haven't been able to find more than one post at ServerFault where someone had a similar issue, but no real solution or cause was provided, so I was hoping that someone here might have an idea.
    I also found a variety of articles about missing counters due to registry settings or because the counters needed to be reset, but that's a different issue that doesn't apply in my case. By the way, this is on a windows server 2012 R2 VM (file server).

    Hi SomeAdmin,
    The counter missing often caused by the related registry value is corrupted, please first refer the following related KB then perform a fix then monitor the issue again.
    Event ID 3012 — Performance Counter Loading
    http://technet.microsoft.com/en-us/library/cc775053(v=ws.10).aspx
    More information:
    Overview of Performance Monitoring
    http://technet.microsoft.com/en-us/library/cc958257.aspx
    PerfGuide: Analyzing Poor Disk Response Times
    http://social.technet.microsoft.com/wiki/contents/articles/1516.perfguide-analyzing-poor-disk-response-times.aspx
    Analyzing Storage Performance using the Windows Performance Analysis ToolKit (WPT)
    http://blogs.technet.com/b/robertsmith/archive/2012/02/07/analyzing-storage-performance-using-the-windows-performance-toolkit.aspx
    I’m glad to be of help to you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Maybe you are looking for