# Difference seen in the total number sockets using SAR or SS utility and with the number shown by Metricbeats system.socket.summary.all.count

**URL:** <https://discuss.elastic.co/t/difference-seen-in-the-total-number-sockets-using-sar-or-ss-utility-and-with-the-number-shown-by-metricbeats-system-socket-summary-all-count/219755>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [February 18, 2020, 10:03am UTC](https://discuss.elastic.co/t/difference-seen-in-the-total-number-sockets-using-sar-or-ss-utility-and-with-the-number-shown-by-metricbeats-system-socket-summary-all-count/219755 "2020-02-18T10:03:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdshahidbec](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@mdshahidbec](https://discuss.elastic.co/u/mdshahidbec)\
**Post date:** [February 18, 2020, 10:03am UTC](https://discuss.elastic.co/t/difference-seen-in-the-total-number-sockets-using-sar-or-ss-utility-and-with-the-number-shown-by-metricbeats-system-socket-summary-all-count/219755/1 "2020-02-18T10:03:18Z")

</div>

Hi,

I am trying to get the total number of sockets using the metricbeat plugin, however there is huge difference between what is shown by "system.socket.summary.all.count" and the value derived from SAR or SS utility.

Can someone help if i have missed something here?

snapshot of system.yml below:

- module: system  
period: 1s  
metricsets:
  - cpu
  - load
  - memory
  - network
  - process
  - process\_summary
  - socket\_summary

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 17, 2020, 10:03am UTC](https://discuss.elastic.co/t/difference-seen-in-the-total-number-sockets-using-sar-or-ss-utility-and-with-the-number-shown-by-metricbeats-system-socket-summary-all-count/219755/2 "2020-03-17T10:03:19Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
