SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-18-2009, 06:27 AM
personalt's Avatar
personalt personalt is offline
Sage Advanced User
 
Join Date: Apr 2008
Posts: 243
Monitoring Sage Performance, Monitoring Logs and CPU Usage

I was having some crazy CPU issues with sage recently. So today I set up a second partition and started to reinstall Sage there.

No issues so far but it got me thinking. What do others use to monitor the sage logs and to monitor CPU usage. I am running sage on a headless system so I really want something that can scroll the logs on my desktop and keep a log of Sages CPU usage. Does not need to be the same program but would be nice.

Can anyone make a recommendation?
Reply With Quote
  #2  
Old 07-19-2009, 09:00 AM
Mark57's Avatar
Mark57 Mark57 is offline
Sage Advanced User
 
Join Date: Sep 2007
Location: OKC
Posts: 113
The best way I know of to watch active log files is the tail -f utility from the UNIX world. You can utilize this from inside Windows by adding the GNU Utilities for WIN32 from the http://unxutils.sourceforge.net/ site. All you need to do is extract the files to a directory and put the WBIN subdirectory in your path statement. Then from any command prompt type tail -f \\path\file.log or tail -f d:\path\file.log , etc.

If you're watching for a specific phrase to occur in the log then pipe the tail -f command into the grep command. Let's say you're watching for the word "error" in the c:\test\log.txt file. Just open a command prompt and type (without the quotes) "tail -f c:\test\log.txt | grep error

Enjoy.
__________________
Mark
____________________
Server: Scratch built server, 16GB RAM, Nvida GeForce 8600 GTS, 6 HD Homeruns, 32 TB Storage, Windoz 10 64 bit, Sage 64 bit 9.2.1, Sage HD-100 & 200 Extenders
Reply With Quote
  #3  
Old 07-21-2009, 07:33 PM
RocKKer RocKKer is offline
Sage Advanced User
 
Join Date: Dec 2005
Posts: 196
What OS is the server?

For linux you can look at bwm-ng (bandwidth monitor for disks, memory, network), top (standard memory, cpu, tasks, etc.), iftop (network traffic by ip). I use these real time, they may have some options for logging but I haven't really investigated. My sagetv server has a desktop and I just run them on it, but you could just as easily run them remotely using an ssh (putty) connection and watch them.

Another linux option that I have seen but never installed is munin, collects and displays graphs for days, weeks, years. It can live on the sagetv server or someplace else and just collect the performance data from sagetv server, access the graphs with your browser. It may not be wise to run it on the sagetv server if your already experiencing resource issues though.
__________________
SageTV Server v9.2.2, Ubuntu Server 18.04.4 x64, Java 1.8.0_252, Xeon E5-2690, 32GB, 6X6TB WD Red - Software Raid 6, 2X HDHR3 (OTA), 3X HD-200
Reply With Quote
  #4  
Old 07-22-2009, 03:22 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
brinesoft logviewer is a very decent app for this type of monitoring. You can point it to your sage folder, and it will continually check any logfiles in there and display them, as they are updated.

www.brinesoft.com
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
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
high CPU usage - poor performance tmschmal SageTV Software 16 12-12-2007 11:57 AM
Sage Performance ? Maxing CPU sluggish responce riekl SageTV Software 2 03-26-2007 11:38 AM
Utility for monitoring HDD health Jesse Hardware Support 4 02-13-2006 01:07 PM
Warning: Update your APC UPS monitoring software Opus4 General Discussion 1 08-03-2005 01:56 PM
Case temperature monitoring remotely? jlindborg Hardware Support 0 12-27-2004 10:14 AM


All times are GMT -6. The time now is 04:03 AM.


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