• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic