From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075325006612.tru64-unix-managers.marc@archive.invalid> From: "Maximilian C. Fernandes" Date: Tue, 14 Nov 1995 10:40:42 +0000 To: tru64-unix-managers Subject: Script to kill processes... X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075325006612 Hello Managers, I need some help from you guys... I am starting to write some scripts for Unix OSF/1 3.0, but unfortunally, my knowledge in Unix and the principal commands, so I nedd some help..here it goes: The administrator of my network wants me to make a script that if a user is not using his terminal for 5 minutes (for example), the machine automatically kills all of his processes...doesn't matter if he got some in background (I thougt in using kill -9 -1)... Can you guys send me a help?? like an example?? I need every kind of help for this...:)) Thanks in advance, Max. Maximilian Canez Fernandes Member of Team OS/2 Brasil - "Warp the Planet" *-------------------------------------+-------------------------------* | UNIVERSIDADE FEDERAL DE PELOTAS | Maximilian Fernandes (madmax) | | (@ufpel.tche.br) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | Centro de Informatica | Adenauer Yamin (adenauer) | | Assessoria Tecnica e Administrativa | Henrique Vianna (hvianna) | | Grupo de Gerencia de Redes | Roger Trarbach (roger) | | Fones: (0532) 75-7130 e 75-7132 | | *-------------------------------------+-------------------------------* "Some people cry and some people die by the wicked ways of love; but I'll just keep on rollin' along, with the grace of the lord above." Led Zeppelin II - Heartbreaker