Re: [Perl-unix-users] perl script to manage video stream and network traffic

2010-01-05 Thread Dan Jablonsky
stream and network > traffic > To: "Dan Jablonsky" > Cc: perl-unix-users@listserv.ActiveState.com > Received: Sunday, January 3, 2010, 1:40 PM > Dan Jablonsky wrote: > > hi all, > > I have the following situation that I need to manage: > > one network th

[Perl-unix-users] perl script to manage video stream and network traffic

2010-01-03 Thread Dan Jablonsky
function that would close the downloads when the streaming box is open and bring them up again when the streaming stops? I am not sure where should I start, please give me some general pointers and I'll do the work. If you need more info, just let me know. Thanks, Dan Jabl

[Perl-unix-users] process control with ps -eo

2001-08-27 Thread Dan Jablonsky
Hi all, i needed some mechanism to stop any process that takes too long to complete. Basically I would see such a "hung" process when issuing the ps -hx command. The trouble with this command is that it truncates the name of the application running associated with some pid. The idea was to run a p

[Perl-unix-users] screensaver sources

2001-07-26 Thread Dan Jablonsky
hi all, i know my question is out of scope here, still, if anybody has 2 minutes, just a hint please: the screensavers that come with any distribution of Linux, are they open source? Where can I find their source? Thanks a lot, Dan __ Do You Yahoo!?

[Perl-unix-users] regex performance

2001-06-13 Thread Dan Jablonsky
Hi all, I remember reading (probably in the Camel book) that the more $1, $2 and so on you have in a regex the slower the regex will be executed. It seems any backreference is taxing performance considerably. Is there an alternative? What I am trying to do is isolate some patterns with each line

[Perl-unix-users] removing files of a given size from a given location

2001-06-11 Thread Dan Jablonsky
Hi all, I'm trying to come up with a simple perl script that would open a directory and would delete all files under a certain size. I played a while with ls and stat but I'm not going anywhere. I can't tell where the output of the stat command is going since I have all I need in that output. It w

[Perl-unix-users] shell question

2001-03-14 Thread Dan Jablonsky
Hi all, I need to run 20 distinct perl programs in 20 distinct shells. The programs write to some files but also print to the standard output so I'd like to have 20 terminals open simultaneously to check various messages printed by the programs. One obvious solution is to open 20 different termina

[Perl-unix-users] kill a process

2001-03-14 Thread Dan Jablonsky
Hi all, I need to kill a dozen perl programs running simultaneously. I would like to kill them every morning after 6 am but I don't know how to reference the 12 programs. Usually I use kill PID, but in this case I don't know the PID. If I do a ps -al I can see that all perl programs have CMD perl.