How do you get burst time of a process in Linux?

Linux

1 answer

Answer

1084850

2026-09-06 18:25

+ Follow

Linux
Linux

In Linux, you can obtain the burst time of a process by analyzing its CPU usage through tools like top, htop, or pidstat. The burst time is often inferred from the CPU time the process has consumed, which can be displayed using the ps command with the -o option, for example: ps -p <PID> -o time. Additionally, the getrusage system call can be used programmatically to retrieve resource usage information, including CPU time.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.