Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-05-2004, 04:36 PM   #1
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
newbie: how to monitor other user's job when in root ?

Short verson

I'm logging in as a root remotely, want to see what other user is doing and if if they job they are running is over. (using bash)

detail verson

I normally like to download animates or movies before i go to work, so when i get home, i can enjoy my movies.

i've setup ssh, telnet, so i can log onto my pc from work computer, and sometimes i'd like to see what my other acct is doing, such as the process (is it still downloading?) or i like to monitor such as (did i get another licq msg from friend?)

what command can i type in bash, so i can see what my acct is doing?

thank you
Old 06-05-2004, 04:43 PM   #2
Registered: May 2004
Location: Maryland,USA
Distribution: Red Hat 9.0, Knoppix 3.4
Posts: 94

Rep: Reputation: 15
can't you just login to another account? If not then can't you use a vnc?

I tried my best!

Good luck!

Old 06-23-2004, 02:53 PM   #3
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Original Poster
Rep: Reputation: 30
ha ha, i got that problem solved =) =) =)

i type: ps ax | more

thanks for reading
Old 06-23-2004, 03:15 PM   #4
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
You might want to try the screen utility. It allows you to start another session within your shell, start a program, detach from the shell and then reconnect to it from wherever. That was possibly the worst explanation ever, but I'll give you an example:

Type screen to start a new screen session. You'll only get a shell prompt, nothing fancy. So start whatever it is you want to do - launch an FTP client like pftpmew or lftp, or whatever. Start leeching, and hit Ctrl+A and then Ctrl+D. All commands in screen are started with Ctrl+A, and Ctrl+D means detach from the session. Go to work, or do something else. Then ssh in to your box and type screen -r and *pop* up comes your FTP client. You can attach and detach how much you want. Screen also supports multiple windows within one session - Ctrl+A followed by Ctrl+C (for create) creates a new window within the session. You can switch between windows in a session using Ctrl+A followed by Ctrl+0, Ctrl+1, +2 and so on.



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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set user's root directory in SSH? nyy Linux - Software 2 08-24-2004 07:07 AM
user's PATH inherited by root when su tvn Debian 5 04-25-2004 07:07 AM
Changing user's passwords from the root accont Quartzophobia Linux - General 5 01-25-2004 08:27 AM
changing a regular user's password using root Pete Dogg Linux - General 2 11-28-2003 11:49 PM
Not allowed to play kjezz game on non-root user's account Linux - General 3 07-13-2001 07:58 PM > Forums > Linux Forums > Linux - Newbie

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

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