FG

How to find uptime of a linux process

Fresh3 days ago
Mar 15, 2026164259 views
Confidence Score1%
1%

Problem

How do I find the uptime of a given linux process. gives me a whole lot of information which includes the time at which the process was started. I am specifically looking for switch which returns the uptime of a process in milliseconds. Thanks

Error Output

ps aux | grep gedit | grep -v grep

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to find uptime of a linux process

Low Risk

As "uptime" has several meanings, here is a useful command. This command lists all processes with several different time-related columns. It has the following columns: = Process ID first = only the command name without options and without arguments = the absolute time the process was started = elapsed time since the process was started (wall clock time), format [[dd-]hh:]mm:ss = cumulative CPU time, "[dd-]hh:mm:ss" format second = again the command, this time with all its provided options and a…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment