Hello
I installed mysql41 this is the end of the installation
but when I try to launch the mysqld daemon it write this:
note: LodelServoo is a CMS which need mysql
I verify that the dir mysql existed under /var/db, but it doesn't so naively I created it and launch again the mysqld... (4 Replies)
Hi,
I have a piece of C++ code that can be compiled using g++, but reports an error when compiled with xlC:
xlC -DHAVE_CONFIG_H -I../SRC -I../include -DNoChange -DSPRNG_MPI -q64 -DLONG64=long -I/usr/lpp/ppe.poe/include -DLONG64=long -c -o libsprng_a-bignum.o bignum.cpp
"bignum.cpp",... (1 Reply)
Hi All,
In C++ one operator can be overloaded, but it can't be overloaded by it's own derieved class
Please let me know operator.
Thanks,
Naga:cool: (1 Reply)
Hi,
I have an requirement to overload the delete operator in C++, but it should also accept the sizeof() the object that is to be deleted. Actually I am trying to built a custom memory allocator and deallocator like a pool, which makes me to overload the delete operator.
Small example of the... (1 Reply)
Hi,
I am experiencing frequent system hangs, hard kernel panics, etc almost thrice a day. The system would be totally unresponsive and the only way is to reboot is hard power recycling (plug out the power cable and plug in back after 30 secs). I enabled kdump, but unfortunately the kdump files... (3 Replies)
Hello everyone!
Suppose that I have something like this
A a;
a.mem=new int;
A b = a;
where
class A {
public:
int * mem;
A() : mem(NULL) {
}
~A() {
if (mem!=NULL)
delete mem; (1 Reply)
Hello,
I have recently installed MySql and I encourage an error.
I am using Fedora 15 and when I am trying to start mysqld service i am getting
the following error message:
Starting mysqld (via systemctl): Job failed. See system logs and 'systemctl status' for details. If I try to start it... (4 Replies)
I want to do something very very bad. I want to create a button that restarts mysqld. Why is irrelevant for my issue.
Here is my php script ...
<?php
if(isset($_POST)){
exec("sudo /etc/init.d/mysqld restart");
}
?>
<form method="POST">
<input type="submit" name="restart"... (3 Replies)
I am trying to start a server for a class I am in but... mysql won't start with this error ( ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) )
---------- Post updated at 03:51 PM ---------- Previous update was at 03:50 PM ----------
... (2 Replies)
hi,
I defined my own String class and overloaded the output operator with
friend ostream& operator<<(ostream& os, const myString& str);
//overloads the << operator so it can be used to output values of type myString
which works fine. Until I try to execute the following statement:
// +... (6 Replies)
Discussion started by: milhan
6 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)