36 lines
664 B
Python
36 lines
664 B
Python
#!/usr/bin/python3
|
|
import configparser
|
|
import requests
|
|
|
|
class Grabber():
|
|
mb_serial = " "
|
|
cpu_model = " "
|
|
cpu_id = " "
|
|
cpu_cores = " "
|
|
cpu_threads = " "
|
|
cpu_frequency_min = " "
|
|
cpu_frequency_cur = " "
|
|
cpu_frequency_max = " "
|
|
ram_size = " "
|
|
ram_slots = " "
|
|
ram_number = " "
|
|
|
|
os = " "
|
|
arch = " "
|
|
desktop_env = " "
|
|
window_manager = " "
|
|
kernel = " "
|
|
|
|
def fetch_summary(self):
|
|
return
|
|
def shutdown():
|
|
return
|
|
def status(self):
|
|
return
|
|
def link_to_user(self,user):
|
|
return
|
|
def remove_user_access(self):
|
|
return
|
|
def show_users(self):
|
|
return
|