09-18-2007
Try This
1:- ps -ef | grep <user_login_name>
then kill the process
2:- If you know the user login name (example here "sanjay" is user login name) then try this one
# ps -u sanjay -o pid | grep -v PID | xargs -i kill -9 {}
~~~Sanjay Tripathi~~~
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I run freebsd 4.8 and try to find the way or 'a' way to log in a certain user i created automaticaly at pc boot.
I have searched the net, the manuals, but found nothing...
could anyone please get me going by showing me an example or what file(s) i need to take a look at.
i am not working... (6 Replies)
Discussion started by: termiEEE
6 Replies
2. UNIX for Dummies Questions & Answers
I am sure someone will yell at me over this post, but honestly I have searched. It doesn't help that I am not sure what to search on.
Little background. Working at new company, Company has a program on a Unix box AIX.4. I know virtually nothing about Unix and Neither does anyone else here ... (1 Reply)
Discussion started by: swoozie
1 Replies
3. AIX
Hello,
My first post to the Unix forums, thanks for having me!
The division of the company I work for uses a xseries/redhat/VMWareServer
solution to make sure that we keep hardware overhead low and use our machines to as near capacity as we can. These boxes are Intel with usually
dual or... (1 Reply)
Discussion started by: greenteabagger
1 Replies
4. UNIX for Advanced & Expert Users
I need to do a switch user in an automated mode and do a ftp using that switched id.
Scenario:
initial login xx.
switch to user-yy without manually entering the password.
ftp some files from user yy to another user zz - automated mode.
Can any unix experts can help me for my above query? (1 Reply)
Discussion started by: mjdarm
1 Replies
5. AIX
Good afternoon,
I'm currently working on an IBM 9110-510, with an AIX 6.1 on it.
Currently, I've put an HyperTerminal on the machine vty0. Folowing the procedure given by a support guy(§details), I'm able to get to the AIX banner
... (6 Replies)
Discussion started by: nilleb
6 Replies
6. AIX
Hi all,
I cannt use 'su' to login to root or any other users though everything seems ok. I read some articles that says if you do recursive chmod 777 on /usr it can create this problem.
I did the same. can anybody tell me how to repair it. Any ideas will be appreciated.
thnks (7 Replies)
Discussion started by: itesh.dash
7 Replies
7. AIX
Hi
I was wondering if anybody has come across in a failure of fuser command.
We have a backup script that is:
fuser -c -k /XXX/XXXXXXX
sync;sync
umount /XXX/XXXXXXX/
backup -0 -f /dev/rmt0.1 -u /dev/XXXXXXXlv
mount /XXX/XXXXXXX/
sync;sync
The script is called from crontab via an... (2 Replies)
Discussion started by: ggovotsis
2 Replies
8. AIX
Hello,
Sorry for my poor English.
I have to reduce rights for a user on AIX system so that:
When he does , he find in output, only filesystems on which he has permissions
.He can't do to change user.
Very thanks for helping. (2 Replies)
Discussion started by: edosseh
2 Replies
9. AIX
Hi All,
We are facing the below issue when we try to SU to a user in AIX
0:root@dehensv215:/var/adm # su - orac38
foreach: Words not ()'ed.
% pwd
/oracle/C38
% ls
We are able to login to other admin user in the same server only problem is with this user orac38.
Guess some problem... (13 Replies)
Discussion started by: Vijay Gurusamy
13 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I want to create a new user,and I want to give read permission to a folder which owned by root.
How can I do this?
thanks for your helps (4 Replies)
Discussion started by: sersoy
4 Replies
KILL(1) Linux Programmer's Manual KILL(1)
NAME
kill - terminate a process
SYNOPSIS
kill [ -s signal | -p ] [ -a ] [ -- ] pid ...
kill -l [ signal ]
DESCRIPTION
The command kill sends the specified signal to the specified process or process group. If no signal is specified, the TERM signal is sent.
The TERM signal will kill processes which do not catch this signal. For other processes, it may be necessary to use the KILL (9) signal,
since this signal cannot be caught.
Most modern shells have a builtin kill function, with a usage rather similar to that of the command described here. The `-a' and `-p'
options, and the possibility to specify pids by command name is a local extension.
OPTIONS
pid... Specify the list of processes that kill should signal. Each pid can be one of five things:
n where n is larger than 0. The process with pid n will be signaled.
0 All processes in the current process group are signaled.
-1 All processes with pid larger than 1 will be signaled.
-n where n is larger than 1. All processes in process group n are signaled. When an argument of the form `-n' is given, and it
is meant to denote a process group, either the signal must be specified first, or the argument must be preceded by a `--'
option, otherwise it will be taken as the signal to send.
commandname
All processes invoked using that name will be signaled.
-s signal
Specify the signal to send. The signal may be given as a signal name or number.
-l Print a list of signal names. These are found in /usr/include/linux/signal.h
-a Do not restrict the commandname-to-pid conversion to processes with the same uid as the present process.
-p Specify that kill should only print the process id (pid) of the named processes, and not send any signals.
SEE ALSO
bash(1), tcsh(1), kill(2), sigvec(2), signal(7)
AUTHOR
Taken from BSD 4.4. The ability to translate process names to process ids was added by Salvatore Valente <svalente@mit.edu>.
Linux Utilities 14 October 1994 KILL(1)