| Crates.io | process_uptime |
| lib.rs | process_uptime |
| version | 0.1.4 |
| created_at | 2020-12-15 11:04:03.146452+00 |
| updated_at | 2021-12-20 08:04:28.648494+00 |
| description | Quick and simple way of fetching an application's uptime by pid |
| homepage | |
| repository | https://github.com/irexiz/process_uptime |
| max_upload_size | |
| id | 323068 |
| size | 17,457 |
Library fetching process uptime via
ps -o etimes -p <PID> --no-headers
If ps is restricted (as is the case on some devices), library fallbacks to fetching process
uptime from /proc/{pid}/stat starttime column