PCP-NETSTAT(1)

πŸ“¦
version 7.2.2 Β· 2 versions
, in arch rolling, centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– PCP-NETSTAT β€” bestie's guide to network stats πŸ’–

okay so this is a section 1 manual page, from the General Commands Manual, and it's all about pcp-netstat. pull up a chair, we're doing network vibes πŸ¦‹


✨ NAME ✨

pcp-netstat β€” Report statistics for different network protocols and network interfaces.

like... it literally tells you what's going on with your network. no cap.


🌸 SYNOPSIS 🌸

pcp [pcp options] netstat [--statistics] [-p [TCP|IP|UDP|ICMP]] [-i] [-s
samples] [-a archive] [-S start_time] [-T end_time]

πŸŽ€ DESCRIPTION πŸŽ€

The pcp-netstat command is used for viewing the different kinds of statistics related to the network protocols and the network interfaces. bestie this is your girl for network gossip β€” it's useful for checking the status of your network interfaces, your network connections, and for troubleshooting network issues. it can also be used to analyze network statistics for all the available protocols, including TCP, UDP, ICMP, and IP protocols. all of them. every single one. slay πŸ’…

By default pcp-netstat reports live data for the local host. but it also has the capabilities to analyze the data on the archives as well πŸ‘‘ (archives, we love her).


✨ OPTIONS ✨

  • --statistics β€” shows output similar to netstat -s, which displays summary statistics for each protocol πŸ“Š
  • -i β€” shows output similar to netstat -i -a -n, which displays a table of all network interfaces 🧚
  • -p, --TCP|IP|UDP|ICMP β€” filter network statistics specific to a protocol πŸ” (pick your fave, she's not judging)
  • *-a *file, --archive=file β€” Fetch /proc/netstat for a specified archive file πŸ—‚οΈ
  • *-s *count, --samples=count β€” Get the network statistics for specified number of samples count πŸ”’
  • *-S, --start=time* β€” Filter the samples from the archive from the given time ⏰
  • *-T, --finish=time* β€” Filter the samples from the archive until the given time ⏳
  • -V, --version β€” Display version number and exit. πŸ’œ
  • -?, --help β€” Display usage message and exit. 🫢

🌈 PCP ENVIRONMENT 🌈

Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5). πŸ“

For environment variables affecting PCP tools, see pmGetOptions(3). (iykyk)


πŸ’– SEE ALSO πŸ’–

PCPIntro(1), pcp(1), pmParseInterval(3) and environ(7).


no cap, every flag up there is real and does exactly what it says. go check your interfaces, bestie, they're probably fine but the suspense is killing me 😭

mwah πŸ’‹ this page came to you courtesy of Performance Co-Pilot (that's the source, and the version is PCP, section PCP-NETSTAT(1)), and it's signed off right here at the bottom where it belongs. periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from