LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-09-2002, 04:16 PM   #1
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
how can i see list of logged on users?


my cpu crawled so i typed 'w' to see who is logged in..
there's nobody..
but in 'top', someone was excuting vi with cpu83% ..lol

why 'w' doesn't work?
what alternatives are out there?

thank you
 
Old 09-09-2002, 04:34 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
Top shows you also who's running the program (second column).
Instead of 'w' you can use 'last'. It shows a list of recently logged users.
 
Old 09-09-2002, 06:31 PM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
'users' gives me a list of logged in users. If I have 17 xterms open, each one will show up as a new user under the same name. So sometimes 'users' will give me like 20 entries for root, and I am freakin out. Then I realize what's going on, he he he
 
Old 09-10-2002, 01:36 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
You shouldn't be logged as root so many times
 
Old 09-10-2002, 04:45 PM   #5
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Original Poster
Rep: Reputation: 30
i guess i can log-on and start process
and log off without quitting the process.

i think i 've seen it before..
but don't know how to do it..

anyway, thx
 
Old 09-10-2002, 06:23 PM   #6
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
nohup
( To keep the process running even after you logout)
I had this doubt in my mind for a long time. Is there a software that will check for such orphan processes and kill them?
--Sarin
 
Old 09-10-2002, 08:11 PM   #7
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
Or you can use screen

ssh into your host, and start whatever program you want, lets say you want to do a little irc: screen Bitchx
ok now your using Bitchx in your fav channel, you want to quit your ssh session but still have Bitchx running, just close your terminal and Bitchx will still be running.

To reattach to it, log back into your host running Bitchx and type screen -r

You can do it on local machines also not just while you are ssh'd in. Though this is the only method i have used.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I list all users (even those not logged in) steved Linux - Newbie 2 09-29-2005 04:45 PM
why so many logged in users? alagenchev Linux - Security 2 03-24-2005 06:19 PM
users who logged before czezz Solaris / OpenSolaris 1 11-24-2004 06:12 AM
No Users logged in X kaise_sose Linux - Software 2 10-19-2004 02:57 AM
Monitoring Logged In Users MadTurki Linux - Networking 6 01-22-2004 02:19 PM


All times are GMT -5. The time now is 02:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration