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
        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


          #5
          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


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

            Laptop: Toshiba-Satellite-L350

            Comment


              #7
              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


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

                Comment


                  #9
                  Thank you.
                  kubuntu version: 16.04.5 LTS

                  Laptop: Toshiba-Satellite-L350

                  Comment


                    #10
                    You're welcome.

                    Comment


                      #11
                      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 obstructs my view.
                      Using Kubuntu Linux since March 23, 2007.
                      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                      Comment


                        #12
                        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


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

                          Comment


                            #14
                            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


                              #15
                              A list of man pages and what they do: apropos man

                              Example of apropos apt
                              Code:
                              $ apropos apt
                              add-apt-key (8)      - Command line tool to add GPG keys to the APT keyring
                              add-apt-repository (1) - Adds a repository into the /etc/apt/sources.list or /etc/apt/sources.list.d or removes an existing one
                              airodump-ng (8)      - a wireless packet capture tool for aircrack-ng
                              apt (8)              - command-line interface
                              apt-add-repository (1) - Adds a repository into the /etc/apt/sources.list or /etc/apt/sources.list.d or removes an existing one
                              apt-cache (8)        - query the APT cache
                              apt-cdrom (8)        - APT CD-ROM management utility
                              apt-config (8)       - APT Configuration Query program
                              apt-extracttemplates (1) - Utility to extract debconf config and templates from Debian packages
                              apt-ftparchive (1)   - Utility to generate index files
                              apt-get (8)          - APT package handling utility - - command-line interface
                              apt-key (8)          - APT key management utility
                              apt-mark (8)         - mark/unmark a package as being automatically-installed
                              apt-rdepends (1)     - performs recursive dependency listings similar to apt-cache
                              apt-secure (8)       - Archive authentication support for APT
                              apt-show-source (1)  - Lists source-packages.
                              apt-show-versions (1p) - Lists available package versions with distribution
                              apt-sortpkgs (1)     - Utility to sort package index files
                              apt.conf (5)         - Configuration file for APT
                              apt_preferences (5)  - Preference control file for APT
                              aptd (1)             - package managing daemon proving a D-Bus interface
                              aptdcon (1)          - command line client for aptdaemon
                              aptitude (8)         - high-level interface to the package manager
                              aptitude-create-state-bundle (1) - bundle the current aptitude state
                              aptitude-curses (8)  - high-level interface to the package manager
                              aptitude-run-state-bundle (1) - unpack an aptitude state bundle and invoke aptitude on it
                              AptPkg (3pm)         - interface to libapt-pkg
                              AptPkg::Cache (3pm)  - APT package cache interface
                              AptPkg::Config (3pm) - APT configuration interface
                              AptPkg::hash (3pm)   - a helper class for implementing tied hashes
                              AptPkg::PkgRecords (3pm) - APT package description class
                              AptPkg::Policy (3pm) - APT package version policy class
                              AptPkg::Source (3pm) - APT source package interface
                              AptPkg::System (3pm) - APT system abstraction class
                              AptPkg::Version (3pm) - APT package versioning class
                              apturl (8)           - graphical apt-protocol interpreting package installer
                              apturl-kde (8)       - graphical apt-protocol interpreting package installer
                              axi-cache (1)        - query the Apt Xapian Index
                              captoinfo (1)        - convert a termcap description into a terminfo description
                              debconf-apt-progress (1) - install packages using debconf to display a progress bar
                              dvdxchap (1)         - Extract chapter information from DVDs
                              dvgrab (1)           - Capture DV or MPEG-2 Transport Stream (HDV) video and audio data from FireWire
                              Image::ExifTool::CaptureOne (3pm) - Read Capture One EIP and COS files
                              Image::ExifTool::NikonCapture (3pm) - Read/write Nikon Capture information
                              import (1)           - saves any visible window on an X server and outputs it as an image file. You can capture a single window, the entire ...
                              import.im6 (1)       - saves any visible window on an X server and outputs it as an image file. You can capture a single window, the entire ...
                              kazam (1)            - Screen recording and capturing program.
                              laptop-detect (8)    - attempt to detect a laptop
                              lmdb_table (5)       - Postfix LMDB adapter
                              Net::DNS::RR::NAPTR (3pm) - DNS NAPTR resource record
                              org.debian.apt (7)   - the main interface of aptdaemon
                              org.debian.apt.transaction (7) - the main interface of an aptdaemon transaction
                              sane-scsi (5)        - SCSI adapter tips for scanners
                              sources.list (5)     - List of configured APT data sources
                              synaptic (8)         - graphical management of software packages
                              synaptics (4)        - touchpad input driver
                              synclient (1)        - commandline utility to query and modify Synaptics driver options.
                              toshset (1)          - manipulate bios and hardware settings of Toshiba laptops
                              update-apt-xapian-index (8) - rebuild the Apt Xapian Index
                              XkbApplyCompatMapToKey (3) - Apply the new compatibility mapping to an individual key to get its semantics updated
                              XkbSAPtrDfltValue (3) - Returns the valueXXX field of act converted to a signed int
                              xvinfo (1)           - Print out X-Video extension adaptor information
                              Then use the man on any item in the list...

                              EDIT: I forgot my old favorite, before KDE appeared.
                              xman
                              which, ignoring the font warning, shows a small bash gui. On it is "Show Manual". When that GUI pops open it has two parts. The top part lists the commands. Click on a command and its man page shows in the bottom part. The xman gui has two menu options which show several other options.
                              Last edited by GreyGeek; Oct 17, 2014, 10:34 AM.
                              "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                              – John F. Kennedy, February 26, 1962.

                              Comment

                              Working...
                              X