
A GTK application for monitoring hardware sensors, including temperatures and fan speeds. Monitors motherboard and CPU (using lm-sensors), Nvidia GPUs (using XNVCtrl), and harddisks (using hddtemp or libatasmart).
hi I made a module for psensor (from slackware current) to use with lm-sensor and it works with slackware 15.
so if you use lm sensors this will allow you to see graphics and get alerts on the desktop about your temperatures.
The module I made includes everything so you can run psensor with an alarm.
psensor porteus version
psensor 1.2.1 slackware current (built with 15.0 libraries everything included)
my module https://drive.google.com/file/d/1ieFqhl ... sp=sharing Info: psensor with nvidia and built in alarm
https://drive.google.com/file/d/19nLUuF ... sp=sharing <---- dependencies
inside psensor in preferences set on alarm script in program to: /usr/local/bin/alarm.ph
if you want to build it yourself
psensor source code https://launchpad.net/ubuntu/+archive/p ... rig.tar.gz
libappindicator-12.10.0-x86_64-3.xzm
libdbusmenu-16.04.0-x86_64-3.xzm
libgtop-2.40.0-x86_64-5.xzm
libindicator-12.10.1-x86_64-3.xzm
lxnvctrl.xzm https://drive.google.com/file/d/14Q4Ztq ... drive_link <--- i made this
NVCtrl.xzm https://drive.google.com/file/d/1COhSoD ... drive_link <--- i made this
alarm https://drive.google.com/file/d/1Fg7r7j ... drive_link
alarm script https://drive.google.com/file/d/16wguEf ... sp=sharing
use official packages 15 or 3rd party if official unavailable 15 preferrable if not than current 3rd party
https://github.com/chinf/psensor
instructions for source dependencies
alarm sound name it: a.wav
put it in: usr/local/share
alarm script name it: alarm.ph
put it in: usr/local/bin
combine all that and make a module or just install them and put your alarm files in the respective directories.
All psensor addons I made
viewtopic.php?p=101291#p101291
Optional compile your nvidia driver
This is only necessary if you want to see your gpu usuage in psensor.
To compile your own nvidia drivers you need to download key files specific to your kernal. visit the Porteus Kernel Builder thread: Porteus Kernel Builder search for your specific kernel
download 05 devel and cripple sources for that kernel.
Or if you use v5.01
you just need 05devel and crippled sources from the v5.01 mirror download at porteus.org. or the above link for your specific kernel. I use v5.01 so i dont need to use the kernal builder thread.
i go here Porteus-v5.01 is released!
download the devel and crippled sources then follow steps below
then download from nvidia the geforce linux 64 driver
and follow the instructions viewtopic.php?t=8148
make sure to say no to 32bit install I did that with the 64 driver and it didnt work.
so I assume you need the 32 bit driver when doing that.
Alarm sample: https://drive.google.com/file/d/1Fg7r7j ... sp=sharing

I have included an alarm so if you go to :
preferences - sensors - Script executed on alarm - /usr/local/bin/alarm.ph <---- put this value here script already in module
as there is no slackware 15 module or package for this it should work for all porteus versions (works on v5.01 for me)


to setup lm sensor you can do it two ways use the following commands
**you need 05devel module for python for the sensors-detect --auto option
1. Manually use the following commands
sudo su
sensors-detect -- auto
press y at the end (pay attention to HWMON_MODULES="nct6775") it saves a config files here (see below)
Note: step 1 may or may not find your dimms but dont panic we will get to finding them. continue to next step.
2. Automatically
after editing the file use commands:
sudo su
modprobe jc42
you can add the above commands to a script on startup once you have the settings right mine is nct6775 but yours may be different.
sensors-detect --auto requires
05-devel.xzm
if modprob jc42 doesnt load the values run this script:
sudo su
modprobe jc42
sensors-detect -- auto
Porteus doesnt use grub so you can ignore this part:
IF you use a grub bootloader you have to go to the grub.cfg and put in
/etc/default/grub
GRUB_CMDLINE_LINUX='acpi_enforce_resources=lax'
update-grub
then reboot
If for any reason you cant find your dimm temps follow these links below and trouble shoot and try to narrow it down:
https://www.reddit.com/r/linux/comments ... ?rdt=46943
https://wiki.archlinux.org/title/Lm_sensors
now for commands:
sudo su
modprobe nct6775
Now combine this so its setup at boot
This file is run at boot
/etc/rc.d/rc.local
put this in: modprobe jc42 <----------- so on boot it shows your dimms
modprobe nct6775 <------- load fan speed voltages ect
sensors -s <------- update lm sensors on startup
Edit lm sensor display
sensors -u to list all sensors and the values you can set (Note the bottom 3 alarms are usually boolean values so you cant edit those). identify your dimm modules we will then edit the labels and set high and crit alarms in sensors command.
Go to config file: Note: subtitute your values for your jc42 values from sensors -u
/ect/sensors.d/anyfilename.txt
chip "jc42-i2c-0-1a"
bus "i2c-0" "SMBus PIIX4 adapter port 0 at 0b00"
label temp1 "Dimm1"
set temp1_max 36
#set temp1_min 20
set temp1_crit 37
chip "jc42-i2c-0-18"
bus "i2c-0" "SMBus PIIX4 adapter port 0 at 0b00"
label temp1 "Dimm2"
set temp1_max 36
#set temp1_min 20
set temp1_crit 37
chip "jc42-i2c-0-1b"
bus "i2c-0" "SMBus PIIX4 adapter port 0 at 0b00"
label temp1 "Dimm3"
set temp1_max 36
#set temp1_min 20
set temp1_crit 37
chip "jc42-i2c-0-19"
bus "i2c-0" "SMBus PIIX4 adapter port 0 at 0b00"
label temp1 "Dimm4"
set temp1_max 36
#set temp1_min 20
set temp1_crit 37
finished editing file
IMPORTANT save this file incase it gets overwritten you dont want to have to do this again. put it somewhere safe.
sudo su
sensors -s <---- to set the changes after you edited it. (must be in su)
/home/guest/.psensor/psensor.cfg
edit this to change your colors ect youll have to add the labels in manually. You dont need to do this but you can if you want.
you can watch the temps in real time with command: watch sensors (will show alarms of crit and high that you set)
now launch psensor
the graph is hidden you have to drag the window to the right and you will see the graph. go to preferences - sensors - execute scrip on alarms
put value: /usr/local/bin/alarm.ph here.
now you have a visual alarm in not only sensors but also psensor with both a visual menu popup and alarm sound. linux just released drivers for temperatures on ddr5 in the kernel so this will be useful for overclocking ddr5 as well. this is by far a better environment to test your ram and system than windows for obvious reasons. if you corrupt porteus no big deal just reboot and it will be fixed. if not just replace the core files.
I will further put some more information about changing the color of lm_sensors text display in here (have to make a script) as well the further i tweak this. I will update the module with this script when complete. I hope this is useful to someone that is looking for an environment to test your pc.
I use gsat stressapptest and ycruncher with vt3 and fft to do a test on my memory overclocks before testing for 24 hours to ensure stability and finalize the overclock. ycruncher and gsat are good for testing ccio and sa voltages for intel for a quick and easy test.
I should also mention there is far more things you can do with psensor. There are pages where theres information how to run a script on alarm to shutdown your pc, send an email to you or even send a sms text message. so check back here and ill see what scripts I can pull off and post them.
github source
https://github.com/chinf/psensor