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

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



http://bugs.skolelinux.no/show_bug.cgi?id=865

trond@maehlum.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From trond@maehlum.net  2007-08-06 10:33 -------
I am not getting what I need for rwho. I need at list of users logged into a given ltspserver, and the 
hostname and/or ipadress of their client. I don't see how I can get that from rwhod.

Now I use this:

echo $(ps eauxww|grep "bash --login -c"|grep "LTSP_CLIENT"|grep PPID|grep -v grep | cut -d ' ' -f1) \
$(ps eaxww|grep "bash --login -c"|grep "LTSP_CLIENT"|grep PPID|grep -v grep| cut -d'=' -f4|cut -d':' 
-f1)

But the output is wrong it outputs:

user user ipadress ipadress 

instead of

user  ipadress
user  ipadress

Even though hostname would be better...



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



Reply to: