FG
💻 Software

How long process is running?

Fresh5 days ago
Mar 15, 20269978 views
Confidence Score0%
0%

Problem

Is a way to check how long a proccess X is running or when it was started ? The first thought occurred to me was command, but found nothing.

Error Output

ps

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How long process is running?

Low Risk

The simplest way is , look at the STIME column for when it was started. For a process X, use . A more complicated method (and necessary for elapsed time) would be to use the option. Using that: The equivalent of is From the man page: So a simple one…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment