Hi sumit,
Afaik you would need to make some native routine and interface it with
your java code.
Alternatively you could also run a utility like ps from inside your
application and redirect and capture it's output which you could then
parse.

Regards,
Nalin

On 9/2/09, sumitshining <[email protected]> wrote:
>
> No reply till now. Am waiting guys. Please help me soon.
>
> On Aug 30, 9:13 pm, sumit srivastava <[email protected]>
> wrote:
>> Hi All,
>> I need to know the code using which I can easily monitor the user
>> activity.
>> I want to create a log of current running applications and also add new
>> entries to my database when the user runs any new application while this
>> java service is running. As soon as the user runs any new app, the service
>> should detect it and add each and every information about it to the log.
>> These informations may be time of opening the application, duration of
>> using
>>
>> it, name and location of the file being used (if any) by the app, etc.
>>
>> Regards
>> Sumit Srivastava
>>
>> ----------------------------------------------------------------
>> The power of imagination makes us infinite...
>> ----------------------------------------------------------------
> >
>

-- 
Sent from Gmail for mobile | mobile.google.com

--~--~---------~--~----~------------~-------~--~----~
Do you have another question? Click here - 
http://groups.google.com/group/iitdlug/post
l...@iitd community mailing list -- http://groups.google.com/group/iitdlug
-~----------~----~----~----~------~----~------~--~---

Reply via email to