<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Boyan Tabakov wrote:
<blockquote cite="mid200612231145.15293.blade.alslayer@gmail.com"
type="cite">
<pre wrap="">On 22.12.2006 13:48, Dale wrote:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">on a more serious note: if you have access through ssh from another
computer you could "sneak" in and check with top or ps what's going on.
Or just use a blank screen for a a scre ensaver.
Or... make a little script that grep's for you screensaver in the process
list:
#! /bin/bash
while test 1 = 1; do
date +%Y%m%d-%T >> ps.log
ps -A | grep -i [name of your screensaver] >> ps.log
sleep 10
done
(I'm not sure if the script would be working out-of-the-box, most likely
you will have to finetune it).
</pre>
</blockquote>
<pre wrap="">I don't have a way to ssh in right now but that is a good idea though.
I may just do a blank screen saver, for now. Maybe when I get one of my
other three rigs up and running, I can try the ssh idea. I network them
all through here anyway. Just sort of reverse the idea.
Me no good with bash, unless it is a crawling bug. LOL
</pre>
</blockquote>
<pre wrap=""><!---->
What Andreas proposed to do with bash does not require you to use ssh. As far
as bash scripting is concerned, you can jus copy-paste the script he wrote
into a new file, save it and change its permissions as following:
$ chmod a+x <name of script>
Then run it and leave it running long enough for the screensaver to kick in
and the monitor to switch off. (Modify the timeouts so that you don't wait
too long). After that exit the screensaver, kill the logger with:
$ killall <name of script>
and read the log it has printed in the file ps.log in the directory where you
started the script.
</pre>
<pre wrap="">
<hr size="4" width="90%">
___________________________________________________
This message is from the kde-linux mailing list.
Account management: <a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/kde-linux">https://mail.kde.org/mailman/listinfo/kde-linux</a>.
Archives: <a class="moz-txt-link-freetext" href="http://lists.kde.org/">http://lists.kde.org/</a>.
More info: <a class="moz-txt-link-freetext" href="http://www.kde.org/faq.html">http://www.kde.org/faq.html</a>.</pre>
</blockquote>
<br>
Well, I just changed it to a blank screen for now. I took what he said
as he had not tested the script and it may not work and need some
"improvements". That I can't do with my limited knowledge of bash, yet
anyway.<br>
<br>
I may try it sometime but it's a bit busy around here right now.<br>
<br>
Thanks for the info though. Still curious about this.<br>
<br>
Dale<br>
<br>
:-) :-) :-) :-)<br>
</body>
</html>