How much space stats given by Psensor takes on a HD ?

Asked by Mathieu Cossette

How much space stats given by Psensor takes on a HD ???

I just checked and my / partition is now full... only 268 MB left on it ...

Is it related to logs or something about all stats being read every seconds ?

Tks in advance, in the meantime, I'm giving space from my SWAP partition to my / partition if I'm able to .. ?

with GParted, what could I use to give space from one partition to another ?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu psensor Edit question
Assignee:
No assignee Edit question
Solved by:
Mathieu Cossette
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

andy@fileserver:~$ sudo apt-get install psensor
[sudo] password for andy:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  hddtemp psensor-common
Suggested packages:
  ksensors
The following NEW packages will be installed
  hddtemp psensor psensor-common
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 113 kB of archives.
After this operation, 681 kB of additional disk space will be used.

If you are low on space, I may be able to free space. Can you give the output of:

df -h; lsb_release -a; uname -a; dpkg -l | grep linux-image

And we can probably free up a tonne of space.

Revision history for this message
Jean-Philippe Orsini (jfi) said :
#2

The log of psensor is in $HOME/.psensor/log and nothing is periodicaly written except if you are using the '-d 3' option.
Could you please run 'tail -30 $HOME/.psensor/log' and attach the output?

Revision history for this message
Mathieu Cossette (mcossette) said :
#3

In the end, I end up using GParted to workout my space problem... oh my god it was long (like 16 hours of moving partition.. anyway)

!

But, I like your point of view about linux image packages :)

So here is my output :

Sys. fich. Taille Util. Dispo Uti% Monté sur
/dev/sda1 21G 7,0G 13G 37% /
udev 1,8G 12K 1,8G 1% /dev
tmpfs 726M 880K 726M 1% /run
none 5,0M 0 5,0M 0% /run/lock
none 1,8G 288K 1,8G 1% /run/shm
/dev/sda5 437G 301G 115G 73% /home
/home/mathieu/.Private 437G 301G 115G 73% /home/mathieu
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
Linux mathieu-ID49C 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
ii linux-image-3.2.0-21-generic 3.2.0-21.34 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-22-generic 3.2.0-22.35 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-23-generic 3.2.0-23.36 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-24-generic 3.2.0-24.39 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-25-generic 3.2.0-25.40 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-26-generic 3.2.0-26.41 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-generic 3.2.0.26.28 Generic Linux kernel image

By the way I'm on Precise with all the latest updates :) (Doing updates is one of my pleasure lolll )

Thanks for taking time to give me cues about how to save space :)

Revision history for this message
Mathieu Cossette (mcossette) said :
#4

For log output... I'm not able to .. or too tired from my 2 days of 16 hours !! LOLLLL

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

sudo apt-get --purge remove linux-image-3.2.0-25-generic linux-image-3.2.0-24-generic
sudo apt-get --purge remove linux-image-3.2.0-23-generic linux-image-3.2.0-22-generic
sudo apt-get --purge remove linux-image-3.2.0-25-generic
sudo apt-get --purge autoremove

Your system has 7Gb free. Why are you worried about the space used by the app?

Revision history for this message
Mathieu Cossette (mcossette) said :
#6

I know now.. there is 7Gb free, it is because I used GParted to solve the situation :)

But now... my swap file isn't activated ???

Here is my fstab :
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=ceda1109-0b40-43d5-b290-d2a62a67912a / ext4 errors=remount-ro 0 1
# /home was on /dev/sda5 during installation
UUID=8c5dd94c-71b0-49ad-86a4-fbd3a71a99f5 /home ext4 defaults 0 2
# swap was on /dev/sda6 during installation
UUID=e24864f6-26f2-45cb-9962-17145ee8f366 none swap sw 0 0

But it is now sda3 : /dev/sda3 and Inactive
                                 UUID : c3f67280-06fb-4c25-9b27-56e9ed799181 that was modified and created at the end of my HD as a standalone partition ( linux-swap )

I've read that 2 times the RAM was ok and also 1.5X the RAM also .. !?

Revision history for this message
Mathieu Cossette (mcossette) said :
#7

I'm all ok now, i've found that my UUID did not match with the one GParted displayed ... !!