Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi Festplattenzugriffe mitbekommen? (https://www.delphipraxis.net/44360-festplattenzugriffe-mitbekommen.html)

perle 18. Apr 2005 14:56


Festplattenzugriffe mitbekommen?
 
Hi, kann man irgendwie benachrichtigt werden, wenn irgendeine Festplattenaktivität läuft? Also so, wie die LED's die immer blinken wenn die Festplatte rumrödelt?

Phistev 23. Apr 2005 16:58

Re: Festplattenzugriffe mitbekommen?
 
Es gibt einige Programme, wie z.B. O&O Drive LED, die ein Symbol in der TNA anzeigen, welches anzeigt, ob gelesen oder geschrieben wird. Um festzustellen, was auf der Festplatte gelesen/geschrieben wird, guck dir mal Filemon von Sysinternals an.

FriFra 13. Sep 2005 18:05

Re: Festplattenzugriffe mitbekommen?
 
Der Thread existiert zwar schon eine Weile, aber mich würde das auch mal interessieren :roll: ...
Bisher gab es ja leider noch keine Antworten... DAS es geht, ok dass sieht man an den genannten Programmen, aber hier geht es ja mehr um das WIE :gruebel:

Luckie 13. Sep 2005 19:38

Re: Festplattenzugriffe mitbekommen?
 
Zitat:

Zitat von FriFra
aber hier geht es ja mehr um das WIE :gruebel:

Ja dann musst du auch mal auf die Links klicken und etwas lesen. Dann würdest du bei dem zweiten zum Beispiel dies hier lesen können:
Zitat:

How FileMon Works
For the Windows 9x driver, the heart of FileMon is in the virtual device driver, Filevxd.vxd. It is dynamically loaded, and in its initialization it installs a file system filter via the VxD service, IFSMGR_InstallFileSystemApiHook, to insert itself onto the call chain of all file system requests. On Windows NT the heart of FileMon is a file system driver that creates and attaches filter device objects to target file system device objects so that FileMon will see all IRPs and FastIO requests directed at drives. When FileMon sees an open, create or close call, it updates an internal hash table that serves as the mapping between internal file handles and file path names. Whenever it sees calls that are handle based, it looks up the handle in the hash table to obtain the full name for display. If a handle-based access references a file opened before FileMon started, FileMon will fail to find the mapping in its hash table and will simply present the handle's value instead.

Information on accesses is dumped into an ASCII buffer that is periodically copied up to the GUI for it to print in its listbox.
:roll:

faux 13. Sep 2005 19:43

Re: Festplattenzugriffe mitbekommen?
 
Desweiteren gibts bei Sysinternals glaube ich sogar bei jeder Applikation den Source dazu.


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:52 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz