BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 102-500 Topic 1 Question 77 Discussion

Actual exam question for LPI's 102-500 exam
Question #: 77
Topic #: 1
[All 102-500 Questions]

Which of the following commands can identify the PID od a process which opened a TCP port?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Alisha
5 months ago
I think the answer should definitely be D) lsof because it specifically deals with listing open files and processes.
upvoted 0 times
...
Fatima
5 months ago
I'm not familiar with ptrace, but it could be a viable option too.
upvoted 0 times
...
Lashonda
5 months ago
I'm not sure, but I think A) ptrace might also be able to identify process IDs.
upvoted 0 times
...
Mari
5 months ago
I agree with lsof is a powerful tool for identifying processes.
upvoted 0 times
...
Fatima
5 months ago
I think the answer is D) lsof because it can list open files and associated processes.
upvoted 0 times
...
Lamonica
6 months ago
That's a good point, but I still think D) lsof is the most appropriate choice.
upvoted 0 times
...
Loreta
6 months ago
I'm not sure, but I think A) ptrace can also be used to trace processes.
upvoted 0 times
...
Sylvia
6 months ago
I agree with Lamonica, lsof is used for identifying open files and ports.
upvoted 0 times
...
Lamonica
6 months ago
I think the answer is D) lsof.
upvoted 0 times
...
Leota
7 months ago
Debug? What is this, Windows? We're talking about Linux here, folks. I don't think that's going to work.
upvoted 0 times
...
Coral
7 months ago
Nessus? That's a vulnerability scanner, not a process monitoring tool. I'm pretty sure that's not the correct answer either.
upvoted 0 times
...
Cordelia
7 months ago
Ptrace? Really? That's more for tracing system calls, not identifying open ports. I don't think that's the right answer here.
upvoted 0 times
...
Minna
7 months ago
I'm leaning towards lsof as well. It's a powerful tool that can really dig into the details of what's happening on the system.
upvoted 0 times
...
Willie
7 months ago
Hmm, I'd say lsof is the way to go here. It's specifically designed to list open files and network connections, so it should be able to give us the PID we're looking for.
upvoted 0 times
Annabelle
6 months ago
So, I guess we can use lsof to identify the PID of a process.
upvoted 0 times
...
Marisha
6 months ago
Yes, lsof is designed to list open files and network connections.
upvoted 0 times
...
Flo
6 months ago
I think lsof is the correct choice.
upvoted 0 times
...
...
Cassi
7 months ago
Ah, this is a tricky one. I've used strace before to debug process issues, but I'm not sure if it can identify the PID of a process that opened a TCP port specifically.
upvoted 0 times
...

Save Cancel