Custom Search
www.rocket99.com : Technical Guides Sybase Oracle UNIX Javascript


Technical Guides
Sybase
Oracle
UNIX
Javascript




Of Interest

Business Intelligence and Analytics



Oracle Training





UNIX » Commands » Basics »

Killing a UNIX process

     





1) In your own session; e.g. jobs were submitted, but you never logged out:

ps # list jobs
kill -9 < process id> # kill it



2) In a separate session

# process ID appears as column 4
ps -elf | grep -i <keyword>

kill -9 < process id> # kill it



3) For device (or file)

# find out who is logged in from where

w

# select device, and add /dev ... then use the fuser command

fuser -k /dev/pts/3











UNIX : Related Topics

UNIX : Commands : File Permissions
UNIX : Commands : Using Tar
UNIX : Commands : Find files, current directory only
UNIX : Commands : Sort a file, with a specific key
UNIX : Commands : User Accounts
UNIX : Commands : Listing Files
UNIX : Commands : Moving and Copying Files
UNIX : Commands : Deleting Files
UNIX : Commands : Disk Usage
UNIX : Commands : Running a process, spawning a process
UNIX : Commands : Redirecting Output
UNIX : Commands : Misc UNIX Tips
UNIX : Commands : Displaying a File

Sybase Web Site
Sybase iAnywhere Mobile Web Site
Oracle Enterprise Web Site



Get the latest Rocket99 news and tech tips via






Site Index About this Guide to Sybase, Oracle, and UNIX Contact Us Advertise on this site




Copyright © 2016 Stoltenbar Inc All Rights Reserved.