CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2007
    Posts
    49

    Arrow Help | Stop Perl proccess in linux

    Hello all !

    1 hour ago I installed some Perl process on my Linux server and I don't know how to shut it down ...
    How to do that ?

    thanks to helpers !

  2. #2
    Join Date
    Mar 2007
    Location
    Montreal, Quebec, Canada
    Posts
    185

    Re: Help | Stop Perl proccess in linux

    Use the ps command with the a modifier to get a list of your processes, and pipe it to grep:
    Code:
    ps a | grep perl
    From this you should see something like:
    Code:
    6343 pts/0    Ss+    0:00 /usr/bin/perl
    6410 pts/0    S+     0:00 grep perl
    The first number is the process ID. Now you use the kill command to kill the process:
    Code:
    kill 6343
    and the process should be killed. You have to be root to do this, unless you own the perl process.

  3. #3
    Join Date
    Nov 2007
    Posts
    49

    Re: Help | Stop Perl proccess in linux

    thanks !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured