Initial comit, add code

This commit is contained in:
lxsang 2021-02-03 12:39:39 +01:00
parent 1ffdc07541
commit 6b3240f7ea
2 changed files with 85 additions and 43 deletions

106
.gitignore vendored
View File

@ -1,49 +1,73 @@
# http://www.gnu.org/software/automake # Prerequisites
plugins
build
*._*
*.d
*.deb
.vscode
# Object files
*.o
*.ko
*.obj
*.elf
Makefile.in # Linker output
/ar-lib *.ilk
/mdate-sh *.map
/py-compile *.exp
/test-driver
/ylwrap
# http://www.gnu.org/software/autoconf # Precompiled Headers
*.gch
*.pch
autom4te.cache # Libraries
/autoscan.log *.lib
/autoscan-*.log *.a
/aclocal.m4 *.la
/compile *.lo
/config.guess
/config.h.in
/config.log
/config.status
/config.sub
/configure
/configure.scan
/depcomp
/install-sh
/missing
/stamp-h1
# https://www.gnu.org/software/libtool/ # Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib
/ltmain.sh # Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex
# http://www.gnu.org/software/texinfo # Debug files
*.dSYM/
*.su
*.idb
*.pdb
/texinfo.tex # Kernel Module Compile Results
*.mod*
# http://www.gnu.org/software/m4/ *.cmd
modules.order
m4/libtool.m4 Module.symvers
m4/ltoptions.m4 Makefile.old
m4/ltsugar.m4 dkms.con
m4/ltversion.m4 .DS_Store
m4/lt~obsolete.m4 .*
*.cache
# Generated Makefile
# (meta build system like autotools,
# can automatically generate from config.status script
# (which is called by configure script))
Makefile Makefile
antd
compile
config.guess
depcomp
install-sh
missing
libtool
config.log
config.status
config.sub
configure
aclocal.m4
ltmain.sh
Makefile.in

View File

@ -1,2 +1,20 @@
# sysmond Jetson Nano system monitor.
System monitoring service
Simple service that monitors system resource and shutdowns the system
when the battery is low
This service require the ADS1115 is connected to the
Nano and is handled by the ads1015 linux driver
The battery voltage value is available on user space as the content of
```sh
cat /sys/class/hwmon/hwmon2/device/in3_input
```
Statistic information that the daemon outputs:
- Battery
- CPU usage
- Memory usage
- CPU/GPU temperature
- Network trafic