# ps
aux => List all the processes
# pkill <<process_name>> => will find all process with the name mentioned and kill
# kill –l => Will list all available signals

# kill -9 <<PID>> => Kills the process corresponding to the PID mentioned
# pkill –t <<ptty_id>> => ptty_id can be found using the command w. This will return all logged in users and their terminal Ids
# pkill -u <<user_name>> <<process_name>> => will kill the process specified for the specified user
Working with job
# job => this will list the background jobs of the user with the number
# kill –SIGSTOP %1 => Will kill the process %1 is the process number
# job => Will display the job status as stopped
# pkill <<process_name>> => will find all process with the name mentioned and kill
# kill –l => Will list all available signals

# kill -9 <<PID>> => Kills the process corresponding to the PID mentioned
# pkill –t <<ptty_id>> => ptty_id can be found using the command w. This will return all logged in users and their terminal Ids
# pkill -u <<user_name>> <<process_name>> => will kill the process specified for the specified user
Working with job
# job => this will list the background jobs of the user with the number
# kill –SIGSTOP %1 => Will kill the process %1 is the process number
# job => Will display the job status as stopped
No comments:
Post a Comment