in Education by (1.8m points)
I'm trying to create a process monitor in linux that will tell me things about a process (whether it's running, how long it's been running... etc) in C++. Is there an easy way to do this?

JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by (1.8m points)
I would recommend learning about /proc on linux.

The man page is good place to start. Basically the proc filesystem gives you a way to get information about the system and kernel on Unix like OS's (including Linux).

Related questions

0 votes
asked Nov 7, 2021 in Education by JackTerrance (1.8m points)