Sponsored Content
Full Discussion: Script to monitor network
Top Forums Shell Programming and Scripting Script to monitor network Post 302900330 by rbatte1 on Tuesday 6th of May 2014 09:19:16 AM
Old 05-06-2014
So do you mean that you want you output file to have a date in it, e.g. for today you want the file to be out_2014_05_06.txt so you can then (at the end of each month) collect up all of out_2014_05-*.txt and create an out_2014_05.tar.gz ?

Is that it? Forgetting the ping/pong bit and this is all about log file management. Is that correct?

If so:-
  • What have you tried so far?
  • What errors/output/problems are you getting?
  • What OS and version are you using?
  • What tools are you most comfortable with?
Most importantly, what have you tried so far?

Going back to the ping/pong one line of code, how would you expect this to end? on unix, the ping usually continues until interrupted, not like on DOS/Windoze.

You will need to check that manual pages for ping to check the flags to set a limit. It may be -n, -c or something else on your OS. You may have heard that unix is all the same, but at out level, they're all different.




Regards,
Robin
 

6 More Discussions You Might Find Interesting

1. Programming

Help in developing a Network Appliation to monitor pc in a network

I am developing a Network Appliation to monitor computers in a network. Specs are App monitors the current web page viewed in each system App also can shutdown the computer in the network App can show all process run by each computer in the network I am now confused how to start my... (2 Replies)
Discussion started by: valaparambil88
2 Replies

2. UNIX for Advanced & Expert Users

Monitor % utilization of the network card

Hello, How to we typically monitor the % of utilization of network cards on a Unix box,basically the % utilization of the bytes transfered of the network card. This is required on all the flavours of OS - HP, AIX, RHEL, Sun etc. Please let me know. Thanks. (1 Reply)
Discussion started by: devtakh
1 Replies

3. Red Hat

How to monitor network device traffic using MRTG?

How to monitor network device traffic using MRTG? How can I add network devices in MRTG configuration to monitor? (2 Replies)
Discussion started by: manalisharmabe
2 Replies

4. Windows & DOS: Issues & Discussions

Network monitor script

Hi, Although I'm not at my nature habitat, I need some assistance in having a basic windows script to monitor TCP connections from a host to other hosts. script heed to display the following: 1. ping a remote host/hosts every 1 second (or other adjustable timer) 2. Display a fail/success. 3.... (2 Replies)
Discussion started by: assafde
2 Replies

5. Shell Programming and Scripting

Monitor some of network services

Hi I want to write a script for netflow service because my service doesnt send any packet to netflow walker (server). Although the service is started but it does not send any packet to server until i restart the service I want to write a script in order to restart the service... (7 Replies)
Discussion started by: mohsen1366
7 Replies

6. IP Networking

I would like to monitor network traffic for a computer on my network

My son does homework on a school laptop. I was thinking about setting up a gateway on my home network, so that I can monitor web traffic and know if he is doing his homework without standing over his shoulder. Ideally I would like to use the Raspberry Pi Model b that I already have. However, I... (15 Replies)
Discussion started by: gandolf989
15 Replies
dlasq6.f(3)							      LAPACK							       dlasq6.f(3)

NAME
dlasq6.f - SYNOPSIS
Functions/Subroutines subroutine dlasq6 (I0, N0, Z, PP, DMIN, DMIN1, DMIN2, DN, DNM1, DNM2) DLASQ6 computes one dqd transform in ping-pong form. Used by sbdsqr and sstegr. Function/Subroutine Documentation subroutine dlasq6 (integerI0, integerN0, double precision, dimension( * )Z, integerPP, double precisionDMIN, double precisionDMIN1, double precisionDMIN2, double precisionDN, double precisionDNM1, double precisionDNM2) DLASQ6 computes one dqd transform in ping-pong form. Used by sbdsqr and sstegr. Purpose: DLASQ6 computes one dqd (shift equal to zero) transform in ping-pong form, with protection against underflow and overflow. Parameters: I0 I0 is INTEGER First index. N0 N0 is INTEGER Last index. Z Z is DOUBLE PRECISION array, dimension ( 4*N ) Z holds the qd array. EMIN is stored in Z(4*N0) to avoid an extra argument. PP PP is INTEGER PP=0 for ping, PP=1 for pong. DMIN DMIN is DOUBLE PRECISION Minimum value of d. DMIN1 DMIN1 is DOUBLE PRECISION Minimum value of d, excluding D( N0 ). DMIN2 DMIN2 is DOUBLE PRECISION Minimum value of d, excluding D( N0 ) and D( N0-1 ). DN DN is DOUBLE PRECISION d(N0), the last value of d. DNM1 DNM1 is DOUBLE PRECISION d(N0-1). DNM2 DNM2 is DOUBLE PRECISION d(N0-2). Author: Univ. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd. Date: September 2012 Definition at line 119 of file dlasq6.f. Author Generated automatically by Doxygen for LAPACK from the source code. Version 3.4.2 Tue Sep 25 2012 dlasq6.f(3)
All times are GMT -4. The time now is 05:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy