An administrator thinks that the user Joe may be running an unauthorized process on a Linux server. Which of the following commands should the administrator run to confirm this idea?
This command shows all running processes for the user Joe in real-time.
Option A (lsof -p 'Joe') is incorrect because lsof uses process IDs (-p), not usernames.
Option C (jobs) lists background jobs for the current shell, not across users.
Option D is invalid syntax; ps -ax does not accept a username directly.
[Reference: CompTIA Linux+ XK0-005 Official Study Guide, Domain 5.0 – Troubleshooting, “To view active processes per user, use top -u username.”, ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit