-bash-3.2$ pstree 29838

-bash-3.2$ pstree 24423

Any way to interpret this? Why would this happen?

  • consider "âââ" as "---", So there are 15 threads named java in a process java whose parent is RBcron.sh. The second line is 15 threads named java in a process java whose parent in RBcron.sh whose parent is bash. – Milind Dumbare Mar 11 '15 at 6:07
  • Try LANG=C pstree or pstree -A – Milind Dumbare Mar 11 '15 at 6:09
  • Understood, but what made this happen? – Keyshov Borate Mar 11 '15 at 6:41
  • I do not understand your question. Please elaborate. – Milind Dumbare Mar 11 '15 at 7:49
  • It meant, why it was not in the readable format.. – Keyshov Borate Mar 11 '15 at 10:04

The output is garbled because of locale(current language) setting. Doing LANG=C disables the localization (sets it to default language).

So the solutions to your problem is either disable localization and do

    $ LANG=C psteree

or ask pstree to print ascii characaters by

   $ pstree -A

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.