01-06-2013
It would be better to find the root cause to the problem and fix it, instead of reboot the whole server. If needed, restart only the process.
10 More Discussions You Might Find Interesting
1. AIX
after a long period of running, the network application's CPU load in our syst em increase slowly, the failed at the end. we use "truss" tool to trace the process, found that it processes something like "semop" ,"semctl","thread_waitlock","kread" kernel call . The trace log file looks like the... (0 Replies)
Discussion started by: Frank2004
0 Replies
2. Red Hat
Hi Buddies,
Thanx for reading my first post...
After googling a lot and searching so many forums I am feeling down a bit...
Please don't mind my ignorence, and my grammer ... :)
My server is running RHEL 2.6.9-5.EL. The cpu load is going higher than roof, almost 100 sometimes.
I am... (2 Replies)
Discussion started by: squid04
2 Replies
3. 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
4. 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
5. Red Hat
i have a Intel Quad Core Xeon X3440 (4 x 2.53GHz, 8MB Cache, Hyper Threaded) with 16gig and 1tb harddrive with a 1gb port and my apache is causing my cpu to go up to 100% on all four cores heres my http.config
<IfModule prefork.c>
StartServers 10
MinSpareServers 10
MaxSpareServers 15... (4 Replies)
Discussion started by: awww
4 Replies
6. Shell Programming and Scripting
Hi,
Linux redhat 5.5
I need to write a kshell script that shows all the process that consume 100% CPU (or more. strange but there are time that top shows higger value that 100) and they are active more than 5 minute.
The top command shows all the relevat information:
The PID of the cpu ,... (0 Replies)
Discussion started by: yoavbe
0 Replies
7. 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
8. Red Hat
Got two RHEL servers - one real and one virtual/cloud.
Both run apache web server.
When traffic is applied, CPU seems to go quite high on virtual one (20%) but real is not really affected. Worry is that a further increase in traffic will see a problem.
Experience of RHEL is limited. Whats... (2 Replies)
Discussion started by: psychocandy
2 Replies
9. UNIX for Dummies Questions & Answers
I have a 12 core linux cpu but the load is really high on this box, hovering around 50. What configuration changes do we need to make so that system have no bottleneck. (13 Replies)
Discussion started by: Moon1234
13 Replies
10. 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
LEARN ABOUT DEBIAN
netsniff-ng
netsniff-ng(8) netsniff-ng-toolkit netsniff-ng(8)
NAME
netsniff-ng - the packet sniffing beast
SYNOPSIS
netsniff-ng -i|-d|--dev|--in <dev|pcap> -o|--out <dev|pcap|dir|txf> [-f|--filter <bpf-file>][-t|--type <type>][-F|--interval <uint>]
[-s|--silent][-J|--jumbo-support][-n|--num <uint>][-r|--rand] [-M|--no-promisc][-m|--mmap | -c|--clrw][-S|--ring-size <size>]
[-k|--kernel-pull <uint>][-b|--bind-cpu <cpu> | -B|--unbind-cpu <cpu>] [-H|--prio-high][-Q|--notouch-irq][-q|--less | -X|--hex |
-l|--ascii] [-v|--version][-h|--help]
DESCRIPTION
The first sniffer that invoked both, the zero-copy RX_RING as well as the zero-copy TX_RING for high-performance network I/O and
scatter/gather or mmaped PCAP I/O.
EXAMPLES
netsniff-ng --in eth0 --out dump.pcap
Capture traffic from interface 'eth0' and save it pcap file 'dump.pcap'
netsniff-ng --in any --filter http.bpf --payload
Capture HTTP traffic from any interface and print its payload on stdout
netsniff-ng --in wlan0 --bind-cpu 0,1
Capture all traffic from wlan0 interface. Schedule process on CPU 0 and 1.
OPTIONS
-i|-d|--dev|--in <dev|pcap>
Input source. Can be a network device or pcap file.
-o|--out <dev|pcap|dir|txf>
Output sink. Can be a network device, pcap file, a trafgen txf file or a directory. (There's only pcap to txf translation possible.)
-f|--filter <bpf-file>
Use BPF filter file from bpfc.
-t|--type <type>
Only handle packets of defined type:
- broadcast
- multicast
- others
- outgoing
-F|--interval <uint>
Dump interval in seconds. if -o is a directory, a new pcap will be created at each interval. The older files are left untouched.
(default value: 60 seconds)
-s|--silent
Do not print captured packets to stdout.
-J|--jumbo-support
Support for 64KB Super Jumbo Frames.
-n|--num <uint>
When zerp, capture/replay until SIGINT is received (default). When non-zero, capture/replay the number of packets.
-r|--rand
Randomize packet forwarding order (replay mode only).
-M|--no-promisc
Do not place the interface in promiscuous mode.
-m|--mmap
Mmap pcap file i.e., for replaying. Default: scatter/gather I/O.
-c|--clrw
Instead of using scatter/gather I/O use slower read(2)/write(2) I/O.
-S|--ring-size <size>
Manually set ring size in KB/MB/GB, e.g. '10MB'.
-k|--kernel-pull <uint>
Kernel pull from user interval in microseconds. Default is 10us. (replay mode only).
-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
Run the process in high-priority mode.
-Q|--notouch-irq
Do not touch IRQ CPU affinity of NIC.
-q|--less
Print less-verbose packet information.
-X|--hex
Print packet data in hex format.
-l|--ascii
Print human-readable packet data.
-v|--version
Print version.
-h|--help
Print help text and lists all options.
AUTHOR
Written by Daniel Borkmann <daniel@netsniff-ng.org> and Emmanuel Roullit <emmanuel@netsniff-ng.org>
DOCUMENTATION
Documentation by Emmanuel Roullit <emmanuel@netsniff-ng.org>
BUGS
Please report bugs to <bugs@netsniff-ng.org>
2012-06-29 netsniff-ng(8)