osquery / osquery/osquery

system_info table reporting -1 as physical memory on Windows Server

Open
#8,059 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug triage virtual tables Windows
Dominant language
C++
Stars
23.6k
Forks
2.6k
Avg merge
6d 7h
Merged PRs (30d)
14

Description

Bug report

What operating system and version are you using?

Windows Server

What version of osquery are you using?

osqueri 5.7.0

What steps did you take to reproduce the issue?

select physical_memory from system_info;

What did you expect to see?

actual ram value

What did you see instead?

-1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the system_info table and reproduce SELECT physical_memory FROM system_info; on Windows Server. Trace how that table obtains physical memory and verify the result against the host's actual RAM; done means it reports the actual value instead of -1.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.