Hello experts,
I am writing an application in Solaris, which is supposed to work on PrimePower 650 and SunFire 440 machines. The application listens to the events raised by the Hardware and OS in /dev/log. The application listens to the messages logged into /dev/log and do some processing on... (3 Replies)
I am using the Red Hat Enterprise Linux AS release 3 (Taroon), 2.4.21-4.EL. When I see the output of the command 'top'. I am getting the following
************************************************************************************
2 processes: 227 sleeping, 5 running, 0 zombie, 0 stopped... (3 Replies)
Hi everyone,
I have a problem on sco unixware 7.1.4
a Ghost process is consuming cpu usage.
rtpm
cpu 0 ======---------
cpu 1 ===---------------------
cpu 2 ============================================================-----------
cpu 3 ... (1 Reply)
hi,
i hav a script which processes 1000 files one by one in every run jus for searching their corresponding output files at a given path, due to this my script runs for long time and taking more CPU,
can we have any way in which we can have this check at least 100 files in a single shot... (5 Replies)
hi,
i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Hello,
I have to create shell script being myself real novice in scripting...
I was looking on the Internet for some script examples, but I don't have the basic understanding of the shell. I was trying to do something with “ps” command without success.
For exemple total number of... (2 Replies)
Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold
I use top on other... (5 Replies)
On Linux, top shows how much % of CPU is consumed by "user" as well as "sys" like below.
Tasks: 272 total, 3 running, 268 sleeping, 0 stopped, 1 zombie
Cpu(s): 65.9%us, 33.8%sy, 0.0%ni, 0.2%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 16300960k total, 16212488k used, 88472k free, ... (0 Replies)
ok, so I have a script im running on a linux box that uses "egrep" a lot. now, when i run this script, i check the TOP to see how much system resource it is using.
the "top" command gives the following output:
last pid: 25384; load avg: 1.06, 1.04, 0.76; up 351+06:30:24 ... (0 Replies)
Understanding top and swapinfo command HP-UX
Hi!I am new to HP-UX having used Linux for several years.When I want to check server performance,I use the top and swapinfo command.In Linux,the results of top were quite easy to understand as it would clearly state the amount of free and used... (0 Replies)
Discussion started by: joey41
0 Replies
LEARN ABOUT DEBIAN
trafgen
trafgen(8) netsniff-ng-toolkit trafgen(8)NAME
trafgen - a high-performance zero-copy network packet generator
SYNOPSIS
trafgen [-d|--dev <netdev>][-c|--conf <file>][-J|--jumbo-support] [-x|--interactive][-n|--num <uint>][-r|--rand][-t|--gap <usec>]
[-S|--ring-size <size>][-k|--kernel-pull <usec>][-b|--bind-cpu <cpu>] [-B|--unbind-cpu
<cpu>][-H|--prio-high][-Q|--notouch-irq][-v|--version] [-h|--help]
DESCRIPTION
A high-performance network traffic generator that uses the zero-copy TX_RING for network I/O. For instance, on comodity Gigabit hardware up
to 1,488,095 pps 64 Byte pps have been achieved with trafgen.
OPTIONS
trafgen --dev eth0 --conf trafgen.txf --bind-cpu 0
Use packet configuration trafgen.txf, eth0 as transmission device and CPU0 for binding the process.
OPTIONS
-h|--help
Print help text and lists all options.
-v|--version
Print version.
-d|--dev <netdev>
Device for transmission i.e., eth0.
-c|--conf <conf>
Path to packet configuration file.
-x|--interactive
Start trafgen in interactive mode.
-J|--jumbo-support
Support for 64KB Super Jumbo Frames
-n|--num <uint>
Number of packets to generate before exiting. 0 means forever until SIGINT.
-r|--rand
Randomize packet selection process instead of round-robin.
-t|--gap <uint>
Interpacket gap in microseconds.
-S|--ring-size <size>
Manually set ring size to <size>: mmap space in KB/MB/GB.
-k|--kernel-pull <uint>
Kernel pull from user interval in microseconds. Default value is 10 microseconds.
-b|--bind-cpu <cpu>
Bind to specific CPU (or CPU-range).
-B|--unbind-cpu <cpu>
Forbid to use specific CPU (or CPU-range).
-H|--prio-high
Make this high priority process.
-Q|--notouch-irq
Do not touch IRQ CPU affinity of NIC.
EXAMPLES
Generate traffic defined in trafgen.txf on eth0 using CPU 0
trafgen --dev eth0 --conf trafgen.txf --bind-cpu 0
Generate traffic on eth0 using CPU 0, wait 100 us between packets
trafgen --dev eth0 --conf trafgen.txf --bind-cpu 0 --gap 100
Generate 100,000 packet on eth0 using CPU 0
trafgen --dev eth0 --conf trafgen.txf --bind-cpu 0 --num 100000
AUTHOR
Written by Daniel Borkmann <daniel@netsniff-ng.org>
DOCUMENTATION
Documentation by Emmanuel Roullit <emmanuel@netsniff-ng.org>
BUGS
Please report bugs to <bugs@netsniff-ng.org>
2012-06-29 trafgen(8)