|
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.) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
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? |
#2
|
||||
|
||||
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 |
#3
|
|||
|
|||
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 |
#4
|
||||
|
||||
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 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |