Re: Discover Active User
- From: "Lucas Prado Melo" <lucaspm@xxxxxxxxxxx>
- Date: Wed, 19 Dec 2007 07:09:55 -0300
Thank you
On Dec 19, 2007 5:24 AM, Stefano Sabatini
<stefano.sabatini-lala@xxxxxxxx> wrote:
On date Tuesday 2007-12-18 20:09:48 -0300, Lucas Prado Melo gnomed:_______________________________________________
How do I find out which useR is logged and running gnome at the local machine?
On Dec 18, 2007 8:07 PM, Lucas Prado Melo <lucaspm@xxxxxxxxxxx> wrote:
How do I find out which use is logged and running gnome at the local machine?
What about this:
ps -e -o cmd,user | grep [g]nome-session | awk '{ print $2 }' | uniq
HTH, regards.
--
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list
- Follow-Ups:
- Re: Discover Active User
- From: Lucas Prado Melo
- Re: Discover Active User
- References:
- Discover Active User
- From: Lucas Prado Melo
- Re: Discover Active User
- From: Lucas Prado Melo
- Re: Discover Active User
- From: Stefano Sabatini
- Discover Active User
- Prev by Date: Re: Discover Active User
- Next by Date: Re: Discover Active User
- Previous by thread: Re: Discover Active User
- Next by thread: Re: Discover Active User
- Index(es):