Red Hat Bugzilla – Bug 127255
variation in the no. of users reported by "w" and "top"
Last modified: 2007-11-30 17:07:02 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922
Description of problem:
A customer is facing the following problem.
He is using telnet to connect to the server and initially (after
system bootup) with the "top" command he sees 194 users and with "w"
he sees 194 users. But after 2 days, he sees a great variation in the
no. of users reported by both commands. The nos. vary from 20 to 200 -
eg. top shows 200 where as w shows only 20.This is on RHEL AS 3 & U2.
Here are the customers comments:
I noticed that whenever this problem occurs, after that
/var/run/utmpdoes not changed, even after logging and logout of the
users to the system.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Install RHEL 3 AS
2.Make multiple users login (telnet ) to the system (around 200 users).
3. Inconsistency in the no. of users reported by "w" and "top".
Actual Results: Initially "top" and "w" says the no. of users are
194.But after 1-2 days it may showin w as 20 against in top as > 200.
Expected Results: The no. of users reported by both "w" and "top"
should be same.
Since "top" doesn't report users... huh???
Perhaps you have confused users with tasks.
Each user may have many tasks running, and
may leave tasks running when they log out.
Since there are insufficient details provided in this report for us to
investigate the issue further, and we have not received the feedback we
requested, we will assume the problem was not reproduceable or has been fixed in
a later update for this product.
Users who have experienced this problem are encouraged to upgrade to the latest
update release, and if this issue is still reproduceable, please contact the Red
Hat Global Support Services page on our website for technical support options:
If you have a telephone based support contract, you may contact Red Hat at
1-888-GO-REDHAT for technical support for the problem you are experiencing.