10 More Discussions You Might Find Interesting
1. AIX
Hello.
In an informix context, on AIX 5.3 TL 12, we encounter this problem :
Sometimes in the day (probably when users exits from their session), a child process lose its parent (PPID is now "1") and this child is consumming lot of CPU "USER".
I tried, on different cases, "truss -p... (4 Replies)
Discussion started by: stephnane
4 Replies
2. Shell Programming and Scripting
Hi guys,
I have to set up a script which monitors the amount of AVG CPU load per each process and also the total load for a sum of processes.
The processes have the same name, I can only differentiate by port number they listen to, as follows :
28171 root 20 0 1089m 21m 3608 S 103... (1 Reply)
Discussion started by: liviusbr
1 Replies
3. Shell Programming and Scripting
Hi,
could someone give me an example for a debian server script? I need to check a process if the process has a high cpu load (top).
If yes the whole server needs to reboot.
Thats it, nothing more. ;)
Hope someone could help me.
Regards
woisch (2 Replies)
Discussion started by: woisch
2 Replies
4. UNIX for Advanced & Expert Users
Hi ,
I am new to scripting. please help me out how to write a script to monitor cpu , vmstat, iostat in Redhat linux. we are doing the load test.
Thanks in advance !!!! (1 Reply)
Discussion started by: saanvi
1 Replies
5. Shell Programming and Scripting
Hi,
I am relatively new to the cluster administration and shell scripting. I need help on a shell script which can help me determine how many cpu's over time, any particular ( or all registered users on a cluster ) are using. To generate data say over a period of week and list of users and their... (6 Replies)
Discussion started by: anuj06
6 Replies
6. Shell Programming and Scripting
Dear Group,
I'm look for shell script to Monitor CPU usage and send mail once it exceed 75% I'm running Suse10.4. (3 Replies)
Discussion started by: clfever
3 Replies
7. Shell Programming and Scripting
Hello,
I'd like to set a cron job that runs a shell script every 30 minutes or so to restart a java based service if the memory gets above 80%. Any advice on how to do this?
Thanks in advance!
- Ryan (19 Replies)
Discussion started by: prometheon123
19 Replies
8. Shell Programming and Scripting
Hello Team,
I need help in preparing script to check for high cpu utilisation for java process.
I have many java process on my system which consumes high cpu so i have to monitor
it using script.
---------- Post updated 12-10-10 at 02:21 AM ---------- Previous update was 12-09-10 at... (1 Reply)
Discussion started by: coolguyamy
1 Replies
9. AIX
Hi ,
we upgarded our AIX from 5.3 to 6.1 and upgraded our xlc compiler from ver 6.0 to 9.0 .
After this upgrade one of our pro*C program is utilizing around 20% of the CPU. Before upgarde its using only 0.2 %.
when i try to debug using the truss command i got the below error.
$... (6 Replies)
Discussion started by: mugunthanvh
6 Replies
10. Programming
Hi all.
Sorry to express my questions wrongly in my early post,I repost my question again here.
My pc has dual core, I wirte an application with two process, parents process and child process.
My quetion is
how to realize :if the child process is on core 0,it will tell me I'm on core 0,if it... (1 Reply)
Discussion started by: yanglei_fage
1 Replies
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)