Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In some of the server when I check the users logged in through the "uptime" command it shows me more number of users logged in whereas when I use the "who" and "w" command it reports me much less numbers actually logged in.
Can anyone advise why this difference is there and how I can find a remedy for this.
who shows the number of the users as well as the user statistics who are already logged in..in the output it reports only 6 users logged in , where as in the actual stat it is stating 1474 users.
That's a good qn ... you might find this page http://linux.die.net/man/5/utmp (and the whole site) useful.
I suspect that 1474 is actually the num of processes running, not unique user count.
Well, what I mean (as opposed to the manual) is that eg you could login 5 times, simultaneously, which would give you a (login) process total of 5, but only 1 unique user.
You clould also start 5 processes in the background from each login session, which would give you 30 (5 + 25) processes, but still 1 unique user logged in.
Also be aware that process count includes all the kernel processes and any other processes the system thinks it needs, see /etc/init.d .
HTH
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.