Sponsored Content
Special Forums IP Networking Command to ping 1500 bytes of data to a destination system Post 302371694 by matrixmadhan on Monday 16th of November 2009 05:04:14 AM
Old 11-16-2009
ping

Code:
-s packetsize
             Specify the number of data bytes to be sent.  The default is 56, which translates into 64 ICMP
             data bytes when combined with the 8 bytes of ICMP header data.

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Ping problem. system down!!

I wrote a script to test many systems to see if they are up or not. if a system is down, i am notified by email now, most of the time,when systems are down in my enviroment, it is because the user accidentally or purposely (not knowing the consequences) hit the power button. so these problems... (3 Replies)
Discussion started by: TRUEST
3 Replies

2. Shell Programming and Scripting

Remove first N bytes and last N bytes from a binary file on AIX.

Hi all, Does anybody know or guide me on how to remove the first N bytes and the last N bytes from a binary file? Is there any AWK or SED or any command that I can use to achieve this? Your help is greatly appreciated!! Best Regards, Naveen. (1 Reply)
Discussion started by: naveendronavall
1 Replies

3. Filesystems, Disks and Memory

what did dd command do to destination drive

I am almost a beginner. And a total idiot. so i have done a dd if=/somefile.img of=/dev/sdc1 sdc1 was a USB disk drive with many many files on it i did not want to lose. What it did was remove the dev/scd1 USB drive and my mounting of /media/movie and then change it to /media/somefile... (2 Replies)
Discussion started by: darbid
2 Replies

4. UNIX Desktop Questions & Answers

ssh command doesnot excute commands in the destination server

Hi All, I have the below code where Iam connecting from xzur111pap server to xzur0211pap server thru ssh to execute some commands. ssh xzur0211pap spaceleft=`df -k /home |tail -1 | awk '{print $5}'` spaceleft=${spaceleft%\%} if ]; then echo "ALERT : HUFS(/home $spaceleft)" exit 0... (3 Replies)
Discussion started by: gaddamja
3 Replies

5. Programming

Copying 1024 bytes data in 3-bytes chunk

Hi, If I want to copy a 1024 byte data stream in to the target location in 3-bytes chunk, I guess I can use the following script. dd bs=1024 count=3 if=/src of=/dest But, I would like to know, how to do it via a C program. I have tried this with memcpy(), that did not help. (3 Replies)
Discussion started by: royalibrahim
3 Replies

6. Shell Programming and Scripting

Help with cp command when destination file is opened

I am writing a shell script (runs on HP Unix) which copies files from a source directory to another destination daily. The destination directory always have the files with same name as in the source directory. And daily a new file will be created in the source. cp command works fine if the file... (1 Reply)
Discussion started by: arunkumar_ms
1 Replies

7. UNIX for Dummies Questions & Answers

X bytes of 0, Y bytes of random data, Z bytes of 5, T bytes of 1. ??

Hello guys. I really hope someone will help me with this one.. So, I have to write this script who: - creates a file home/student/vmdisk of 10 mb - formats that file to ext3 - mounts that partition to /mnt/partition - creates a file /mnt/partition/data. In this file, there will... (1 Reply)
Discussion started by: razolo13
1 Replies

8. Shell Programming and Scripting

Shell script - entered input(1-40 bytes) needs to be converted exactly 40 bytes

hello, suppose, entered input is of 1-40 bytes, i need it to be converted to 40 bytes exactly. example: if i have entered my name anywhere between 1-40 i want it to be stored with 40 bytes exactly. enter your name: donald duck (this is of 11 bytes) expected is as below - display 11... (3 Replies)
Discussion started by: shravan.300
3 Replies

9. Shell Programming and Scripting

Command / Script to create touch file in destination server

Hello Team, Is there any Linux command / script available so that, I could create a simple 0 byte file in destination server by issuing the command from source server. If yes, Could you please let me know the possible solutions. in other words I just want to create a touch file in my home... (1 Reply)
Discussion started by: madhuraju
1 Replies

10. Shell Programming and Scripting

Check if remote destination is available before running scp command

I have a script on a Linux box which scp the files to windows server without any issues. but there are time frames where the windows server will not be available due to maintenance. hence I need to check if the remote location is available before running the scp command. scp... (3 Replies)
Discussion started by: gpk_newbie
3 Replies
Smokeping_probes_FPing(3)					     SmokePing						 Smokeping_probes_FPing(3)

NAME
Smokeping::probes::FPing - FPing Probe for SmokePing SYNOPSIS
*** Probes *** +FPing binary = /usr/bin/fping # mandatory blazemode = true hostinterval = 1.5 mininterval = 0.001 offset = 50% packetsize = 5000 pings = 20 sourceaddress = 192.168.0.1 step = 300 timeout = 1.5 tos = 0x20 # [...] *** Targets *** probe = FPing # if this should be the default probe # [...] + mytarget # probe = FPing # if the default probe is something else host = my.host DESCRIPTION
Integrates FPing as a probe into smokeping. The variable binary must point to your copy of the FPing program. If it is not installed on your system yet, you can get a slightly enhanced version from "pub" in www.smokeping.org. The (optional) packetsize option lets you configure the packetsize for the pings sent. In blazemode, FPing sends one more ping than requested, and discards the first RTT value returned as it's likely to be an outlier. The FPing manpage has the following to say on this topic: Number of bytes of ping data to send. The minimum size (normally 12) allows room for the data that fping needs to do its work (sequence number, timestamp). The reported received data size includes the IP header (normally 20 bytes) and ICMP header (8 bytes), so the minimum total size is 40 bytes. Default is 56, as in ping. Maximum is the theoretical maximum IP datagram size (64K), though most systems limit this to a smaller, system-dependent number. VARIABLES
Supported probe-specific variables: binary The location of your fping binary. Example value: /usr/bin/fping This setting is mandatory. blazemode Send an extra ping and then discarge the first answer since the first is bound to be an outliner. Example value: true hostinterval The fping "-p" parameter, but in (possibly fractional) seconds rather than milliseconds, for consistency with other Smokeping probes. From fping(1): This parameter sets the time that fping waits between successive packets to an individual target. Example value: 1.5 mininterval The fping "-i" parameter, but in (probably fractional) seconds rather than milliseconds, for consistency with other Smokeping probes. From fping(1): The minimum amount of time between sending a ping packet to any target. Example value: 0.001 Default value: 0.01 offset If you run many probes concurrently you may want to prevent them from hitting your network all at the same time. Using the probe- specific offset parameter you can change the point in time when each probe will be run. Offset is specified in % of total interval, or alternatively as 'random', and the offset from the 'General' section is used if nothing is specified here. Note that this does NOT influence the rrds itself, it is just a matter of when data acqusition is initiated. (This variable is only applicable if the variable 'concurrentprobes' is set in the 'General' section.) Example value: 50% packetsize The ping packet size (in the range of 12-64000 bytes). Example value: 5000 pings How many pings should be sent to each target, if different from the global value specified in the Database section. Note that the number of pings in the RRD files is fixed when they are originally generated, and if you change this parameter afterwards, you'll have to delete the old RRD files or somehow convert them. Example value: 20 sourceaddress The fping "-S" parameter . From fping(1): Set source address. Example value: 192.168.0.1 step Duration of the base interval that this probe should use, if different from the one specified in the 'Database' section. Note that the step in the RRD files is fixed when they are originally generated, and if you change the step parameter afterwards, you'll have to delete the old RRD files or somehow convert them. (This variable is only applicable if the variable 'concurrentprobes' is set in the 'General' section.) Example value: 300 timeout The fping "-t" parameter, but in (possibly fractional) seconds rather than milliseconds, for consistency with other Smokeping probes. Note that as Smokeping uses the fping 'counting' mode (-C), this apparently only affects the last ping. Example value: 1.5 tos Set the type of service (TOS) of outgoing ICMP packets. You need at laeast fping-2.4b2_to3-ipv6 for this to work. Find a copy on www.smokeping.org/pub. Example value: 0x20 AUTHORS
Tobias Oetiker <tobi@oetiker.ch> 2.6.8 2013-03-17 Smokeping_probes_FPing(3)
All times are GMT -4. The time now is 08:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy