Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 1999 11:33:42 -0700
From:      Ludwig Pummer <ludwigp@bigfoot.com>
To:        zulkarnain <zul@unsyiah.ac.id>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: command "w"
Message-ID:  <3752D606.64C38B76@bigfoot.com>
References:  <Pine.BSF.4.05.9905291108130.18623-100000@pinto.unsyiah.ac.id>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3752D606.64C38B76>