|
|
|
cpu_get_load(processor_number=0)
Calculates the system load. |
source code
|
|
|
|
|
|
|
|
|
sys_get_uptime_long()
Get uptime using 'cat /proc/uptime' |
source code
|
|
|
|
|
|
|
sys_get_hostname()
Get user- and hostname and return user@hostname. |
source code
|
|
|
sys_get_average_load()
Get average load (as 3-tuple with floats). |
source code
|
|
|
|
|
sys_get_distroshort()
Get distro short name |
source code
|
|
|
sys_get_desktop_enviroment()
shows kde or gnome or xface |
source code
|
|
|
|
|
|
|
|
|
sys_get_linux_version()
Get linux version string. |
source code
|
|
|
sys_get_full_info()
Get cpu info from /proc/cpuinfo. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
disk_get_drive_info(mount_point)
Returns info about the given mount point (as dict). |
source code
|
|
|
disk_get_swap()
Get a list of swap partitions. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wir_get_stats(interface)
Returns wireless stats as dict. |
source code
|
|
|
cal_get_now()
Returns full now time and date |
source code
|
|
|
cal_get_local_date()
returns date using local format |
source code
|
|
|
|
|
cal_get_local_time()
returns time using local format |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
cal_get_month_name()
returns the month name |
source code
|
|
|
|
|
cal_get_day_monday()
returns the number of the day of the week starting from monday |
source code
|
|
|
cal_get_day_sonday()
returns the number of the day of the week starting from sonday |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cal_get_ampm()
return am/pm or None if not available |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|