In the Solaris Operating System, netstat can also be used to dump all of the statistics stored in the kernel.

The syntax is:

  • # netstat -k category
The category argument isn't required. To learn what categories are possible, just run without a category and see the labels prepended to each chunk of statistics. These labels are the categories you can use.