LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Script to watch potentially misbehaving processes and kill them if needed

Posted 09-30-2016 at 11:09 AM by the dsc (linux-related notes)
Updated 10-02-2016 at 03:04 PM by the dsc (small improvements / bug fixes)
Tags cpu, hang, kill

A second adaptation of an adaptation of this script:
http://searchenterpriselinux.techtar...sses-with-Bash

The original adaptation was supposed to put any misbehaving process under cpulimit leashes, I'm not sure it's working properly. I've made a more radical implementation intended for programs that are more likely to misbehave and probably hang with high cpu, when killing them after a while seems to be a good idea.

I think...
Member
Posted in Uncategorized
Views 103 Comments 0 the dsc is offline
Old

Ugly script to sleep "accordingly" to CPU temperature, on loops

Posted 03-28-2014 at 09:40 PM by the dsc (linux-related notes)

Sometimes you have a script or one-liner loop thing that may put quite a heavy load on the CPU, that can be at least bothersome due to the noise of the fan, or somewhat worrisome if the temperature approaches or goes beyond what the processor specifications recommend, and yet the system doesn't do anything by itself to avoid it.

One could simply add some arbitrary, constant sleep time within the loop, but that will likely make the whole thing slower than it needs to be. If within...
Member
Posted in Uncategorized
Views 471 Comments 0 the dsc is offline
Old

Conky - Lightweight system monitor in openSUSE

Posted 05-11-2009 at 06:36 PM by rbkumaran

Conky is a free, light-weight system monitor for X, that displays any information on your desktop. Conky is licensed under the GPL and runs on Linux and BSD. Conky has more than 250 built in objects, including support for a plethora of OS stats (uname, uptime, CPU usage, mem usage, disk usage, “top” like process stats, and network monitoring, built in support for IMAP and POP3 and many popular music players (MPD, XMMS2, BMPx, Audacious). Read More
LQ Newbie
Posted in System, Utilities
Views 2142 Comments 0 rbkumaran is offline

  



All times are GMT -5. The time now is 04:54 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration