04-24-2012
Kill sessions on AIX5.2
Hi,
I have a problem with a server which doesn't stop some sessions.
It looks a ghost sessions.
I don't have defunct process.
I can't find some processes which are executing with the session t41 and t49...
Every time, I have to reboot the server to stop those sessions...
If someone have some clues to help me...
Quote:
root@gen0568/home/root> w
root pts/15 11:16 0 0 0 w
t41 pts/17 fri11 4days 0 0 -
t49 pts/20 thu11 5days 0 0 -
root@gen0568/home/root> ps -ef|grep t41
root 98824 40076 0 11:16:44 pts/15 0:00 grep t41
root@gen0568/home/root> ps -ef|grep t49
root 98826 40076 0 11:16:48 pts/15 0:00 grep t49
root@gen0568/home/root> ps -ef|grep "pts/17"
root 108772 40076 0 11:16:58 pts/15 0:00 grep pts/17
root@gen0568/home/root> ps -ef|grep "pts/20"
root 86104 40076 1 11:17:06 pts/15 0:00 grep pts/20
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
I am unable to kill a process using kill command. I am using HP-UX system. I have tried with kill -9 and i have root privilages.
How can i terminate this daemon ? ? ?
Regards,
Vijay Hegde (3 Replies)
Discussion started by: VijayHegde
3 Replies
2. Programming
Hi all
i have simple c program , when i wish to kill the app
im using kill(0,-9) , but it seams this command don't do any thing and the program.
just ignore it .
what im doing wrong here ?
im using HP-UX ia64
Thanks (9 Replies)
Discussion started by: umen
9 Replies
3. AIX
i got this error while installing ssh package time
bash-3.00# installp -d /openssh/ openssh.base
installp: No action was indicated.
The -a (apply) flag is being assumed.
+-----------------------------------------------------------------------------+
Pre-installation Verification...... (3 Replies)
Discussion started by: chinni929
3 Replies
4. Shell Programming and Scripting
Sorry, posted the question in other forum. (0 Replies)
Discussion started by: sudhamacs
0 Replies
5. Linux
I want to Kill a process without using kill command as i don't have privileges to kill the process. I know the pid and i am using Linux 2.6.9 OS. (6 Replies)
Discussion started by: sudhamacs
6 Replies
6. AIX
Hello All,
After creating lpp_source/spot from AIX 5.3TL6-07 DVD on the NIM(AIX6.1), I went online and download the fix pack for reaching TL8-04. (it was less than 200Mgegs total)
then I did define a newer lpp_source530TL8-04 via a copy from the older lpp_source530TL6-07 (I diduse a command... (2 Replies)
Discussion started by: sangers
2 Replies
7. AIX
Dear Members :),
Curently we are migrating our AIX from 5.2.to 5.3, after migration when we check CPU through nmon it shows double in no i.e we have 8 CPU on our p570 box but nmom shows it 16 after investigation it was found that smtctl was enabled in AIX 5.3,can we disable the smtctl & what is... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies
8. AIX
Hi, I need to know how can I identify, wich SP is installed in my OS (AIX5.3)? and how can I upgrade it?
thanks a lot, (7 Replies)
Discussion started by: fdeivis
7 Replies
9. Shell Programming and Scripting
Hi ,
I am connecting to the linux redhat machine as user : APPS
I would like to know how i can kill -9 , all APPS sessions beside me .
Please advice
Thanks (2 Replies)
Discussion started by: yoavbe
2 Replies
10. Shell Programming and Scripting
Good afternoon
I need to KILL a process in a single command sentence, for example:
kill -9 `ps -aef | grep 'CAL255.4ge' | grep -v grep | awk '{print $2}'`
That sentence Kills the process ID corresponding to the program CAL255.4ge.
However it is possible that the same program... (6 Replies)
Discussion started by: enriquegm82
6 Replies
LEARN ABOUT OPENSOLARIS
sulog
sulog(4) File Formats sulog(4)
NAME
sulog - su command log file
SYNOPSIS
/var/adm/sulog
DESCRIPTION
The sulog file is a record of all attempts by users on the system to execute the su(1M) command. Each time su(1M) is executed, an entry
is added to the sulog file.
Each entry in the sulog file is a single line of the form:
SU date time
result port user-newuser
where
date The month and date su(1M) was executed. date is displayed in the form mm/dd where mm is the month number and dd is the day
number in the month.
time The time su(1M) was executed. time is displayed in the form HH/MM where HH is the hour number (24 hour system) and MM is the
minute number.
result The result of the su(1M) command. A ` + ' sign is displayed in this field if the su attempt was successful; otherwise a ` - '
sign is displayed.
port The name of the terminal device from which su(1M) was executed.
user The user id of the user executing the su(1M) command.
newuser The user id being switched to with su(1M).
EXAMPLES
Example 1 A sample sulog file.
Here is a sample sulog file:
SU 02/25 09:29 + console root-sys
SU 02/25 09:32 + pts/3 user1-root
SU 03/02 08:03 + pts/5 user1-root
SU 03/03 08:19 + pts/5 user1-root
SU 03/09 14:24 - pts/5 guest3-root
SU 03/09 14:24 - pts/5 guest3-root
SU 03/14 08:31 + pts/4 user1-root
FILES
/var/adm/sulog su log file
/etc/default/su contains the default location of sulog
SEE ALSO
su(1M)
SunOS 5.11 6 Jun 1994 sulog(4)