Bug 127255 - variation in the no. of users reported by "w" and "top"
Summary: variation in the no. of users reported by "w" and "top"
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: procps   
(Show other bugs)
Version: 3.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Karel Zak
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2004-07-05 10:57 UTC by arthin123
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-08 10:29:11 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description arthin123 2004-07-05 10:57:49 UTC
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):

How reproducible:

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.

Additional info:

Comment 1 arthin123 2004-07-05 11:02:01 UTC

Comment 2 KL Rajasekar 2004-07-09 06:39:21 UTC

Comment 3 Albert Cahalan 2004-07-20 17:40:20 UTC
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.

Comment 4 Karel Zak 2005-09-08 10:29:11 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.