1PCP-NETSTAT(1) General Commands Manual PCP-NETSTAT(1)
2
3
4
6 pcp-netstat - Report statistics for different network protocols and
7 network interfaces.
8
10 pcp [pcp options] netstat [--statistics] [-p [TCP|IP|UDP|ICMP]] [-i]
11 [-s samples] [-a archive] [-S start_time] [-T end_time]
12
13
15 The pcp-netstat command is used for viewing the different kinds of sta‐
16 tistics related to the network protocols and the network interfaces.
17 This tool is useful for checking the status of your network interfaces,
18 network connections and for troubleshooting network issues. This tool
19 can also be used to analyze network statistics for all available proto‐
20 cols, including TCP, UDP, ICMP, and IP protocols.
21
22 By default pcp-netstat reports live data for the local host. It has the
23 capabilities to analyze the data on the archives as well.
24
26 --statistics
27 shows output similar to netstat -s, which displays summary sta‐
28 tistics for each protocol
29
30 -i shows output similar to netstat -i -a -n, which displays a table
31 of all network interfaces
32
33 -p, --TCP|IP|UDP|ICMP
34 filter network statistics specific to a protocol
35
36 -a file, --archive=file
37 Fetch /proc/netstat for a specified archive file
38
39 -s count, --samples=count
40 Get the network statistics for specified number of samples count
41
42 -S, --start=time
43 Filter the samples from the archive from the given time
44
45 -T, --finish=time
46 Filter the samples from the archive until the given time
47
48 -V, --version
49 Display version number and exit.
50
51 -?, --help
52 Display usage message and exit.
53
55 Environment variables with the prefix PCP_ are used to parameterize the
56 file and directory names used by PCP. On each installation, the file
57 /etc/pcp.conf contains the local values for these variables. The
58 $PCP_CONF variable may be used to specify an alternative configuration
59 file, as described in pcp.conf(5).
60
61 For environment variables affecting PCP tools, see pmGetOptions(3).
62
64 PCPIntro(1), pcp(1), pmParseInterval(3) and environ(7).
65
66
67
68
69Performance Co-Pilot PCP PCP-NETSTAT(1)