DragonFly users List (threaded) for 2010-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Monitoring CPU time
:...
:> >
:> there might be a better way to do this - but you can snag that
:> particular set of data from vmstat -c 1 ..
:
:Thanks for the tip, it's almost what I want.
:
:FreeBSD:
:$ sysctl kern.cp_time
:kern.cp_time: 1797279 579339 1349174 128959 811149589
:
:DragonFly:
:$ vmstat -c 1 | tail -n 1 | awk '{ print $14,$15,$16 }'
:675875492 705365686 1527141678
:
:Unfortunately, there's no data for nice or interrupt. Time to dig into top
:sources...
:
:--
:Francois Tigeot
systat -pv 1
In terms of extracting it in a script... I dunno about that.
-Matt
Matthew Dillon
<dillon@backplane.com>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]