Tip of the Trade: ps Options

Written By
JK
Juliet Kemp
Aug 14, 2008

“ps e: Shows the command environment for each process. This is
useful in a situation where a program works for one user but not
for another, or on one machine but not on another.

“ps -t pts/3: Shows processes associated with the specified tty.
I’ve found this useful when trying to work out who’s doing what on
a remote machine, and for how long.”

Complete
Story

JK

Juliet Kemp

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.