:(microfocus.comから抽出)
Enabling Remote Monitoring for Windows XP
An error message might occur when trying to monitor a computer that is running the Windows XP operating system. If so, enable monitoring remotely.
Open Windows Explorer on the target Windows XP computer.
Choose Tools > Folder Options .
Click the View tab.
Uncheck the Use Simple File Sharing check box.
Click OK.
Verify privileges on the target Windows XP computer as follows:
If the system root is on an NTFS partition, you must possess at least READ access to the following files:
%SystemRoot%\System32\Perfc009.dat
%SystemRoot%\System32\Perfh009.dat
You must possess at least READ access to the following registry keys on the remote computer:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurePipeServers\winreg
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib
Reboot the Windows XP computer.
A user who possesses administrator rights to the remote computer can now view the remote counters.
:
/* Get disk I/O statistics for all the hard drives */
for (nDrive = 0;; nDrive++) {
char diskPerformance[SIZEOF_DISK_PERFORMANCE_STRUCT];
char szDevice[50];
/* Check whether we can access this device */
sprintf (szDevice, "\\\\.\\PhysicalDrive%d", nDrive);
hDevice = CreateFile (szDevice, 0, FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL, OPEN_EXISTING, 0, NULL);
if (hDevice == INVALID_HANDLE_VALUE)
break;
/* Note: This only works if you have turned on the disk performance
* counters with 'diskperf -y'. These counters are off by default */
if (DeviceIoControl (hDevice, IOCTL_DISK_PERFORMANCE, NULL, 0,
diskPerformance, SIZEOF_DISK_PERFORMANCE_STRUCT,
&dwSize, NULL))
{
if (debug_me)
log_debug ("rndw32#slow_gatherer_nt: iostats drive %d\n",
nDrive);
(*add) (diskPerformance, dwSize, requester);
}
else {
log_info ("NOTE: you should run 'diskperf -y' "
"to enable the disk statistics\n");
}
CloseHandle (hDevice);
}
これに対する解決策は、あなたがリモート接続を使用していた場合は、このいずれかになりますようです
ローカルマシンでこの問題が発生している人がいる場合は、これを有効にする別の方法がその答えかもしれません:
このコマンドで有効になっているかどうか確認してください:
DISKPERF
そうでない場合は、でそれを有効にしてみてください:
DISKPERF - Y
私はこのポストは歳のペアですけど、私はDebianのOSとIにGPGを使用して同様の問題を抱えているので、他のサイトでは完全な答えがほとんど見つかりませんでした。他のサイトに時間を節約できると思います。
私の場合、私は立ち往生していません。あなたのシステムにマウントされたいくつかのディスクから静的/レポートを取得しようとしているので、あなたが言及しているループはおそらくありますか?
rndw32とは何ですか?私はこれが誰かが見なければならないところだと信じています。 –