From owner-freebsd-questions@FreeBSD.ORG Wed Mar 12 16:38:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D848106566C for ; Wed, 12 Mar 2008 16:38:31 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep32-int.chello.at (viefep32-int.chello.at [62.179.121.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7D2AF8FC15 for ; Wed, 12 Mar 2008 16:38:30 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from [192.168.1.103] (really [80.99.119.182]) by viefep32-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20080312162305.MOCG5985.viefep32-int.chello.at@[192.168.1.103]> for ; Wed, 12 Mar 2008 17:23:05 +0100 Message-ID: <47D80366.5040206@shopzeus.com> Date: Wed, 12 Mar 2008 17:23:02 +0100 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: List of active users, logged in with gdm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2008 16:38:31 -0000 Hi, I would like to get the list of the users who are actively logged in remotely with gdm, along with their IP address. The commands 'w' and 'users' does not work. What is the right command to get this list? uname: FreeBSD test.dyndns.org 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #4: Wed Aug 29 14:01:04 CEST 2007 gandalf@test.dyndns.org:/usr/obj/usr/src/sys/DARKSUN i386 (The computer is an application server, serving applications to diskless machines with gdm + gnome.) Thanks, Laszlo