Net::FTP How to get Transfer Rate?

2002-12-09 Thread sharan
Hello,

How to get the total time took to transfer a file? i.e transfer rate.  I am
using Net::FTP to do ftp.  I could not find any method, which let me get the
transfer rate.

Can anyone help me in this regard?

Thanks
Sharan Hiremath.







How to find module dependencies

2002-04-23 Thread sharan

Hello,

How to find the module dependencies? I have used many modules in  my tool
development, and i given all the modules used with my tool package. But when
the tool is installed on Windows at the customer places they are getting
problems as some of the module use some depenedent modules. Is there any way
to find out what are all the modules that are dependent.

Thanks and Regards
Sharan Hiremath





Problem with System provided utilities

2002-04-26 Thread sharan

Hello,

I have 2 problems with system utility.

1. If a process is started by system, then, when a process is killed, child
process still remains.
2. When output of the process is redirected to a file, file does not get
updated util process dies.

This problem is there on Linux and windows as well.

Can any body help me please?

Ex:-
1. when (perl a.pl - see a.pl below) is killed, tcpdump process, started by
a.pl still remains.
2. until (perl b.pl and tcpdump - see b.pl below) is killed, output file is
not updated.


a.pl
-
#!/usr/bin/perl

system("tcpdump -i");

# ends;

b.pl
-
#! /usr/bin/perl
system("tcpdump -i > output");

#ends;