From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 19:54:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7C97EE62 for ; Wed, 5 Jun 2013 19:54:49 +0000 (UTC) (envelope-from bw.mail.lists@gmail.com) Received: from mail-ea0-x229.google.com (mail-ea0-x229.google.com [IPv6:2a00:1450:4013:c01::229]) by mx1.freebsd.org (Postfix) with ESMTP id 1494F1DBF for ; Wed, 5 Jun 2013 19:54:48 +0000 (UTC) Received: by mail-ea0-f169.google.com with SMTP id h15so1511340eak.14 for ; Wed, 05 Jun 2013 12:54:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=XukAFV4eMmC2QMCNnZc8g0GZo4Ox9qN7FUxQmjO0+Eo=; b=UUrf1fY0KUL00IwvJkG1n4sm4XHRlkBJbkMfxzJS8bbBnij1NYP9FQ3kl/rKcsanQd d8xhNRKHqTrWGqLoYJuz3bF9PPZzKUuAci6evPYYPa1+mJkb+WiZqnnaojclScxn4e8D GUMIWgP3YrW3IDfKBhGAgWST8H39vFBauobDzWEc/FuXthvsUvv5MuNvFIbAI6sCoeE8 ruux+jgtCTuQtLtD7IrAliJ05w/Bss8InjiU83vIJrmYiCx18bIGpqKH9FrO9kQa8wJd v8UcHudcTe73UfqFHjTzDVZHLmkj+a7Rw+mcdroy//Ca+6f/upgDLL1A3DgTH+q49AAS bcwA== X-Received: by 10.15.98.14 with SMTP id bi14mr30101616eeb.92.1370462088288; Wed, 05 Jun 2013 12:54:48 -0700 (PDT) Received: from [127.0.0.1] (dhcp-089-099-136-227.chello.nl. [89.99.136.227]) by mx.google.com with ESMTPSA id m45sm9456096eeu.17.2013.06.05.12.54.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Jun 2013 12:54:47 -0700 (PDT) Message-ID: <51AF9770.4020308@gmail.com> Date: Wed, 05 Jun 2013 21:54:24 +0200 From: "bw.mail.lists" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: getting system's telnet sessions' pid per pty References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 19:54:49 -0000 > any ideas? any other command line tools which may help me?? any command > which gives me pid per tty information or alike? Try fstat(1) and procstat(1)