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) General Commands Manual KILL(1)
NAME
kill - terminate a process with extreme prejudice
SYNOPSIS
kill [ -sig ] processid ...
kill -l
DESCRIPTION
Kill sends the TERM (terminate, 15) signal to the specified processes. If a signal name or number preceded by `-' is given as first argu-
ment, that signal is sent instead of terminate (see sigvec(2)). The signal names are listed by `kill -l', and are as given in
/usr/include/signal.h, stripped of the common SIG prefix.
The terminate signal will kill processes that do not catch the signal; `kill -9 ...' is a sure kill, as the KILL (9) signal cannot be
caught. By convention, if process number 0 is specified, all members in the process group (i.e. processes resulting from the current
login) are signaled (but beware: this works only if you use sh(1); not if you use csh(1).) Negative process numbers also have special
meanings; see kill(2) for details.
The killed processes must belong to the current user unless he is the super-user.
The process number of an asynchronous process started with `&' is reported by the shell. Process numbers can also be found by using ps(1).
Kill is a built-in to csh(1); it allows job specifiers of the form ``%...'' as arguments so process id's are not as often used as kill
arguments. See csh(1) for details.
SEE ALSO
csh(1), ps(1), kill(2), sigvec(2)
BUGS
A replacement for ``kill 0'' for csh(1) users should be provided.
4th Berkeley Distribution April 20, 1986 KILL(1)