# How to use pstree command?

**URL:** <https://community.unix.com/t/how-to-use-pstree-command/274362>\
**Category:** UNIX for Dummies Questions & Answers\
**Created:** [September 29, 2010, 5:21am UTC](https://community.unix.com/t/how-to-use-pstree-command/274362 "2010-09-29T05:21:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![venkatesht](https://community.unix.com/letter_avatar/venkatesht/32/5_5575768a8748004e209b776fc1b2916d.png) [@venkatesht](https://community.unix.com/u/venkatesht)\
**Post date:** [September 29, 2010, 5:21am UTC](https://community.unix.com/t/how-to-use-pstree-command/274362/1 "2010-09-29T05:21:53Z")

</div>

Hi,

How to use the pstree command.  
I tried to execute as below, not able to interpret/understand the output.

```nohighlight
pstree -p | grep 525

```

OUTPUT:

```nohighlight
 
 
[xx@yy ~]$ pstree -p | grep 525
        ��scsi_eh_0(525)

```

Can anyone throw some light on this?

Many thanks.

Rgds,

---

<div class="post-metadata">

**Author:** ![radoulov](https://community.unix.com/user_avatar/community.unix.com/radoulov/32/489_2.png) [@radoulov](https://community.unix.com/u/radoulov)\
**Post date:** [September 29, 2010, 6:23am UTC](https://community.unix.com/t/how-to-use-pstree-command/274362/2 "2010-09-29T06:23:41Z")

</div>

Use:

```nohighlight
LANG=C pstree ...

```
