[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug 865] Wish: Who's where? Synced list of users logged in


------- Additional Comments From faj@bzz.no  2007-08-09 10:28 -------
I'm using this script: 

ps hax --format user,pid,command | \
    grep ssh[d] | \
    while read USER PID SSHD LOGIN ; do
        test "$USER" = "root" && continue
        case "$LOGIN" in
                DISPLAY=$(ps h --ppid $PID --format command | sed -e
's:.*LTSP_CLIENT="\(.*\)" .*:\1:g')
                echo $USER $DISPLAY
            *) echo "$LOGIN" ;;

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply to: