Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #263758
| From | Michael Kjörling <2695bd53d63c@ewoof.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Get running time of child process |
| Date | 2023-11-21 17:50 +0100 |
| Message-ID | <HCC6J-71zU-9@gated-at.bofh.it> (permalink) |
| References | <HCiB3-6NSG-3@gated-at.bofh.it> <HCj45-6Ohz-1@gated-at.bofh.it> <HCB0Z-70XD-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 21 Nov 2023 16:34 +0100, from martellif67@gmail.com (Franco Martelli): >> $ ps -eo pid,lstart,etime -q 1620,3507 > > Thanks it works, but instead of the child PID it is shown the parent PID: > > ~$ ps -eo pid,lstart,etime -q 1620,6841 > PID STARTED ELAPSED > 1620 Mon Nov 20 16:12:47 2023 23:47:16 > 1620 Tue Nov 21 15:59:36 2023 00:28 Maybe for that what you want is "tid" not "pid"? -- Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Get running time of child process Franco Martelli <martellif67@gmail.com> - 2023-11-20 21:00 +0100
Re: Get running time of child process Michael Kjörling <2695bd53d63c@ewoof.net> - 2023-11-20 21:30 +0100
Re: Get running time of child process Franco Martelli <martellif67@gmail.com> - 2023-11-21 16:40 +0100
Re: Get running time of child process Michael Kjörling <2695bd53d63c@ewoof.net> - 2023-11-21 17:50 +0100
Re: Get running time of child process Franco Martelli <martellif67@gmail.com> - 2023-11-21 20:50 +0100
Re: Get running time of child process <tomas@tuxteam.de> - 2023-11-22 06:40 +0100
csiph-web