# How can client device determine if mender-client is successfully connected

**URL:** <https://hub.mender.io/t/how-can-client-device-determine-if-mender-client-is-successfully-connected/4729>\
**Category:** General Discussions\
**Created:** [March 8, 2022, 5:08pm UTC](https://hub.mender.io/t/how-can-client-device-determine-if-mender-client-is-successfully-connected/4729 "2022-03-08T17:08:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rlaybourn](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@rlaybourn](https://hub.mender.io/u/rlaybourn)\
**Post date:** [March 8, 2022, 5:08pm UTC](https://hub.mender.io/t/how-can-client-device-determine-if-mender-client-is-successfully-connected/4729/1 "2022-03-08T17:08:35Z")

</div>

Is there a way that softer on the client device can determine if the mender-client has successfully connected to the server. The idea is that this information can be presented to a user of the device

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [March 9, 2022, 8:47am UTC](https://hub.mender.io/t/how-can-client-device-determine-if-mender-client-is-successfully-connected/4729/2 "2022-03-09T08:47:53Z")

</div>

Hi @rlaybourn,

Currently there is no such thing available, but we are looking into adding it, thanks for the suggestion! As a workaround right now, you can check if there is an open connection like this

> `netstat -anp | grep 'ESTABLISHED.*/mender[]*$'`

Hope this helps!  
Josef
