You can obtain a brief description of the program options through the help option '-h' $ cd src $ ./peersharvester -h PeersHarvester v0.1 Usage: peersharvester -[dhn] [-p percent] [-t threshold] [-c count] [-m logtype] -l logfilename torrentfilename -h Show this help message -d Disable descriptions in logfile -n Non compact mode -p percent Peersharvester continues to query trackers until the peers data retrieved reach the percent of total swarm.[Default 50] -t threshold Peersharvester continues to query trackers until the number of new peers obtained with \"count\" consecutive query is below threshold value.[Default disabled] -c count Set the number of the consecutive query for the -t option. When -t option is enabled, this value is 10 as default -l logfilename Log data obtained in logfilename in CSV Format. -m logtype logtype can be a string of values in this set: full, tracker,request,ip. This field is set by default to full full = this is the same of \"tracker,request,ip\" tracker = log in logfilename informations about trackers founded in the torrent file request = log in logfilename informations about the requests of announce for tracker ip = log in logfilename the addresses and port number of the peers retrieved torrentfilename Torrent file to analyze. EXAMPLES $ ./peersharvester -p 100 -m full -l outfile.csv file.torrent the file outfile.csv, in CSV (Comma Separated Value) format, contains all the information retrieved, in particular it shows details about the trackers, the requests sent to the trackers and the peers. Here it is an example "TRACKER","ADDRESS","PROTOCOL","PORT","ANNOUNCE","SEEDERS #","LEECHERS #","SWARM #", "SCRAPE","HTTPCODE","STATE","ANNOUNCE OK","SCRAPE OK","ANNOUNCE SL","SCRAPE SL","FAILURE" "Unknown", "inferno.demonoid.com", "HTTP", 3405, "/announce", 8, 145, 153, "Supported", 200, "UP", "YES", "YES", "YES", "YES","(null)" "TRACKER","REQUEST #","PEERS #","TOTAL #","SECONDS" "inferno.demonoid.com:3405",1,50,50,"0.2528" "inferno.demonoid.com:3405",2,32,82,"0.2592" "inferno.demonoid.com:3405",3,20,102,"0.2247" "inferno.demonoid.com:3405",4,20,122,"0.2252" "inferno.demonoid.com:3405",5,8,130,"0.2519" "inferno.demonoid.com:3405",6,7,137,"0.2511" "inferno.demonoid.com:3405",7,7,144,"0.2186" "inferno.demonoid.com:3405",8,6,150,"0.2183" "inferno.demonoid.com:3405",9,1,151,"0.2196" "inferno.demonoid.com:3405",10,2,153,"0.2135" "PEER IP ADDRESS","PORT #","TRACKERS" "218.236.93.66",15131,"http://inferno.demonoid.com:3405" "86.153.100.47",16661,"http://inferno.demonoid.com:3405" "61.17.183.130",6881,"http://inferno.demonoid.com:3405" "86.107.93.130",43366,"http://inferno.demonoid.com:3405" "219.164.24.128",33333,"http://inferno.demonoid.com:3405" "212.182.170.12",6881,"http://inferno.demonoid.com:3405" "213.46.205.159",49152,"http://inferno.demonoid.com:3405" "125.139.233.146",10556,"http://inferno.demonoid.com:3405" "124.43.226.138",26242,"http://inferno.demonoid.com:3405" If you don't want the information about the tracker and the request you can use the option '-m ip'. $ ./peersharvester -d -p 100 -m ip -l outfile.csv file.torrent '-d' option removes the column description before the data. So the outfile.csv will contain just the peers data "218.236.93.66",15131,"http://inferno.demonoid.com:3405" "86.153.100.47",16661,"http://inferno.demonoid.com:3405" "61.17.183.130",6881,"http://inferno.demonoid.com:3405" "86.107.93.130",43366,"http://inferno.demonoid.com:3405" "219.164.24.128",33333,"http://inferno.demonoid.com:3405" "212.182.170.12",6881,"http://inferno.demonoid.com:3405" "213.46.205.159",49152,"http://inferno.demonoid.com:3405" "125.139.233.146",10556,"http://inferno.demonoid.com:3405" "124.43.226.138",26242,"http://inferno.demonoid.com:3405"