Code Snippet: Process Time as Percentage of Total CPU Time

A couple of weeks ago, a colleague of mine asked me how I would determine a process’ CPU utilization as a percentage of total CPU time. I came up with this PowerShell code, but it’s not quite complete yet, because it doesn’t dynamically determine the number of cores that a system has. During the investigation … Read moreCode Snippet: Process Time as Percentage of Total CPU Time

Windows Server 2008 "Ghost" iSCSI Targets

If you’ve used iSCSI with the Windows 2008 iSCSI initiator, you may have noticed that on occasion, iSCSI targets will get “stuck” in the iSCSI initiator software. It doesn’t really hurt anything, but if it bothers you, you can remove these iSCSI target definitions in the registry. Open regedit, and find the following location: HKLM\System\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002B310318}000\PersistentTargets … Read moreWindows Server 2008 "Ghost" iSCSI Targets

Windows Server 2008 “Ghost” iSCSI Targets

If you’ve used iSCSI with the Windows 2008 iSCSI initiator, you may have noticed that on occasion, iSCSI targets will get “stuck” in the iSCSI initiator software. It doesn’t really hurt anything, but if it bothers you, you can remove these iSCSI target definitions in the registry. Open regedit, and find the following location: HKLMSystemCurrentControlSetControlClass{4D36E97B-E325-11CE-BFC1-08002B310318}000PersistentTargets … Read moreWindows Server 2008 “Ghost” iSCSI Targets