Announcement

Collapse
No announcement yet.

Space used by programmes

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Space used by programmes

    Is there a command that I can use that will tell me how much diskspace a programme is using?

    Other commands that relate to disk space would also be helpful

    I tried du and got a massive output with some undefined numbers to the left.

    Thanks
    Last edited by anonprivate; Oct 07, 2014, 06:37 AM.
    kubuntu version: 16.04.5 LTS

    Laptop: Toshiba-Satellite-L350

    #2
    Space

    FAQ: Free Disk Space: https://www.kubuntuforums.net/showth...ce-Regenerated
    Have you tried ?

    - How to Ask a Question on the Internet and Get It Answered
    - How To Ask Questions The Smart Way

    Comment


      #3
      Have you tried Filelight http://methylblue.com/filelight/ it is in the standard repos.

      Comment


        #4
        The way programs are installed, bits 'n pieces in different places, it's hard to say how much disk space an individual program uses.

        But if you install a .deb from the command line (CLI) you are usually told x kB is going to be downloaded and y kB of extra disk space is going to be used.

        In my opinion the best utility to check for disk space is K4DirStat, it's based on the original Windows program called SequoiaView.

        Comment


          #5
          Code:
          df -h
          will give you total space ,,free and clear,,of mounted file systems

          Code:
          vinny@vinnys-HP-G62:~$ df -h
          Filesystem      Size  Used Avail Use% Mounted on
          /dev/sda6        30G   17G   11G  62% /
          [COLOR=#ff0000]none            4.0K     0  4.0K   0% /sys/fs/cgroup
          udev            1.9G  4.0K  1.9G   1% /dev
          tmpfs           376M  1.4M  374M   1% /run
          none            5.0M     0  5.0M   0% /run/lock
          none            1.9G  148K  1.9G   1% /run/shm
          none            100M   20K  100M   1% /run/user[/COLOR]
          /dev/sda7       184G  127G   48G  73% /mnt/disk1
          /dev/sda3       193G  180G  3.2G  99% /mnt/disk
          you can ignore the ones in red ,,,,,,they are system file systems.

          Code:
          apt show package name
          (where "package name" is the name of a package) will show info about a package including it's installed size ,,,,,,,,,,,,,,,,,,,,,

          Code:
          vinny@vinnys-HP-G62:~$ apt show bleachbit
          Package: bleachbit
          Priority: optional
          Section: universe/admin
          [COLOR=#ff0000]Installed-Size: 1,950 kB[/COLOR]
          Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
          Original-Maintainer: Luca Falavigna <dktrkranz@debian.org>
          Version: 1.0-1
          Depends: python:any (>= 2.7.1-0ubuntu2), python (>= 2.6) | python-simplejson, python-gtk2 (>= 2.14), menu
          Recommends: python-notify
          Download-Size: 251 kB
          Homepage: http://bleachbit.sourceforge.net
          Bugs: https://bugs.launchpad.net/ubuntu/+filebug
          Origin: Ubuntu
          APT-Manual-Installed: yes
          APT-Sources: http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
          Description: delete unnecessary files from the system
           BleachBit deletes unnecessary files to free valuable disk space, maintain
           privacy, and remove junk. It removes cache, Internet history, temporary files,
           cookies, and broken shortcuts.
           .
           It handles cleaning of Adobe Reader, Bash, Beagle, Epiphany, Firefox, Flash,
           GIMP, Google Earth, Java, KDE, OpenOffice.org, Opera, RealPlayer, rpmbuild,
           Second Life Viewer, VIM, XChat, and more.
           .
           Beyond simply erasing junk files, BleachBit wipes free disk space (to hide
           previously deleted files for privacy and to improve compression of images),
           vacuums Firefox databases (to improve performance without deleting data), and
           securely shreds arbitrary files.

          VINNY
          i7 4core HT 8MB L3 2.9GHz
          16GB RAM
          Nvidia GTX 860M 4GB RAM 1152 cuda cores

          Comment


            #6
            Originally posted by vinnywright View Post
            Code:
            df -h
            will give you total space ,,free and clear,,of mounted file systems

            Code:
            vinny@vinnys-HP-G62:~$ df -h
            Filesystem      Size  Used Avail Use% Mounted on
            /dev/sda6        30G   17G   11G  62% /
            [COLOR=#ff0000]none            4.0K     0  4.0K   0% /sys/fs/cgroup
            udev            1.9G  4.0K  1.9G   1% /dev
            tmpfs           376M  1.4M  374M   1% /run
            none            5.0M     0  5.0M   0% /run/lock
            none            1.9G  148K  1.9G   1% /run/shm
            none            100M   20K  100M   1% /run/user[/COLOR]
            /dev/sda7       184G  127G   48G  73% /mnt/disk1
            /dev/sda3       193G  180G  3.2G  99% /mnt/disk
            you can ignore the ones in red ,,,,,,they are system file systems.

            Code:
            apt show package name
            (where "package name" is the name of a package) will show info about a package including it's installed size ,,,,,,,,,,,,,,,,,,,,,

            Code:
            vinny@vinnys-HP-G62:~$ apt show bleachbit
            Package: bleachbit
            Priority: optional
            Section: universe/admin
            [COLOR=#ff0000]Installed-Size: 1,950 kB[/COLOR]
            Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
            Original-Maintainer: Luca Falavigna <dktrkranz@debian.org>
            Version: 1.0-1
            Depends: python:any (>= 2.7.1-0ubuntu2), python (>= 2.6) | python-simplejson, python-gtk2 (>= 2.14), menu
            Recommends: python-notify
            Download-Size: 251 kB
            Homepage: http://bleachbit.sourceforge.net
            Bugs: https://bugs.launchpad.net/ubuntu/+filebug
            Origin: Ubuntu
            APT-Manual-Installed: yes
            APT-Sources: http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
            Description: delete unnecessary files from the system
             BleachBit deletes unnecessary files to free valuable disk space, maintain
             privacy, and remove junk. It removes cache, Internet history, temporary files,
             cookies, and broken shortcuts.
             .
             It handles cleaning of Adobe Reader, Bash, Beagle, Epiphany, Firefox, Flash,
             GIMP, Google Earth, Java, KDE, OpenOffice.org, Opera, RealPlayer, rpmbuild,
             Second Life Viewer, VIM, XChat, and more.
             .
             Beyond simply erasing junk files, BleachBit wipes free disk space (to hide
             previously deleted files for privacy and to improve compression of images),
             vacuums Firefox databases (to improve performance without deleting data), and
             securely shreds arbitrary files.

            VINNY
            very useful, as always.

            Do you have any tips for remembering useful commands?

            Best wishes.

            A
            kubuntu version: 16.04.5 LTS

            Laptop: Toshiba-Satellite-L350

            Comment


              #7
              Originally posted by OneLine View Post
              Useful link, thanks
              kubuntu version: 16.04.5 LTS

              Laptop: Toshiba-Satellite-L350

              Comment


                #8
                Originally posted by anika200 View Post
                Have you tried Filelight http://methylblue.com/filelight/ it is in the standard repos.
                Not yet
                kubuntu version: 16.04.5 LTS

                Laptop: Toshiba-Satellite-L350

                Comment


                  #9
                  http://unix.stackexchange.com/questi...ommand-options

                  Comment


                    #10
                    Thank you.
                    kubuntu version: 16.04.5 LTS

                    Laptop: Toshiba-Satellite-L350

                    Comment


                      #11
                      You're welcome.

                      Comment


                        #12
                        Originally posted by anonprivate View Post
                        Do you have any tips for remembering useful commands?
                        Start a journal. That's what I do.
                        Windows no longer obstruct my view.
                        Using Kubuntu Linux since March 23, 2007.
                        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                        Comment


                          #13
                          Am I correct in thinking that all the commands used in konsole are Bash commands?

                          Thanks
                          kubuntu version: 16.04.5 LTS

                          Laptop: Toshiba-Satellite-L350

                          Comment


                            #14
                            No.
                            Windows no longer obstruct my view.
                            Using Kubuntu Linux since March 23, 2007.
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                            Comment


                              #15
                              Originally posted by anonprivate View Post
                              Am I correct in thinking that all the commands used in konsole are Bash commands?

                              Thanks
                              Some are Bash commands, but many are just program names followed by arguments for the programs. In this thread, there has been no Bash. For example:
                              Code:
                              apt show bleachbit
                              apt is a program name while show and bleachbit are arguments for that program which tell it what to do. In this case, show gives package information for the package bleachbit.

                              Comment

                              Users Viewing This Topic

                              Collapse

                              There are 0 users viewing this topic.

                              Working...
                              X