我想知道如何计算进程的总CPU使用率.
如果我这样做,我认为相关领域是(取自lindevdoc.org):cat /proc/pid/stat
cat /proc/pid/stat
花费14到17之和的总时间是多少?
linux
linux ×1