Right. Looking at it again with the feedback from the terminal I got + the many other clues and well, got things fixed and your scripts works great! A slight change in your doc that would have helped me: from:
Copy the following section (lines 46 - 51) to file "killstale.scr" to: Copy the following section (lines 46 - 51) to file "killstale2.scr" And even adding, 'put killstale2 in /root/' would have helped as well. Thanks for this script. David On Wed, Dec 2, 2009 at 8:41 AM, David Groos <[email protected]> wrote: > Hi Andy, > I'm really finding a need to kill stale processes and so made a file on the > server, copied lines 3-42 as directed on > http://cathedralsoul.us/files/killstale.txt, made it executable, ran it. > Here's what I got: > dgr...@gcos2:~/Desktop$ sudo '/home/dgroos/Desktop/killstale.scr' > /home/dgroos/Desktop/killstale.scr: 40: /root/killstale2.scr: not found > /home/dgroos/Desktop/killstale.scr: 42: Syntax error: "(" unexpected > dgr...@gcos2:~/Desktop$ > I'd appreciate any advice on using your script. > Thanks! > David > > > On Sat, Aug 29, 2009 at 12:36 PM, Andy Figueroa > <[email protected]>wrote: > >> Thanks - Asmo. >> >> One of the threads I was thinking of was included the one I started on 21 >> Apr 2009 at: >> http://www.mail-archive.com/[email protected]/msg05248.html >> >> The script (two actually) that I currently used has been improved somewhat >> and can be found at: http://cathedralsoul.us/files/killstale.txt >> and is reasonably well commented. >> >> Andy >> >> Asmo Koskinen wrote: >> > Andy Figueroa kirjoitti: >> > >> >> There was a discussion here a couple of months ago about the various >> >> programs/scripts different system admins run to kill off stale >> >> processes. >> > >> > It's here. >> > >> > http://marc.info/?l=ltsp-discuss&m=125066771219642&w=2 >> > >> > https://help.ubuntu.com/community/UbuntuLTSP/GnomeWatchdog >> > >> > Best Regards Asmo Koskinen. >> > >> > >> >> >> -- >> edubuntu-users mailing list >> [email protected] >> Modify settings or unsubscribe at: >> https://lists.ubuntu.com/mailman/listinfo/edubuntu-users >> > >
-- edubuntu-users mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
