Toggle navigation
All Forums
Recent Posts
Sign In
Terminal question (kill a process)
Jump to First Reply
vox barbara
Posted:
September 23, 2004 3:45AM
in
Genius Bar
edited January 2014
How do you kill a process if you know the process id?
What is the appropriate syntax?
thank you
Comments
Reply 1 of 6
mcq
Posts:
1,543
member
September 23, 2004 3:49AM
kill pid
or if it's stubborn
kill -9 pid
so, for example
kill 12782
kill -9 12782
0
Likes
0
Dislikes
0
Informatives
Reply 2 of 6
ra
Posts:
623
member
September 23, 2004 3:51AM
Use the kill command. Open the Terminal and type 'man kill' to read all about it.
0
Likes
0
Dislikes
0
Informatives
Reply 3 of 6
vox barbara
Posts:
2,021
member
September 23, 2004 4:21AM
Quote:
Originally posted by MCQ
kill pid
or if it's stubborn
kill -9 pid
so, for example
kill 12782
kill -9 12782
nice, thank you
--
EDIT: I don't want to bother you, but do you know a neat cmd, which covers
all build-in hardware within the computer?
For Example: "top" covers all active processes, is there something similar for "hardware"?
I do know "hostinfo" already, but this cmd is very basic
thank you again.
0
Likes
0
Dislikes
0
Informatives
Reply 4 of 6
vox barbara
Posts:
2,021
member
September 23, 2004 4:30AM
Quote:
Originally posted by Ra
Use the kill command. Open the Terminal and type 'man kill' to read all about it.
nice
0
Likes
0
Dislikes
0
Informatives
Reply 5 of 6
talksense101
Posts:
1,738
member
September 23, 2004 5:21AM
Get yourself one of those good Unix books out there. O'Reilly has a few specific to OS-X.
0
Likes
0
Dislikes
0
Informatives
Reply 6 of 6
vox barbara
Posts:
2,021
member
September 23, 2004 5:40AM
Quote:
Originally posted by talksense101
Get yourself one of those good Unix books out there. O'Reilly has a few specific to OS-X.
Thank you for the advice, but i was really looking for these cmds i mentioned in the first place.
No intentions to go further
0
Likes
0
Dislikes
0
Informatives
Sign In
or
Register
to comment.
Comments
or if it's stubborn
kill -9 pid
so, for example
kill 12782
kill -9 12782
Originally posted by MCQ
kill pid
or if it's stubborn
kill -9 pid
so, for example
kill 12782
kill -9 12782
nice, thank you
--
EDIT: I don't want to bother you, but do you know a neat cmd, which covers
all build-in hardware within the computer?
For Example: "top" covers all active processes, is there something similar for "hardware"?
I do know "hostinfo" already, but this cmd is very basic
thank you again.
Originally posted by Ra
Use the kill command. Open the Terminal and type 'man kill' to read all about it.
Originally posted by talksense101
Get yourself one of those good Unix books out there. O'Reilly has a few specific to OS-X.
Thank you for the advice, but i was really looking for these cmds i mentioned in the first place.
No intentions to go further