# Unix Process Identification

**URL:** <https://discuss.elastic.co/t/unix-process-identification/4458>\
**Category:** Elasticsearch\
**Created:** [May 23, 2011, 1:00pm UTC](https://discuss.elastic.co/t/unix-process-identification/4458 "2011-05-23T13:00:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![davrob](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@davrob](https://discuss.elastic.co/u/davrob)\
**Post date:** [May 23, 2011, 1:00pm UTC](https://discuss.elastic.co/t/unix-process-identification/4458/1 "2011-05-23T13:00:50Z")

</div>

Hi,

The unique names for each Node in a cluster is great when looking at  
logs but when it comes to identifying each node in a cluster when  
looking at its process using "ps -ef" in unix envs, then all the nodes  
in the cluster look the same. Is there an admin command or some other  
way that people have found for finding the process id of each node.

Best Regards,

David.

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [May 23, 2011, 5:48pm UTC](https://discuss.elastic.co/t/unix-process-identification/4458/2 "2011-05-23T17:48:11Z")

</div>

You get the process id as part of the nodes info API. If you want to get the info just for the node you hit, then using \_local. For example:

curl localhost:9200/\_cluster/nodes/\_local?pretty=1

On Monday, May 23, 2011 at 4:00 PM, davrob2 wrote:

> Hi,
> 
> The unique names for each Node in a cluster is great when looking at  
> logs but when it comes to identifying each node in a cluster when  
> looking at its process using "ps -ef" in unix envs, then all the nodes  
> in the cluster look the same. Is there an admin command or some other  
> way that people have found for finding the process id of each node.
> 
> Best Regards,
> 
> David.

---

<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:** [July 6, 2017, 4:05am UTC](https://discuss.elastic.co/t/unix-process-identification/4458/3 "2017-07-06T04:05:32Z")

</div>

Closed on July 6, 2017, 4:05am UTC


