Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Build a Simple Dynamic Site with Node.js Creating a Simple Server in Node.js Creating a Simple Server

Marcos Cabrini Riani dos Reis
Marcos Cabrini Riani dos Reis
12,253 Points

ps -aux not showing the expected response

When I type ps -aux in the console, the response I receive is ps: No user named 'x', so I can't see the process like in the tutorial.

Matthew McQuain
Matthew McQuain
14,184 Points

I have the exact same problem, and the solution posted here does not work for me either.

1 Answer

Gari Merrifield
Gari Merrifield
9,597 Points

First, try it as "ps -axu" and see if that gets you around it. Be sure you have no spaces between the options.

If that doesn't work, you may want to try "man ps" and look through the options that your particular OS accepts.

Beyond that, for anyone to answer, they will need to know which OS and version you are using. Because Linux and FreeBSD ( including Mac OS X ) don't use the exact same options.

Running "ps -V" may help you determine which you are using, for example, on an Ubuntu 14.04 server, I have "procps-ng version 3.3.9" and on my Linux Mint 18.3 I have "procps-ng version 3.3.10"