I was looking for a piece of code to show all users logged on to my system. What I mean by that is: only 1 person is ever truly logged in at my house, but there are sometimes other users "logged in" with programs running under their account. This is due to the "Fast Switching", "Switch User", feature of Windows. I found almost nothing, except for one idea that if you can find the owners of all "explorer.exe" processes running, then you will know who is "logged in". The .Net framework cannot do this alone, as far as I can …

Member Avatar
+0 forum 0

script to specify the name of the user to be checked, the frequency in seconds at which the script should check. If a checking frequency is not specified, it should default to 60 seconds So far I have got [CODE] frequency=$0 user=$1 #!/bin/sh while [ $* -gt 60 ] do who|grep $1 > /dev/null if [ $? -z 0 ] then echo "users $1 is logged" break; else echo "waiting" sleep 10 fi [/CODE]

Member Avatar
Member Avatar
+0 forum 2

Hi friends... My friend s doing an online project... He wants to know how many users(REGISTERED) are LOGGED-IN CURRENTLY in his site... i.e if i'm ADMINISTRATOR of this DANIWEB, i want to know the USERS CURRENTLY LOGGED-IN... I need the logic for this... Help me... Thanks in advance...

Member Avatar
Member Avatar
+0 forum 4

The End.