Sponsored Content
Top Forums Shell Programming and Scripting Kill idle Process using a script Post 302784709 by hanson44 on Friday 22nd of March 2013 06:50:10 PM
Old 03-22-2013
How do you detect the processes are "idle" when you view the ps -ef output by eye?
 

10 More Discussions You Might Find Interesting

1. SCO

Identifiy and Kill Idle Unix(SCO) Process called externally

Hi, Please let us know of any possiblity of identifying and killing unix proces invoked externally (by an external tool which does not create a session). 'who' command gives idle time of sessions. But what we are looking for is idle time of a process. 'ps' command gives the elapsed/running... (1 Reply)
Discussion started by: vbalajis
1 Replies

2. HP-UX

Is there a script available to kill Idle users

My max user parm is set to 1050. I'm currently at 1038 this is causing major slow downs on the server. I looking for a way log off "idle" user logins with out having to do it individually. :confused: (5 Replies)
Discussion started by: rfmurphy_6
5 Replies

3. HP-UX

kill idle users

Hi, In my network we uses the NetTerm program to connect us to HP-UX 10.x server from windows workstations, but in some cases the user doesn't logout and close it by window's x button. The problem is that in HP-UX the user and all his tasks remain active and when he enter again HP-UX creates a... (12 Replies)
Discussion started by: efrenba
12 Replies

4. Shell Programming and Scripting

How to kill process after x idle min?

I need a script to kill those process id whose idle time is more than 30min plz help me (3 Replies)
Discussion started by: salil2012
3 Replies

5. AIX

Kill IDLE Process using script !!!

Dear Friends , I am using DB2 database in AIX 5.3 server . In my server some IDLE process are generated after several times which I need to kill it manually each and every time . The process I query like following : root@bagpuss $ ps auxw|sort -r +3|head -10 USER PID %CPU %MEM ... (3 Replies)
Discussion started by: shipon_97
3 Replies

6. Shell Programming and Scripting

Shell Script to Kill Process(number of process) Unix/Solaris

Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it This is how we execute the script (and this is the requirement) ... (2 Replies)
Discussion started by: jonnyvic
2 Replies

7. Shell Programming and Scripting

Kill idle script is killing unnecessarly

Hi All,I have a problem with my kill idle script.my script is supposed to kill the user sessions which are idle for more than 2 hours.But is is killing the sessions which are idle for less than 2 hrs also.I dont know the exact time after which the script is killing,but it is less than 2 hours i am... (3 Replies)
Discussion started by: prabhu_kumar
3 Replies

8. UNIX for Dummies Questions & Answers

Script to start background process and then kill process

What I need to learn is how to use a script that launches background processes, and then kills those processes as needed. The script successfully launches the script. But how do I check to see if the job exists before I kill it? I know my problem is mostly failure to understand parameter... (4 Replies)
Discussion started by: holocene
4 Replies

9. Solaris

Kill idle dt session

Hi, i need to kill the idle dt sessions through script, can anyone tell me how to do? RJS (2 Replies)
Discussion started by: rajasekg
2 Replies

10. UNIX for Beginners Questions & Answers

Idle command to kill the process running n unx box machine

Hi Team , I have one process named as cec_analysiseool that is running on unix box machine now i want to kill this process so please advise what will be the ideal command to kill this , what i have tried is :confused: kill -9 `ps -ef | grep cec_analysiseool | grep -v grep | awk '{print $2}'` (2 Replies)
Discussion started by: unclesamm
2 Replies
VWRIGHT(1)						      General Commands Manual							VWRIGHT(1)

NAME
vwright - normalize a RADIANCE view, shift it to the right SYNOPSIS
vwright [ view options ] distance vwright [ view options ] name DESCRIPTION
In the first form, vwright shifts a RADIANCE view the specified distance to the right, putting out a complete set of view parameters in a single line on the standard output. This utility is most often used to compute a right-eyed view from a left-eye view for stereo imaging. If no options are specified on the command line, vwright reads a view from its standard input. The distance given is in world coordinate units. A negative value indicates a shift to the left rather than the right. The second form substitutes a name prefix in place of the shift distance, and produces constant assignments on the standard output suitable for passing directly to rcalc(1). For a given prefix N, the constant names are as follows: Nt: view type ('v'==1,'l'==2,'a'==3,'h'==4,'c'==5,'s'==6) Npx: view point x value Npy: view point y value Npz: view point z value Ndx: view direction x value (normalized) Ndy: view direction y value (normalized) Ndz: view direction z value (normalized) Nd: view focal distance Nux: view up vector x value (normalized) Nuy: view up vector y value (normalized) Nuz: view up vector z value (normalized) Nh: view horizontal size Nv: view vertical size Ns: view shift Nl: view lift No: view fore clipping distance Na: view aft clipping distance Nhx: derived horizontal image vector x value (normalized) Nhy: derived horizontal image vector y value (normalized) Nhz: derived horizontal image vector z value (normalized) Nhn: derived horizontal image vector multiplier Nvx: derived vertical image vector x value (normalized) Nvy: derived vertical image vector y value (normalized) Nvz: derived vertical image vector z value (normalized) Nvn: derived vertical image vector multiplier EXAMPLES
To start rpict(1) on a view .06 meters left of the view in the file "right.vf": rpict `vwright -.06 < right.vf` scene.oct > right.hdr & To move the rad(1) view named "left" 2.5 inches to the right and render from there: rad -v "right `rad -n -s -V -v left examp.rif | vwright 2.5`" examp.rif & To pass a view to rcalc for conversion to some other view: rcalc -n -e `vwright orig < orig.vf` -f viewmod.cal -o view.fmt > new.vf AUTHOR
Greg Ward SEE ALSO
pdfblur(1), rad(1), rcalc(1), rpict(1), rvu(1) RADIANCE
8/29/96 VWRIGHT(1)
All times are GMT -4. The time now is 09:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy