Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How ti kill a process which is consuming so much time Post 302070307 by shreenivas on Tuesday 4th of April 2006 02:32:30 AM
Old 04-04-2006
Java How ti kill a process which is consuming so much time

There is a process which is consuming too much time.. how to find that process and kill it.
 

10 More Discussions You Might Find Interesting

1. AIX

Process consuming most memory

How can i find the processes that is consuming most memory? I tried TOPAS and SVMON and this didn't gave me the desired result. (1 Reply)
Discussion started by: shabu
1 Replies

2. Programming

kill a process which run out of time

hello everybody!! i want ur help! it is urgent!! ... pid=fork(); if(pid==0) { execl(a program); exit(1);} else if (pid>0) { timer(5); //(command 1)timer is a function that count up to 5sec if(kill(pid,0)==0)kill(pid,9);//(command 2) wait(&status); .... } else perror("error");... (3 Replies)
Discussion started by: nicos
3 Replies

3. HP-UX

which thread is consuming much time ?

Hi How do i check which thread is consuming much time ? In my process it is tacking much %CPU so i want to check whick thread tacking much time? Any suggestion highly appriciated. I am using HP-UX B.11.31 U ia64 Regards, Ashok (5 Replies)
Discussion started by: ashokd001
5 Replies

4. AIX

Command to find TOP 5 Memory consuming process

HI All, Can anyone send me a command to find TOP 5 Memory consuming process. It would be lelpful if I get output something like below processname - pid - memory(in MB) - command I tried few commands from the internet but the result only give the real memory usage or pagging, I want total... (4 Replies)
Discussion started by: bce_groups
4 Replies

5. Solaris

Help to trace process consuming more space

Hi all, We have a server having much processes running. It is very difficuilt to trace the exact consuming more memory. Howerver, it shows CPU usage in sequence but how memory? Tried working with TOP command. Please let me know if something not clear. Thanks, Deepak (5 Replies)
Discussion started by: naw_deepak
5 Replies

6. Shell Programming and Scripting

Time-consuming simple script

Hi, I need some simple but time-consuming script, I would like to compare run time in different shells. I thought about factorial or exponentiation in many loop, but I don't know it's a good idea. Do you know some simple, time-consuming (arithmetic) script ?? I would be thankful for every... (8 Replies)
Discussion started by: Physix
8 Replies

7. AIX

Process ids consuming huge resources ?

Hi All what is the command to check process ids , which are running from long time and which are consuming more cpu? Also how to check, what a particular PID is running what For Ex: i have a pid :3223722 which is running since from long time, if i want to check what is this... (1 Reply)
Discussion started by: sidharthmellam
1 Replies

8. UNIX for Advanced & Expert Users

Kill a process after a certain amount of time

I would like to kill a process after a certain amount of time. Can I please get some ideas on how to do this? (9 Replies)
Discussion started by: cokedude
9 Replies

9. Shell Programming and Scripting

Help with kill a specific process after certain running time

Hi, Do anybody experience to write a bash script in order to kill a specific process (java) after certain time of running? eg. java java.jar task_run.txt I will run a java program (java.jar) which will run a long list of process (task_run.txt) one by one. I plan to terminate the java... (5 Replies)
Discussion started by: perl_beginner
5 Replies

10. AIX

Which process was consuming most memory in the Past?

Hello There are options / commands to check which process is consuming maximum memory However is there any command/mechanism which will tell us which process was consuming maximum memory in specific time interval in the past? I heard nmon report can help in this regard. is there any... (5 Replies)
Discussion started by: Chetanz
5 Replies
TKILL(1)							     LAM TOOLS								  TKILL(1)

NAME
tkill - Terminate LAM on one node. SYNOPSIS
tkill [-dhvN] [-f killfile] OPTIONS
-d Turn on debugging mode. This implies -v. -h Print the command help menu. -v Be verbose. -N Pretend; do not take action. -f killfile Use killfile as the name of the kill file. DESCRIPTION
The tkill tool terminates the LAM session started by hboot(1) on the local node. tkill makes use of a kill file created by the LAM kernel, which contains the process identifiers of every LAM process in ASCII format. A SIGHUP (see signal(3)) signal is sent to every process listed in the kill file. tkill waits a short period of time for each process to die. By adding the debug option, the user can see the final disposition of each process. The mission is accomplished if all processes end up dead. In LAM, the first process to be killed is always the kernel. When the kernel receives its termination signal, it propagates the signal to all of its constituent processes. Therefore, tkill will ordinarily be racing the kernel to kill all other processes. This redundant aspect of tkill allows it to be used as a general purpose tool in association with hboot(1). FILES
/tmp/lam-$USER@hostname the kill file, created by the kernel, where $USER is the userid, and hostname is the name of the local machine SEE ALSO
hboot(1), lam-helpfile(5) LAM 7.1.4 July, 2007 TKILL(1)
All times are GMT -4. The time now is 10:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy