`time(1)` and children - GNU/Linux

Users browsing this thread: 1 Guest(s)
movq
Long time nixers
Quote:if a process is composed of multiple threads or sub-processes the time is going to be cummulative
That's probably the correct perspective. I'm just not used to the concept of "sub-processes". When one process forks and execs, it's an entirely new "thing" in my mind. (Maybe that's wrong anyway, since a lot of stuff gets inherited. Hmm.)

btw, I found a related command: "times". It's even in POSIX. It appears to be equivalent to the syscall `times(2)` and shows usage times of both the current process and the sum of its children (it's a two-line output). That helped me in my particular use case.

Quote:I'll link your article in this section of mine, helping those pesky search engines know where to find the good stuff.

Thanks!


Messages In This Thread
`time(1)` and children - by movq - 29-08-2020, 05:43 AM
RE: `time(1)` and children - by venam - 29-08-2020, 06:21 AM
RE: `time(1)` and children - by movq - 31-08-2020, 10:04 AM