Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. Disk usage in System Info: show history

Disk usage in System Info: show history

Scheduled Pinned Locked Moved Feature Requests
4 Posts 3 Posters 862 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • necrevistonnezrN Offline
    necrevistonnezrN Offline
    necrevistonnezr
    wrote on last edited by
    #1

    Hi,

    maybe this could be an easy modification: Can we show the "history" of disk usage under "System Info"? This could be helpful identifying sudden increases e.g. in app or backup sizes...

    So instead of having one bar showing disk usage at the moment, you have several bars showing disk usage over days / weeks:
    0cfe5c33-b307-423b-8700-314deb7acaec-image.png

    nebulonN micmcM 2 Replies Last reply
    3
    • nebulonN nebulon moved this topic from Discuss on
    • necrevistonnezrN necrevistonnezr

      Hi,

      maybe this could be an easy modification: Can we show the "history" of disk usage under "System Info"? This could be helpful identifying sudden increases e.g. in app or backup sizes...

      So instead of having one bar showing disk usage at the moment, you have several bars showing disk usage over days / weeks:
      0cfe5c33-b307-423b-8700-314deb7acaec-image.png

      nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      @necrevistonnezr I moved this to the feature request section. Currently we only have real-time data there, so that would require to either get the data we need into collectd and fetch it from there or keep a record on our own.

      1 Reply Last reply
      2
      • necrevistonnezrN necrevistonnezr

        Hi,

        maybe this could be an easy modification: Can we show the "history" of disk usage under "System Info"? This could be helpful identifying sudden increases e.g. in app or backup sizes...

        So instead of having one bar showing disk usage at the moment, you have several bars showing disk usage over days / weeks:
        0cfe5c33-b307-423b-8700-314deb7acaec-image.png

        micmcM Offline
        micmcM Offline
        micmc
        wrote on last edited by
        #3

        @necrevistonnezr said in Disk usage in System Info: show history:

        Can we show the "history" of disk usage under "System Info"?

        Great and useful suggestion.

        Ignorance is not an excuse anymore!
        https://AutomateKit.com

        1 Reply Last reply
        0
        • necrevistonnezrN Offline
          necrevistonnezrN Offline
          necrevistonnezr
          wrote on last edited by necrevistonnezr
          #4

          Work-around for the time being: Show disk usage for the last 7 days via SSH login

          nano diskusage.sh (note, I have two local disks that need monitoring; the command below adds date and data for both disks in one line)

          #!/bin/sh
          echo $(date +%F && df -h /dev/sda1 --output=source,fstype,size,used,avail,pcent | tail -n1 && df -h /dev/sdc --output=source,fstype,size,used,avail,pcent | tail -n1)>> /home/USER/Disk.txt
          

          cat Disk.txt

          2021-12-08 /dev/sda1 ext4 1,8T 1,1T 694G 61% /dev/sdc ext4 916G 444G 426G 52%
          2021-12-09 /dev/sda1 ext4 1,8T 1,1T 694G 61% /dev/sdc ext4 916G 445G 426G 52%
          

          crontab -e add

          45 4 * * * sh /home/USER/diskusage.sh >/dev/null 2>&1
          

          nano ~/.bash.rc add

          printf "\t\n" 
          cat /home/kdj/Disk.txt | tail -7
          
          1 Reply Last reply
          4
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search