This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes How to track how long a windows process has been running for and create a log file. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "How to track how long a windows process has been running for and create a log file. " Watch "How to track how long a windows process has been running for and create a log file. " New topic
Author

How to track how long a windows process has been running for and create a log file.

Byeongsoo Yoo
Greenhorn

Joined: Aug 14, 2012
Posts: 1
Hi I've been lurking these forums for a while now and finally decided to create an account because this community has always had answers to all my programming questions.
Today I have a question that I can't seem to find an answer anywhere so if you guys could help that would be great.

I've been learning java programming for a while now and I have a small project in which I need to track when a certain program is opened and track for how long its used until its closed.
This needs to be a constant process that runs in the background and the logs must be kept for future reference.
I am not quite sure how to approach this or if it is even possible In JAVA to do such a thing if you guys could give me suggestions or examples on how to do this it would be really helpful.

Thanks in advance
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to track how long a windows process has been running for and create a log file.
 
Similar Threads
Some questions with server design
projects that can be done in java
Control number of threads
Oracle sues Google
career change to programming