Identify virtual machine
Project description
Linux/Windows tool and library to get DMI data
Installation
Packages
You can download installation package for supported linux distributions in Open Build Service
Examples:
Command line
dmiget
dmiget dmi:///bios/vendor
Python
import smbios
value = smbios.Value('chassis','serial')
print(value)
import smbios
value = smbios.Value('dmi:///chassis/serial')
print(value)
import smbios
value = smbios.memsize()
print(value)
print(int(value))
import smbios
for node in smbios.nodes():
print(node)
for value in node.values():
print(' {}: {}'.format(value.description,value))
C++
#include <smbios/node.h>
#include <iostream>
using namespace std;
int main(int argc, char **argv) {
Node node{"chassis"};
cout << node.name() << " - " << node << endl;
cout << node["manufacturer"] << endl;
return 0;
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
smbios-1.2.6.tar.gz
(66.8 kB
view details)
File details
Details for the file smbios-1.2.6.tar.gz.
File metadata
- Download URL: smbios-1.2.6.tar.gz
- Upload date:
- Size: 66.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16cc6cacde1e121e416fcef7bbc799c8729be1b8a4f795cbf150ee7e4a4aaed2
|
|
| MD5 |
ea8456b7191f11cf977c335578d5e611
|
|
| BLAKE2b-256 |
1e5b72e37189e6bf13c84540b5c64f92a65682ecd08257b82f56bb04d6472825
|
Provenance
The following attestation bundles were made for smbios-1.2.6.tar.gz:
Publisher:
publish.yml on PerryWerneck/dmiget
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
smbios-1.2.6.tar.gz -
Subject digest:
16cc6cacde1e121e416fcef7bbc799c8729be1b8a4f795cbf150ee7e4a4aaed2 - Sigstore transparency entry: 145622020
- Sigstore integration time:
-
Permalink:
PerryWerneck/dmiget@390e58308675c6144f829ed44a06de6a4f14ac42 -
Branch / Tag:
refs/heads/develop - Owner: https://github.com/PerryWerneck
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@390e58308675c6144f829ed44a06de6a4f14ac42 -
Trigger Event:
push
-
Statement type: