Java Windows logged in user Info
I have two questions.
1) How can i know how many user's are currently logged on to my Win7 machine?
com.sun.security.auth.module.NTSystem NTSystem = new
Above code only gives currenlty logged on user. What if user has tried switch user .
2) As taskbar shows detailed information of all running process and their creation time. How can i get that using some cmd commands / java?
I tried tasklist but i get only limited info. I also want CPU time,Image path name, threads , parent process id etc.
Thanks in advance :(handshake):
Re: Java Windows logged in user Info
Please help me to find the Image path of the process by process Id or some other way...
Thanks in advance.:(handshake):