Lansweeper logo
Home Download Features Demo Buy now Help Support forum
 
    Most requested support articles:
  Lansweeper troubleshooting guide.
  The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
  WMI Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
  How to configure the windows firewall using group policies.
  Support:  
 support@lansweeper.com  
Skype: Lansweeper  
  Mo-Fri 9h-17h CET  
Welcome Guest Search | Active Topics | Log In | Register

Untag as favorite
Network Bandwidth Iperf/Jperf
quagmoto
#1 Posted : Thursday, October 08, 2009 5:07:35 PM

Rank: Premium user

Groups: Member, Premium Users
Posts: 26
Location: Calgary
Hi Guys,

A little background information, iperf is used for network bandwidth performance monitoring and we wanted to find a way to trigger a batch file to be run from a specific computer. This batch file connects the workstation to the server for a bandwidth test.

How do I get a batch file to run off the action sceen and ensure it runs from the workstation I want and not my own?

Regards,

QuA
BullGates
#2 Posted : Thursday, October 08, 2009 7:12:29 PM

Rank: Premium user

Groups: Member, Premium Users
Posts: 205
Location: PT
I use Netcps for that, if it fits your needs, I can post my custom action.
http://www.netchain.com/netcps/
jacobsenm
#3 Posted : Friday, October 09, 2009 1:12:47 PM

Rank: Premium user

Groups: Member, Premium Users
Posts: 51
Location: Holland
I am interested too.
Please post the custom action.

Regards
Perkins
#4 Posted : Friday, October 09, 2009 8:39:41 PM

Rank: Premium user

Groups: Premium Users
Posts: 19
Location: US
I am interested too.Applause
BullGates
#5 Posted : Tuesday, October 20, 2009 4:51:46 PM

Rank: Premium user

Groups: Member, Premium Users
Posts: 205
Location: PT
I'm sorry for the delay, but here goes a way to measure transfer speeds.
On a server run the server part (I run it on a rdp session, on the autorun of my user, on Server1):
Code:
NetCPS.exe -server


On the Lansweeper custom action add this:
Code:
\\server\share$\Lansweeper\psexec.exe \\{computer} -c \\server\share$\Lansweeper\netcps.exe Server1


you will need psexec as you can see... and the measurement will be on the "Server1" like this:
Code:
NetCPS 1.0 - Entering server mode. Press ^C to quit
Waiting for new connection...
Client connected from 10.xx.xx.xx
---> CPS   6660096.00  KPS:  6504.00  MPS: 6.35
Avrg CPS   7794365.50  KPS:  7611.69  MPS: 7.43
Peek CPS   8806400.00  KPS:  8600.00  MPS: 8.40
Client disconnected. 104857600 Kb transferred in 13.45 seconds.


Waiting for new connection...


I usually have predefined computers that I need to test, so I do it this way:

speedtest.bat:
Code:
FOR /F %%a in (speedtest.txt) Do \\server\share$\Lansweeper\psexec.exe \\%%a -c \\server\share$\Lansweeper\netcps.exe Server1


speedtest.txt:
Code:
hostname1
hostname2
hostnameX


When I run the batch file speedtest.bat I collect all the connection speeds I need.
quagmoto
#6 Posted : Friday, November 20, 2009 11:34:52 PM

Rank: Premium user

Groups: Member, Premium Users
Posts: 26
Location: Calgary
Works great! Thanks Bull, i editted it to work with Jperf!
isit
#7 Posted : Wednesday, March 28, 2012 6:50:24 PM
Rank: Freeware user

Groups: Member
Posts: 7
I am having a hard time trying to get Bull's program to work. Can somebody help me??? The program will run but the CMD screen will not stay up long enough for me to view the results. HELP!
isit
#8 Posted : Wednesday, March 28, 2012 10:10:25 PM
Rank: Freeware user

Groups: Member
Posts: 7
I finally got the program to stay put. However, the netcps.exe program is giving me the "not licensed for governent use" error. Can anyone help me bypass this or what changes need to be made for me to get this program to work? Thanks
Users browsing this topic
Guest
Untag as favorite
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Contact: E-mail Lansweeper - Skype : Lansweeper
Copyright 2004 - 2011 © Hemoco bvba