Results 1 to 8 of 8

Thread: ssh problem

  1. #1

    ssh problem

    Hi, I've edited a file in ssh (pico /etc..) and forgot to close that program and exited ssh, now its has 99% cpu usage in whm
    How can I close that program?

  2. #2
    Join Date
    May 2004
    Location
    Hungary
    Posts
    106
    Login into the server and run ps -aux
    Look for the application you didn't close and write kill N
    N should be the number you see after your username in the line of the running program.

  3. #3
    Thanks ;-)

  4. #4
    Join Date
    Jun 2001
    Posts
    597
    yeah if you tried to kill (processnumber) and it didnt work, use:

    kill -9 (processnumber)

  5. #5
    Join Date
    Jul 2002
    Location
    Manchester, UK
    Posts
    779
    Even easier would of course be "killall -9 pico".

  6. #6
    Originally posted by probonic
    Even easier would of course be "killall -9 pico".
    And if any other users are using pico at the same time?

  7. #7
    Join Date
    Jul 2002
    Location
    Manchester, UK
    Posts
    779
    Originally posted by dredg
    And if any other users are using pico at the same time?
    Ahh sod them

  8. #8
    Originally posted by probonic
    Ahh sod them
    A good larting. Don't forget to rm -rf /home/$user when they ask for more space

Posting Permissions

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