The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Pseudo-terminal will not be allocated because stdin is not a terminal. Shivdatta UNIX for Advanced & Expert Users 1 08-04-2008 07:29 AM
HP UX Terminal Help gpta_varun HP-UX 0 05-11-2005 11:16 AM
terminal guest100 UNIX for Dummies Questions & Answers 1 04-26-2002 08:07 AM
users at terminal millsy Shell Programming and Scripting 1 03-06-2002 10:51 PM
connecting to unix through hyper terminal - as a dumb terminal michelle UNIX for Advanced & Expert Users 2 11-05-2001 12:32 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 09-30-2005
Registered User
 

Join Date: Sep 2005
Posts: 2
Post 3 users in my psuedo terminal

[root@ns1 root]# uptime
01:55:24 up 22 days, 2:50, 3 users, load average: 0.01, 0.02, 0.00

i have this when i do uptime. but there isnt anibody inside it. all are root ( that is me ) when i go to /dev/pts/ i can only see 0. so how do i clear this counter of 3 users to a real logical one?
Reply With Quote
Forum Sponsor
  #2  
Old 09-30-2005
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,326
Run 'who -u'. This command will show the list of users logged in to the server and the IP addresses / DNS names that they are using. This way you can find who exactly is logged into your server and where from.
Reply With Quote
  #3  
Old 10-01-2005
Registered User
 

Join Date: Sep 2005
Posts: 2
dude~ i dun want to know who is logged in. the sshd is ald defunct~ i want to clear the counter in sshd so that it displays the correct amt of people loggin in.

01:55:24 up 22 days, 2:50, 3 users, load average: 0.01, 0.02, 0.00

its suppose to be 1 user. the other 2 users are me. and im not connecting to it animore.l
Reply With Quote
  #4  
Old 10-01-2005
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,326
You still haven't given the output of 'who -u'. Anyway, do this:
1. Login from console
2. Stop sshd
3. Check for any processes that sshd may have forked and if you find any, kill them
4. Start sshd
5. Check if the uptime/who commands show any users logged in from non console terminals - you should not get any
Reply With Quote
  #5  
Old 10-01-2005
Registered User
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 979
[edit] n/m, mistaken answer
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
load average, performance

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:40 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0