![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
[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? |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
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.
|
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
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 |
|
#5
|
|||
|
|||
|
[edit] n/m, mistaken answer
|
|||
| Google The UNIX and Linux Forums |
| Tags |
| load average, performance |
| Thread Tools | |
| Display Modes | |
|
|