8 More Discussions You Might Find Interesting
1. AIX
I have a AIX 7.1 system that has 3 failed disks, 1 in rootvg and 2 in vg_usr1.
Here is the output of lspv.
# lspv
hdisk0 00044d4dfbb11575 vg_usr1 active
hdisk1 0000150179158027 vg_usr1 active
hdisk2 ... (11 Replies)
Discussion started by: c3rb3rus
11 Replies
2. IP Networking
I have my Windows computer in network 192.168.1.0/24 plugged into one interface of my router.
I have another port on the router as network 192.168.168.0/24 where my nas is plugged in.
Now Windows doesn't discover my NAS automatically, of course. Anyone know what would be the most elegant way to... (2 Replies)
Discussion started by: awayand
2 Replies
3. Solaris
Hello;
experienced with HPUX/Linux, but new to Solaris, in particular my newly inherited SunOS 5.10 and is in a san environment
I have access to a 20gb lun, how do I discover it (and is a reboot required)
when discovered how do I configure it as a whole disk mount point (1 Reply)
Discussion started by: Ikenewtosolaris
1 Replies
4. Shell Programming and Scripting
I'm attempting to write a script that will look into a directory, discover all unique names, create directories for their prefix names and place the files inside. I do this now one by one with a simple script but I'd like to automate the process.
The directory would contain something like: ... (6 Replies)
Discussion started by: scribling
6 Replies
5. IP Networking
I need a script to scan the surrounding DHCP servers. I want to know how many dhcp servers are there on my connected etnernet. (2 Replies)
Discussion started by: getrue
2 Replies
6. Linux
i thought this was pretty simple question but i could not figure it out,
using command line, what is the command to print real time pps and bps on a given interface? (2 Replies)
Discussion started by: fedora
2 Replies
7. AIX
Hi,
I see from lsvg the total used PPs is 1050 (67200 megabytes), but when I check the disk space with df command I can only see 31G total space, can somebody tell how this come?
Thanks!
Victor
# lsvg
rootvg
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: ... (2 Replies)
Discussion started by: victorcheung
2 Replies
8. Linux
Hello All,
A number of UNIX platforms currently bundle clients for the NIS, NIS+, and LDAP services.
I'd like to know how to discover what naming services are available.
E.g., results :
=============================
URL:
service:naming-directory:nis://192.168.1.100/eng.wiz.com
... (0 Replies)
Discussion started by: test111111
0 Replies
IFPPS(8) netsniff-ng toolkit IFPPS(8)
NAME
ifpps - top-like networking and system statistics
SYNOPSIS
ifpps { [options] | [device] }
DESCRIPTION
ifpps is a small utility which periodically provides top-like networking and system statistics from the kernel. ifpps gathers its data
directly from procfs files and does not make use of any user space monitoring libraries which would falsify statistics under high load.
For instance, consider the following scenario: two directly connected Linux machines with Intel Core 2 Quad Q6600 2.40GHz CPUs, 4 GB RAM,
and an Intel 82566DC-2 Gigabit Ethernet NIC are used for performance evaluation. One machine generates 64 byte network packets by using
the kernel space packet generator pktgen with a maximum possible packet rate. The other machine displays statistics about incoming network
packets by using i) iptraf(8) and ii) ifpps.
iptraf which incorporates pcap(3) shows an average packet rate of 246,000 pps while on the other hand ifpps shows an average packet rate of
1,378,000 pps. Hence, due to packet copies and deferring statistics creation into user space, a measurement error of approximately 460 per-
cent occurs. Tools like iptraf might display much more information such as TCP per flow statistics (hence the use of the pcap library).
This is not possible with ifpps, because overall networking statistics are its focus; statistics, which are also fairly reliable under high
packet load.
ifpps also periodically displays CPU load, interrupt, software interrupt data per sample interval as well as total interrupts, all per CPU.
In case the number of CPUs exceeds 5 or the number specified by the user with the "-n" command line option, ifpps will only display this
number top heavy hitters. The topmost heavy hitter CPU will be marked with "+". The least heavy hitter will always be displayed and is
marked with "-". In addition, the average for all the above per-CPU data is shown. Optionally the median values can be displayed using the
"-m" command line option.
ifpps also supports directly the gnuplot(1) data sample format. This facilitates creation of gnuplot figures from ifpps time series.
OPTIONS
-d <netdev>, --dev <netdev>
Networking device to fetch statistics from, for example eth0, wlan0.
-n, --num-cpus
Set maximum number of top hitter CPUs (in terms of time spent in system/user mode) to display in ncurses mode, default is 10.
-t <time>, --interval <time>
Statistics refresh interval in milliseconds, default is 1000ms.
-c, --csv
Output (once) the ncurses data to the terminal as gnuplot(1)-ready data.
-l, --loop
Continuously output the terminal data after a refresh interval. This option is only available, if option "-c" is given. For "-l" it is usu-
ally recommended to redirect the output into a file that is to be be processed later with gnuplot(1).
-m, --median
Show median values across all CPUs for CPU load, interrupts (per interval and absolute) and software interrupts.
-p, --promisc
Turn on promiscuous mode for the given networking device.
-W, --no-warn
Suppress possible warnings in the ncurses output, e.g. about a too low sampling interval that could cause performance regression.
-v, --version
Show version information.
-h, --help
Show user help.
USAGE EXAMPLE
ifpps eth0
Default ncurses output for the eth0 device.
ifpps -pd eth0
Ncurses output for the eth0 device in promiscuous mode.
ifpps -lpcd wlan0 > plot.dat
Continuous terminal output for the wlan0 device in promiscuous mode.
NOTE
On 10Gbit/s cards or higher, receive and transmit statistics are usually accumulated at a higher duration interval than 1 second. Thus, it
might be advisable to alter the timing to a higher accumulation interval for such cards.
LEGAL
ifpps is licensed under the GNU GPL version 2.0.
HISTORY
ifpps was originally written for the netsniff-ng toolkit by Daniel Borkmann. It is currently maintained by Tobias Klauser <tklauser@dis-
tanz.ch> and Daniel Borkmann <dborkma@tik.ee.ethz.ch>.
SEE ALSO
netsniff-ng(8), trafgen(8), mausezahn(8), bpfc(8), flowtop(8), astraceroute(8), curvetun(8)
AUTHOR
Manpage was written by Daniel Borkmann.
COLOPHON
This page is part of the Linux netsniff-ng toolkit project. A description of the project, and information about reporting bugs, can be
found at http://netsniff-ng.org/.
Linux 03 March 2013 IFPPS(8)