Questions tagged [sysinfo]
27 questions
0
votes
0 answers
How to find idle nodes of a linux cluster
I am trying to print only the idle nodes of a linux cluster. I only need the names of the idle nodes. But using the command
sinfo %C | grep idle
this command is giving details such as PARTITION AVAIL TIMELIMIT NODES STATE NODELIST but I only…

Nitin Bishnoi
- 21
- 4
0
votes
0 answers
Sysinfo behaves differently on RPI4(Raspbian) and CM4(Raspbian)
I am using Sysinfo library to calculate ram usage but it gives different results in RPI4 and CM4. It works fine in RPi4 but it returns ridiculous values in CM4. For example,
Sysinfo return totalram 300kB, freeram 308kB, bufferram 9kB.
I looked at…

tryingBetter
- 45
- 7
0
votes
1 answer
Listing system information in convenient format using Powershell
I hope someone can help me. I'm currently genertating a list of computer dates to see which need to be replaced (>3 years).
Is it possible to echo this in a csv or excel?
I made the following snippet:
$env:COMPUTERNAME
$ComputerSystem =…

Lucas
- 7
- 3
0
votes
1 answer
Is gutil's sysinfo.cc missing a closing bracket when calculating num_cpus?
I have gutil's sysinfo.cc file, indentical to this one:
https://github.com/cloudera/kudu/blob/master/src/kudu/gutil/sysinfo.cc#L248
I would like to know if the InitializeSystemInfo() function works properly for Linux, given I'm not too familiar with…

Wesley Wang
- 67
- 1
- 5
0
votes
1 answer
Version of Windows (Winver vs sysinfo)
I am running windows 10.
I use the run command "winver" to see version info however the "MSsysinfo32.exe"
dialog box tells me a different version number. (I am not talking about the build # but the 1803 version.)
Why is there a discrepancy and/or…

NULL.Dude
- 219
- 1
- 13
0
votes
1 answer
How can I extract a users laptop/desktop model in php
Please i am seeking a way to get a users system information in php, mostly the name of the laptop/desktop maker e.g Lenovo/HP
I am aware of phpsysinfo, but it doesnt seem to have such info.

Kingston Fortune
- 905
- 8
- 17
0
votes
1 answer
how does linux keep system status information?
I know that there is sysinfo structure under header file which stores the information.
But i wanted to know, how does Linux keep this information?, how does it initialize the structure?, When is it created and how is it stored?, How…

Rahul
- 975
- 9
- 25
0
votes
0 answers
sysinfo returns the number of threads instead of processes
According to the manpage of sysinfo, the struct sysinfo has:
unsigned short procs; /* Number of current processes */
But when I use sysinfo, the value of procs is the number of threads.

Punchirichechi
- 91
- 1
- 8
0
votes
1 answer
printing number of processes in kernel module
I'm very new to kernel programming and I have written a small kernel module which is like this,
mod.c
#include
#include
#include
int init_module(void)
{
int k;
struct sysinfo info;
…

goal4321
- 121
- 3
- 17
0
votes
3 answers
SystemInfo - Get computer System Model via CMD - Extra spaces bug
I'm trying to get a Computer System Model type via Batch file.
for this i've created this script:
systeminfo | find "System Model" > %temp%\TEMPSYSINFO.txt
for /F "tokens=2 delims=:" %%a in (%temp%\TEMPSYSINFO.txt) do set SYSMODEL=%%a
del…

Eliran Cohen
- 3
- 1
- 1
- 2
0
votes
1 answer
How to determine installed memory on x64 machine using visual studio windows 7
Is there a way to determine the amount of memory installed on a computer running
64bit windows 7, using VS2010 C?
The app I am running is a Windows 64bit app, with
a UI written in c#, which calls a dll written in C. The call to get the…

PaeneInsula
- 2,010
- 3
- 31
- 57
0
votes
1 answer
Strange values of SystemType property of Win32_ComputerSystem WMI class?
According to the documentation at http://msdn.microsoft.com/en-us/library/aa394102%28VS.85%29.aspx this property may assume the following string values:
"X86-based PC"
"MIPS-based PC"
"Alpha-based PC"
"Power PC"
"SH-x PC"
"StrongARM PC"
"64-bit…

JCCyC
- 16,140
- 11
- 48
- 75