Windows Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsWindows Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 8th, 2011, 08:59 AM
AdamPI's Avatar
AdamPI AdamPI is offline
Automagically Delicious
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: May 2004
Location: 127.0.0.2 - I live next door.
Posts: 2,199 AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Weeks 6 Days 22 h 26 m 16 sec
Reputation Power: 2736
Exclamation Windows File/Folder monitoring

I have some folders where my client applications drop files into; sort of a inbox/dropbox. My application then sucks the files in for processing. One particular client creates a .pcl file and places it directly into the dropbox (as in there is no known queue or waiting that goes with it). And we're having problem somewhere along this area (we think.)

What I want to do is find some way to log the filename and date/time stamp for any of those files so that I can match those timestamps with logs in both the sending and receiving applications. Anyone know of a product or anything that could easily do that? I'd like to have this running before noon today if possible.
__________________
Adam TT

Reply With Quote
  #2  
Old March 8th, 2011, 09:12 AM
TheJim01 TheJim01 is offline
Self-banned
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Feb 2004
Location: http://middle.nowhere.com
Posts: 2,288 TheJim01 User rank is General 39th Grade (Above 100000 Reputation Level)TheJim01 User rank is General 39th Grade (Above 100000 Reputation Level)TheJim01 User rank is General 39th Grade (Above 100000 Reputation Level)TheJim01 User rank is General 39th Grade (Above 100000 Reputation Level)TheJim01 User rank is General 39th Grade (Above 100000 Reputation Level)TheJim01 User rank is General 39th Grade (Above 100000 Reputation Level)TheJim01 User rank is General 39th Grade (Above 100000 Reputation Level)TheJim01 User rank is General 39th Grade (Above 100000 Reputation Level)TheJim01 User rank is General 39th Grade (Above 100000 Reputation Level)TheJim01 User rank is General 39th Grade (Above 100000 Reputation Level)TheJim01 User rank is General 39th Grade (Above 100000 Reputation Level)TheJim01 User rank is General 39th Grade (Above 100000 Reputation Level)TheJim01 User rank is General 39th Grade (Above 100000 Reputation Level)TheJim01 User rank is General 39th Grade (Above 100000 Reputation Level)TheJim01 User rank is General 39th Grade (Above 100000 Reputation Level)TheJim01 User rank is General 39th Grade (Above 100000 Reputation Level)  Folding Points: 86414 Folding Title: Advanced FolderFolding Points: 86414 Folding Title: Advanced FolderFolding Points: 86414 Folding Title: Advanced FolderFolding Points: 86414 Folding Title: Advanced FolderFolding Points: 86414 Folding Title: Advanced Folder
Time spent in forums: 3 Weeks 5 Days 17 h 27 m 41 sec
Reputation Power: 3605
Do you have access to development software? You could write a simple program in VB.NET to monitor the folder and output changes to a log file. Running said program as a service would make it so you don't have to keep a cmd window open, or run a GUI while it does its thing.

Reply With Quote
  #3  
Old March 8th, 2011, 04:19 PM
seack79 seack79 is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: May 2004
Location: surfing the interwebz
Posts: 2,341 seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 25 m 55 sec
Reputation Power: 1940
Im curious, did you find a solution for this Adam?

Reply With Quote
  #4  
Old March 9th, 2011, 09:24 AM
AdamPI's Avatar
AdamPI AdamPI is offline
Automagically Delicious
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: May 2004
Location: 127.0.0.2 - I live next door.
Posts: 2,199 AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Weeks 6 Days 22 h 26 m 16 sec
Reputation Power: 2736
Yes, I spent all day working on this and in meetings (still working on it, despite the meetings having nothing to do with it.)

I found that Process Monitor with the right filters worked great. I set it to only log actions taken in the particular directories I was concerned about and it showed everything down to the each packet adding to the file as it was being created before being absorbed by my app. It led me to believe that our server is just getting slammed with data at that particular time and just couldn't keep up. I'm doing move investigations today to find out if that is accurate.

Reply With Quote
  #5  
Old March 9th, 2011, 10:42 PM
seack79 seack79 is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: May 2004
Location: surfing the interwebz
Posts: 2,341 seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 25 m 55 sec
Reputation Power: 1940
If you're trying to gauge server performance you could try using process monitor (built into Windows Server) and take baseline readings; which you can record. From there set a scheduled task/trigger to have process monitor record specific system resource utilization records (i.e., hard faults/sec, disk usage, proc usage, etc...) during what you suspect to be a peak time. Compare that to your baseline readings and see what you get. It won't give you specific directories, but it is an easy way to confirm whether or not you server is being taxed; and at what time.

Reply With Quote
  #6  
Old March 10th, 2011, 09:00 AM
AdamPI's Avatar
AdamPI AdamPI is offline
Automagically Delicious
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: May 2004
Location: 127.0.0.2 - I live next door.
Posts: 2,199 AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level)AdamPI User rank is General 26th Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Weeks 6 Days 22 h 26 m 16 sec
Reputation Power: 2736
I think I found out what's going on yesterday. It's simply an issue with being dumped on faster than my application can process. The biggest problem we had was not knowing what time files were appearing in my folder since they were deleted once the app had them. The file spent a significant amount of time waiting for the previous document to process and I wanted to make sure it wasn't the OS or Network that was the cause. It looks like I might have to add threads to my app or redesign a more efficient process.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsWindows Help > Windows File/Folder monitoring

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap