Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Driver or VDR Problem setting and jusageing cutmarks on Nexus 2.1



On Sat, Jun 05, 2004 at 04:57:51PM +0200, Juergen Sauer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Am Samstag, 5. Juni 2004 14:38 schrieb Dr. Werner Fink:
> > > Which kernel (including patches) and which glibc version
> > > (including patches) are you running?
> System is Debian/unstable 
> 
> Kernel 2.6.6-rc2 - Glibc 2.3.2
> 
> > Btw: Please try out moving the cutmarks ...
> > You may watch the single threads by using
> > 
> >          pid=`pidof vdr`
> >          watch -n 2 ps um --pid $pid
> > 
> > ... let's see.
> See This dump in the attachment. I do an attachment, due it's
> conaining terminal-control chars. (howto convince watch not to 
> insert terminal codes ?. setting TERM to "dump" or "tty" does 
> not work).

You may skip the `watch -n 2' to see a one shot.  The watch
command overwrites the same screen with the next shot every
2 seconds.  If you record this in one file you may have a
look with the `cat' command or `more -fr' ... only the time
between two screens are very short.  Nevertheless the first screen
of your attachment looks like:

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root     19349  0.5  0.7 56828 12356 ?       -    16:43   0:01 /usr/bin/vdr -v /video/vdr -c /etc/plugins -w 60 -s /usr/bin/shutdownvdr -r /usr/bin/recordingaction
root         -  0.5    -     -    - -        S    16:43   0:01 -
root         -  0.0    -     -    - -        S    16:43   0:00 -
root         -  1.7    -     -    - -        S    16:43   0:04 -
root         -  0.8    -     -    - -        S    16:43   0:00 -
root         -  0.2    -     -    - -        S    16:47   0:00 -
root         -  0.0    -     -    - -        S    16:48   0:00 -
root         -  0.0    -     -    - -        S    16:48   0:00 -


which is fully correct.  You see here the main program VDR with
the pid 19349 and the associated threads of the that pid.
Nevertheless: the signal handling has to be checked, mainly for
SIGALRM to be sure that the singal will be delivered to the main
program and not one of the threads.  In other words, does moving
a cutmark work with my signal patch?

           Werner


-- 
AC3 loop through sound card http://bitstreamout.sourceforge.net/
Howto http://www.vdr-portal.de/board/thread.php?threadid=1958
------------------------------------------------------------------
 "Having a smoking section in a restaurant is like having
         a  peeing section in a swimming pool." -- Edward Burr




Home | Main Index | Thread Index