[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    using pctcpu
From:       "Zane C. B-H." <v.velox () vvelox ! net>
Date:       2017-10-10 4:16:16
Message-ID: f26ba6655ab2059362eacf251f0e0c5b () vvelox ! net
[Download RAW message or body]

Using https://metacpan.org/pod/BSD::Process that to get pctcpu, but I 
can't get it to line up nicely with ps.

The closest I can get is dividing pctcpu by 20, but that still tends to 
run high. For example dividing by 20 will give me 1635.8 while ps will 
show 1595.3.

I know the 1635.8 is definitely off as this machine only has 16 cores.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic