Sponsored Content
Special Forums UNIX Desktop Questions & Answers Killing a process if it is not using any cpu time Post 302523617 by unxscorob on Thursday 19th of May 2011 07:36:13 AM
Old 05-19-2011
just because it's not using cpu time, doesn't always mean it's not functioning. most long running processes do have periods of inactivity, depending on what it truly does. if possible, describe further what this command is programmed to perform, and is there some log file or query status command to really determine if the process is functioning normally?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Killing of a process and send a mail if the process doesnot come up within 2 minutes

Hi Friends, I am new to this forum as well as new to shell scripting. I have a problem here and i need someone to solve this. Let us consider there are two processes(abc & def).There is a script which kills these two processes(i.e killtheprocess abc). Here abc is the argument . There is a... (1 Reply)
Discussion started by: Prince89
1 Replies

2. UNIX for Dummies Questions & Answers

killing the process

Hi, First, I am running a scipt.While the script is running I realize that I dont want the script to be run so I am killing the script externally.Before the process gets terminated or killed it should delete all the temporary files created by the script.How to do this?Can anyone help me? ... (3 Replies)
Discussion started by: arthi
3 Replies

3. UNIX for Dummies Questions & Answers

how to get persistant cpu utilization values per process per cpu in linux (! top,ps)

hi, i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Discussion started by: pankajd
3 Replies

4. UNIX for Advanced & Expert Users

how to know which process consume CPU time more

Hi, I have problem like everyday i have to check which process consuming more cpu time. I have done it manually using top command.. Is there any script which will tell the exact process name which will consuming more time. I am using hpux. (1 Reply)
Discussion started by: rajesh08
1 Replies

5. UNIX for Dummies Questions & Answers

killing 300 process at the same time

Here's the scenario i have this servd process i want to kill, but i want to kill it one time. bash-2.03# ps -ef | grep servd | grep User123 | wc -l 300 bash-2.03# ps -ef | grep servd | grep User123 | more User123 2007 2006 0 03:17:09 pts/12 0:00 /usr/bin/su - User123 -c ssh... (2 Replies)
Discussion started by: hrist
2 Replies

6. Shell Programming and Scripting

Finding the age of a unix process, killing old processes, killing zombie processes

I had issues with processes locking up. This script checks for processes and kills them if they are older than a certain time. Its uses some functions you'll need to define or remove, like slog() which I use for logging, and is_running() which checks if this script is already running so you can... (0 Replies)
Discussion started by: sukerman
0 Replies

7. Solaris

process CPU time

We are using JAVA program and strange thing is it takes 100% CPU when not in use. The program function is to stream a file on output port (one direction). It checks one directory and when there is a file in it, starts. While it is streaming the CPU usage is normal, about 20%. But, if... (9 Replies)
Discussion started by: orange47
9 Replies

8. UNIX Desktop Questions & Answers

Automatically killing a process if it doesn't use any CPU time

Hi, I'm new to Linux. I have a windows server that run many processes on it. In some cases the processes doesn't exit properly or just stop working and the process needs to be killed. I was wondering how i can automatically (couple of times a day) check which process doesn't use any CPU... (3 Replies)
Discussion started by: ramikom
3 Replies

9. UNIX for Advanced & Expert Users

[Linux] How much time a process waited for CPU?

Hi, Is it possible in Linux to find out how much time a process waited for CPU? In Solaris we can see it in prstat. Thanks (1 Reply)
Discussion started by: sant
1 Replies

10. Shell Programming and Scripting

Killing the process if running for long time in script

I am running a script which will read the data from fail line by line and call the Java program by providing the arguments from the each line. The Java code is working fast for few records and for some records its getting hanged not providing response for morethan one hour. Currently am... (4 Replies)
Discussion started by: dineshaila
4 Replies
NOAUTH(5)							AFS File Reference							 NOAUTH(5)

NAME
NoAuth - Disables authorization checking DESCRIPTION
The NoAuth file, if present in a server machine's /var/lib/openafs/local directory, indicates to the AFS server processes running on the machine that it is not necessary to perform authorization checking. They perform any action for any user who logs into the machine's local file system or issues a remote command that affects the machine's AFS server functioning, such as commands from the AFS command suites. Because failure to check authorization exposes the machine's AFS server functionality to attack, there are normally only two circumstances in which the file is present: o During installation of the machine, as instructed in the OpenAFS Quick Start Guide. o During correction of a server encryption key emergency, as discussed in the OpenAFS Administration Guide. In all other circumstances, the absence of the file means that the AFS server processes perform authorization checking, verifying that the issuer of a command has the required privilege. Create the file in one of the following ways: o By issuing the bosserver initialization command with the -noauth flag, if the Basic OverSeer (BOS) Server is not already running. o By issuing the bos setauth command with off as the value for the -authrequired argument, if the BOS Server is already running. To remove the file, issue the bos setauth command with "on" as the value for the -authrequired argument. The file's contents, if any, are ignored; an empty (zero-length) file is effective. SEE ALSO
bos_setauth(8), bosserver(8) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 NOAUTH(5)
All times are GMT -4. The time now is 01:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy