Scoping Out Performance Counters
(About.com) I recently received some code from an About Visual Basic reader that included this statement:
Dim downloadCounter As PerformanceCounter
. . .
downloadCounter =
New PerformanceCounter(
'Network Interface',
'Bytes Received/sec',
nicName)
. . .
Update update feed set failed_fetches=0, fetched=current_timestamp() where feed_id = 1127 failed: 1142 [UPDATE command denied to user '334187_hdlns_ms5'@'10.187.248.89' for table 'feed'] in [update feed set failed_fetches=0, fetched=current_timestamp() where feed_id = 1127]
updated 1127 (Visual Basic), inserted 8, updated 0, at 2012-05-30 15:50:22