/sys/ Limitations & Potential Workarounds #11309
Unanswered
aaronsuydam
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey fellow WSLers,
I'm working on a little side project to expose the information contained in /sys/ and /proc/ in a syntactically nice way in C++. I went to go pull /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq, but it turns out, only a subset of the /sys/ filesystem is exposed under WSL. I was wondering if anyone knew what's behind this limitation, and if there are any potential workarounds that wouldn't be too difficult for a college student with some spare time to work through.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions