Registered Member
|
Hi, I am working for a simple script to check for multiple session. the script will ssh to multiple remote workstations and I would like to know how to identify session?
if I issue command who, what process should i check to identify an active session? maybe someone already got a script to do that and would like to share? thanks a lot. |
Administrator
|
I would suggest checking for the presence of a "ksmserver" process - if searching for a KDE session. Otherwise, you might find the output of the "who" command to be helpful.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]