Main > Free Download Search >

Free swapper software for linux

swapper

Sponsored Links
Sponsored Links
Sort by >> Relevance
rss
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2
Torrent Swapper 0.1

Torrent Swapper 0.1


Torrent Swapper is an open sourced sociable peer to peer file-sharing client based on the Bittorrent protocol. more>>
Torrent Swapper is an open sourced sociable peer to peer file-sharing client based on the Bittorrent protocol that is ideal for high-speed distribution of large files that has a basic understanding of human friendships, of user tastes in content, and of Internet connectivity between users.
Torrent Swapper project supports simultaneous downloads, download queue, selected downloads in torrent package, fast-resume, speed limits, port mapping, disk cache, proxy, ip-filter, etc.
Main features:
- Amazon-like recommendations to get interesting files
- Doubling the download speed by using the upload capacity of friends
- Real-time P2P file sharing with P2P video streaming
- Showing the locations of seeders / leechers of the same content with city-level accuracy on a world map
- Multiple downloads in a single window
- Queueing system with priority
- Supporing pause, stop, resume, queue, remove operations
- Supporting global setting such as upload and download limiting
- Supporting local setting for each torrent as well
- And much more...
<<less
Download (0.62MB)
Added: 2006-08-11 License: MIT/X Consortium License Price:
254770 downloads
Proc::Forking 1.38

Proc::Forking 1.38


Proc::Forking is a Perl module that provides a set of tool to fork and daemonize. more>>
Proc::Forking is a Perl module that provides a set of tool to fork and daemonize.

SYNOPSIS

#!/usr/bin/perl

use strict;
use Proc::Forking;
use Data::Dumper;
use Time::HiRes qw(usleep); # to allow micro sleep

my $f = Proc::Forking->new();
$SIG{ KILL } = $SIG{ TERM } = $SIG{ INT } = sub { $f->killall_childs;sleep 1; exit },
$f->daemonize(
## uid => 1000,
## gid => 1000,
## home => "/tmp",
pid_file => "/tmp/master.pid"
);

open( STDOUT, ">>/tmp/master.log" );
my $nbr = 0;
my $timemout;

while ( 1 )
{
if ( $nbr < 20 )
{
my $extra = "other parameter";
my ( $status, $pid, $error ) = $f->fork_child(
function => &func,
name => "new_name.##",
args => [ "hello SOMEONE", 3, $extra ],
pid_file => "/tmp/fork.##.pid",
uid => 1000,
gid => 1000,
home => "/tmp",
max_load => 5,
max_mem => 185000000,
expiration => 10,
# expiration_auto => 1,
);
if ( $status == 4 ) # if the load become to high
{
print "Max load reached, do a little napn";
usleep( 100000 );
next;
}
elsif ( $status ) # if another kind of error

{
print "PID=$pidt error=$errorn";
print Dumper( $f->list_names() );
print Dumper( $f->list_pids() );
}
}
$nbr = $f->pid_nbr;
my ( $n, @dp, @dn ) = $f->expirate;
if ( $n )
{
print Dumper( @dp );
}
print "free=n";
usleep( 100000 ); # always a good idea to put a small sleep to allow task swapper to gain some free resources
}

sub func
{
my $ref = shift;
my @args = @$ref;
my ( $data, $time_out, $sockC ) = @args;
$SIG{ USR1 } = sub { open my $log, ">>/tmp/log.s"; print $log "signal USR1 receivedn"; close $log; };
if ( !$time_out )
{
$time_out = 3;
}
open my $FF, ">>/tmp/loglist";
print $FF $$, " start time =", $^T;
close $FF;

for ( 1 .. 4 )
{
open my $fh, ">>/tmp/log";
if ( defined $fh )
{
print $fh "TMOUT = $time_out " . time . " PID=$$ cwd=" . Cwd::cwd() . " name =$0n";
$fh->close;
}
sleep $time_out + rand( 5 );
}
}

<<less
Download (0.011MB)
Added: 2007-03-06 License: Perl Artistic License Price:
962 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 1
  • 1