From owner-freebsd-questions Mon May 31 11:33:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from inet.chip-web.com (c1003518-a.plstn1.sfba.home.com [24.1.82.47]) by hub.freebsd.org (Postfix) with SMTP id A29E014D09 for ; Mon, 31 May 1999 11:33:11 -0700 (PDT) (envelope-from ludwigp@bigfoot.com) Received: (qmail 28026 invoked from network); 31 May 1999 18:33:11 -0000 Received: from speedy.chip-web.com (HELO bigfoot.com) (@172.16.1.1) by inet.chip-web.com with SMTP; 31 May 1999 18:33:11 -0000 Message-ID: <3752D606.64C38B76@bigfoot.com> Date: Mon, 31 May 1999 11:33:42 -0700 From: Ludwig Pummer X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: zulkarnain Cc: freebsd-questions@freebsd.org Subject: Re: command "w" References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG zulkarnain wrote: > I'm using FreeBSD 3.1, after running for 2 month respon of command "w" > become to slow. how do I fix it ?? "w" does DNS lookups, so that could be one factor. See if "w" and "w -n" are significantly different in terms of speed. Another factor could be that "w" looks at /var/run/utmp, which is modified every time a user logs in or out. utmp gets cleared only at bootup. So if you haven't rebooted in a while (and therefore, utmp is rather large), "w" could be slow. -- --Ludwig Pummer ( ludwigp@bigfoot.com ) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message