Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Help With Viewing A Running Process
CaptDeath
post Feb 2 2004, 07:58 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 2-February 04
Member No.: 2,282



I am a major newbie to linux so bear with me. What I am trying to do is view a process that is running... I am running Enemy Territory Server on a managed server. i use Putty with SSH to conenct and manage it. To start the process I do a Screen and then run the process. then I ctrl A+D to leave the screen. Well now I can no longer view what is going on... without taking down the process (hence the ET server) is there any way to get back to viewing this process in a screen?

Thanks in advance for your help and patience for a linux noob.
Go to the top of the page
 
+Quote Post
hughesjr
post Feb 2 2004, 09:53 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



If your user only has one screen process running, the command:

screen -R

will take you back into it ....
-----------------------
the command:

screen -ls

lists you all your current screens
----------------------
the command:

screen -r pid.name

to reattach to a specific screen
--------------------
the command:

screen -S name command

uses the name to make it easier to connect....
--------------------------------------------------
for example:

screen top (then exit vi Ctrl-a Ctrl-d)

then screen -ls produces

1168.pts-1.localhost (Detached)

so to connect to this after exiting, you would have to type:

screen -r 1168.pts-1.localhost
but the command:

screen -S top top

followed by screen -ls produces

1145.top (Detached)

and reattaching is much easier:

screen -r 1145.top


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
CaptDeath
post Feb 2 2004, 10:07 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 2-February 04
Member No.: 2,282



That was what I was looking for. I thank you very much.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2017 - 08:25 PM