hey everyone, I want to write a query on windows d...
# fleet
a
hey everyone, I want to write a query on windows device that can show me the percentage of processes in CPU , dose someone have any query to recommend on?
r
I'm not quite sure what you're asking for. There's only a handful of percent columns on https://osquery.io/schema/4.8.0/#processes so maybe a quick command+f might help?
z
This could be better answered in either #general or in #sql
c
@abraham linkolan so this is actually a tough problem with osquery. I’ve built a query that shows me what % of CPU cycles have been consumed by a process since booting, but not a realtime snapshot like “at 11:30 slack was using 15%”
so if you use “slack” as an example and it returns
18
, it means since booting slack has used up 18% of all CPU cycles
a
can you send it anyway ? until now i did a query that show only how much ram is used