LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-27-2004, 10:15 AM   #1
thepoint
LQ Newbie
 
Registered: Sep 2003
Location: Texas
Distribution: Mandriva LE 2005
Posts: 18

Rep: Reputation: 0
Question Who / what is on my machine???


Hi,

I'm trying to figure out what is running on my system. I've included the output of who and ps below. What has triggered my curiosity is the number of users gkrellm is showing. Gkrellm usually indicates 2 users. When I'm not on-line it now indicates 4 users. When I go on-line it indicates 5 users with an unusual high number of processes.. I have checked Gnome system monitor for process id's that match the id's indicated in who -u, but there are none that match.

I guess I'm concerned that somehow my system has been hijacked or something. (maybe just a little paranoid)

Any help would be greatly appreciated.

Output of who -u
paul :0 Jan 27 09:34 ? 2876
paul pts/0 Jan 27 09:34 00:23 3075
paul pts/1 Jan 27 09:34 00:23 3082
paul pts/2 Jan 27 09:54 . 4063

output of ps
PID TTY TIME CMD
4063 pts/2 00:00:00 bash
4299 pts/2 00:00:00 ps

Thanks

Paul
 
Old 01-27-2004, 10:23 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

There's nothing wrong there. Every terminal you have open gets listed as another instance of your username.

The process numbers are just the ID of that process - each process that is launched gets a process ID one higher than the last process to be launched.

E.g. my who -u looks like:

dave tty1 Jan 26 15:28 02:49 983
dave pts/1 Jan 27 13:33 02:49 4843
dave pts/2 Jan 27 16:19 00:03 5459
dave pts/3 Jan 27 16:20 . 5488

and my ps returns:

PID TTY TIME CMD
5488 pts/3 00:00:00 bash
5517 pts/3 00:00:00 ps

Don't worry about it.

Dave
 
Old 01-27-2004, 10:32 AM   #3
thepoint
LQ Newbie
 
Registered: Sep 2003
Location: Texas
Distribution: Mandriva LE 2005
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks Dave;

It still seems to me that just last week gkrellm indicated 2 users when I wasn't on-line and 3 when on-line. Just trying to fugure why it suddenly changed to 4 and 5.

I guess it's the nature of the beast.

Paul

P.S. I'd "affero" ya if I had the bucks. Unfortunately, I'm unemployed and squeezing every penny I can.
 
Old 01-27-2004, 11:03 AM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi again.

Try ps -AH

You'll see what programs are being run by each instance of 'paul' (what's running on each pts/)

You'll probably find that they're programs that you're using, for example if you use a ternimal to open your internet connection, that terminal might still be open and will still be listed as paul on pts/x

Dave
 
Old 01-27-2004, 11:08 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by thepoint
P.S. I'd "affero" ya if I had the bucks. Unfortunately, I'm unemployed and squeezing every penny I can.
Just a FYI, you don't have to donate to use Affero, its also a type of rating system. Someone gives a help reply and answer, feel free to let others know that they were helpful by rating them.

Regards.
 
  


Reply



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
scp: copy a file from local machine to remote machine seran Linux - Newbie 8 10-30-2007 12:23 PM
trying to copy files from another machine to the local machine using telnet,..how? shrike_912 Programming 6 03-14-2006 04:45 PM
sharing internet from a windows 98 machine to a Red Hat Linux machine ritwiksolutions Linux - Newbie 7 03-14-2006 10:20 AM
how to open a dilog on local machine when i do ssh to remote machine fahad26 Programming 3 05-03-2005 07:39 PM
Display of Unix Machine on a PCQ Linux Machine gopalkasat Linux - Networking 1 12-14-2004 02:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:08 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration