Results 1 to 8 of 8
Thread: ssh problem
-
08-31-2004, 04:10 AM #1Newbie
- Join Date
- Feb 2004
- Posts
- 21
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?
-
08-31-2004, 04:16 AM #2WHT Addict
- 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.
-
08-31-2004, 07:34 AM #3Newbie
- Join Date
- Feb 2004
- Posts
- 21
Thanks ;-)
-
08-31-2004, 10:00 AM #4Registered User
- Join Date
- Jun 2001
- Posts
- 597
yeah if you tried to kill (processnumber) and it didnt work, use:
kill -9 (processnumber)
-
08-31-2004, 05:36 PM #5Web Hosting Master
- Join Date
- Jul 2002
- Location
- Manchester, UK
- Posts
- 779
Even easier would of course be "killall -9 pico".
-
08-31-2004, 07:15 PM #6Newbie
- Join Date
- Mar 2004
- Posts
- 7
Originally posted by probonic
Even easier would of course be "killall -9 pico".
-
08-31-2004, 07:19 PM #7Web Hosting Master
- 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?
-
08-31-2004, 07:23 PM #8Newbie
- Join Date
- Mar 2004
- Posts
- 7
Originally posted by probonic
Ahh sod them