SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-09-2009, 10:36 PM
joe123 joe123 is offline
Sage Fanatic
 
Join Date: Jan 2006
Posts: 954
Thumbs up Script/Program to STOP/RESUME Process

Hi.

Does anyone have a script that will stop & resume a process when CPU load goes over a certain %?

I can do this very easily in Linux, but Windows is not my strenght.

What I like to do, is to stop the transcoder.exe process from transcoding if the CPU goes over a certain percent - like 80 for example.

Changing the priority does very little and when we are watching two converted recordings while 2 Sage recordings and 1 transcoding are all running at the same time, I get lots of stop/go when watching.

If I stop the transcoding (mpg -> avi ), the CPU's are back to normal and I can watch without delays. It would be nice to automate this.
Reply With Quote
  #2  
Old 03-10-2009, 05:23 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Take a look at Process Lasso.

Process Lasso

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #3  
Old 03-10-2009, 03:14 PM
joe123 joe123 is offline
Sage Fanatic
 
Join Date: Jan 2006
Posts: 954
Cool thank you.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OMG. Stop Recording. Not kidding. Stop NOW! joesh SageTV Software 5 02-20-2007 08:32 PM
stop playback of recording in progress opens program guide Gaurav SageTV Software 2 07-27-2006 09:49 PM
How do I start and stop sage via a DOS script? perfessor101 SageTV Software 10 01-03-2005 10:39 AM
How to stop recording a scheduled program in process maxpower2078 SageTV Software 1 10-25-2004 01:44 PM
Sage Client - whats proper way to stop watching a program currently being recorded? Jeraden SageTV Software 14 07-03-2004 02:28 AM


All times are GMT -6. The time now is 03:07 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.