The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
23 views

How can I get more space available?

I created a Virtual Machine (using VirtualBox) with 20 Gb disk size so I could use Ubuntu 64-bit on a Mac. I needed Ubuntu for running Xilinx ISE 14.7. I downloaded the file but when I tried to ...
0
votes
2answers
28 views

File Size Limit

What is the maximum file size limit in rhel 32 bit OS, is there any OS limitation for the file size , if there is any limitation set then please tell me what will be for root & oaa.
0
votes
0answers
17 views

max stack size limit on HP UNIX

What is the max stack size limit of 32 bit process in HP-UX B.11.31 or what is the max stack size that can be alloacted to a 32 bit process in HP -UX
2
votes
1answer
32 views

How to properly plan relative sizes of partitions?

At work our systems must have the following directories each on a dedicated partition: /boot /home /audits /opt /tmp /var /home / There is no company policy or guidelines on the sizes they must be; ...
1
vote
0answers
1k views

How to set up screen resolution permanently

I just installed Fedora 19 on a VirtualBox and when I started it for the first time it only allowed the screen resolution 1024x768 After some research I managed to install the guest additions and I ...
1
vote
1answer
26 views

Split home partition into 2 (xfs on LVM)

I am using centos 7 and I have a /home mounted on an xfs filesystem on a dedicated LVM partition. /dev/mapper/centos-home 782G 34M 782G 1% /home I want to split this partition to 2 ...
2
votes
1answer
79 views

Extend XFS parititon ( xfs_growfs )

Here are the partitions of my server : NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 54.6T 0 disk ├─sda1 8:1 0 1004.5K 0 part ├─sda2 8:2 0 19.5G 0 part / ├─sda3 ...
0
votes
3answers
53 views

Why would the size of /proc/stat show as zero? [duplicate]

ls -rlth /proc/stat -r--r--r-- 1 root root 0 Feb 21 04:25 /proc/stat Although if we cat it, its got enough contents. Any help regarding this virtual FS will be helpful.
1
vote
2answers
45 views

To find the size of some group of files

I was trying to find out the total size of all files which are owned by a particular user. While trying so, i get different sizes when executing different commands. Which command is correct to find ...
3
votes
2answers
46 views

Strange discrepancy of file sizes from ls

I've been using ls -sh to check file sizes ever since 1997 or so, but today something strange happened: ninja@vm:foo$ ls -sh total 98M 1,0M app 64M app_fake_signed.sbp 800K loader 804K ...
71
votes
16answers
78k views

Determine the size of a block device

How can I find out the size of a block device, such as /dev/sda? Running ls -l gives no useful information.
31
votes
5answers
50k views

How can I increase the number of inodes in an ext4 filesystem?

I had a problem (new to me) last week. I have a ext4 (Fedora 15) filesystem. The application that runs on the server suddenly stopped. I couldn't find the problem at first look. df showed 50% ...
36
votes
6answers
44k views

Find the total size of certain files within a directory branch

Assume there's an image storage directory, say, ./photos/john_doe, within which there are multiple subdirectories, where many certain files reside (say, *.jpg). How can I calculate a summary size of ...
39
votes
4answers
9k views

What does size of a directory mean in output of 'ls -l' command?

What does size of a directory mean in output of ls -l command?
1
vote
1answer
83 views

group files into fixed-size chunks

Example: Say I have 20 000 images and I need to group them into folders in order to burn them to a CD (max 700MB / folder). General: I have N files and I need to group them into M groups, so that all ...
0
votes
0answers
18 views

expand a Hard Disk of a Virtual Machine centos

my Centos VM was 10 G and I want to expand it to 20G I found a lot of links give a steps to achieve that goal But all of them depending of make physical volume and Logical volume based on ...
1
vote
2answers
60 views

Script to compare the “file size” with “last name of file” and if unmatched delete the file

In my environment, we'll be receiving files from clients into our Sftp server. Sftp processes the files, and moves it to another tool, by appending the file size at the end of the file name. For ...
0
votes
2answers
61 views

How can I get the size of an application after it was already installed?

With the command whereis I can get the location of the files but instead summing all the sizes of those files I would like to know if there is simpler way to do this.
2
votes
1answer
37 views

get available screen size after considering space used by the menu bar and launcher

I'm using Ubuntu 14.04. I know how to get my screen resolution using xrandr or xdpyinfo. But with these tools I get the maximum available desktop size .... I have a menu bar at the top that takes ...
0
votes
1answer
75 views

Compare size of file system

How to compare size of file system on 2 different servers Eg: Server1 Filesystem GB blocks Free %Used Iused %Iused Mounted on /dev/prddatalv 40.00 18.32 55% 65 1% ...
1
vote
1answer
44 views

Why different UIs display different size of the same file?

Here's what Finder displays: QuickTime 7: Terminal: Why?
6
votes
3answers
706 views

Determining a CD-R(W)'s capacity

I've seen various questions asked (and answered) regarding how to detect the size of various media on a GNU/Linux system, and in particular how much space has been used on an optical drive. But is ...
0
votes
2answers
65 views

File size after cut

I am trying to verify if I split large file correctly into multiple pieces. As an toy example, I have a file out_sample: 123456789012 123456789012 123456789012 123456789012 123456789012 This has 64 ...
-4
votes
1answer
37 views

How can I show the size of all cache files in my home directory? [closed]

I want to get the size of all cache files in the home directory.
12
votes
5answers
3k views

What is the smallest Linux distribution by installation size? [closed]

I'm trying to run some experiments with Linux and look for the smallest distribution by installation size. (RAM, CPU doesn't really matter)
1
vote
2answers
107 views

How do I get size of (deb) file from download link/URL?

I use --print-uris of apt-get to get url (download-link) of debs I want to download and install on my Debian (Trisquel) GNU/Linux. --print-uris Instead of fetching the files to install ...
-1
votes
1answer
33 views

How can I limit a log file to a certain number of most recent logs?

I know that you can limit the size of a file in respect to bytes, but I was wondering if there was a way to limit the number of logs within the file to, for example, the most recent 200 logs.
4
votes
3answers
201 views

Find largest files from each date in a directory

I have a directory similar to the following: -rw-r--r-- 1 root root 223K Apr 28 14:25 2015.04.28_14.25 -rw-r--r-- 1 root root 253K Apr 28 14:55 2015.04.28_14.55 -rw-r--r-- 1 root root 276K Apr 28 ...
4
votes
4answers
731 views

How can I get the size of stdin?

I'm about to compress a large directory and I want to know how large, exactly, the resulting file will be. I've tried using du: $ tar -cv dir | du -h - du: cannot access '-': No such file or ...
0
votes
1answer
123 views

Determine Size of Entire Website

There are methods to determine the size of a webpage, but how about an entire website? Without having to download it. EDIT: I only want pages included in the size tally that include the domain name.
4
votes
2answers
5k views

Must the filesystem be unmounted while extending an LVM logical volume?

I have seen some tutorials on extending an LVM2 logical volume. None of them instruct you to unmount the filesystem. They claim that you can extend an LVM volume while it is in use. Is this right?
2
votes
1answer
383 views

How to list directory/file sizes in general on UNIX-like systems?

In general on a UNIX-like system (Linux, AIX) the following can list file/directory sizes in MByte, even if the filename is starting with a "-": du -sm -- * 2>/dev/null | sort -nr | head -25 ...
5
votes
5answers
4k views

How to get folder size ignoring hard links?

I use rsnapshot for backups, which generates a series of folders containing files of the same name. Some of the files are hard linked, while others are separate. For instance, hourly.1/file1 and ...
0
votes
0answers
2k views

What is the maximum size for attachment using unix mailx

I am using RHEL 6.4. I have a script which runs in bash. The script sends an email using: mailx -a report.txt "Monthly Report" "business@user.com" < messageBody.html where report.txt is a pipe ...
1
vote
3answers
1k views

How to find all disks & their size before using them?

I need to know the following information, before using the harddisk to create logical volumes or database.. Any perl modules or snippet would be of great help. how many hard disks are presented to ...
11
votes
6answers
18k views

How to limit log file size using >>

How can I limit the size of a log file written with >> to 200MB? $ run_program >> myprogram.log
5
votes
3answers
9k views

How to Expand LVM2 Partition in Fedora Linux

I've been using Fedora 15 on a VMWare virtual machine. Over time, the disk space I initially allocated for the file system began to run out, only 12GB left. I've expanded the disk space an extra 25GB. ...
1
vote
1answer
691 views

Resize partition after image using dd to another drive

I have a smaller 120GB drive which has run out of space, which I have imaged to a larger 500GB drive using: dd if=/dev/sdb1 of=/dev/sda4 bs=32M After mounting to /R500 df shows me 100% in use which ...
2
votes
2answers
439 views

du command combined with find -mmin

I want to have an idea of how much archivelogs the database is generating daily, so I did: find /u02/archivelog -mmin -1440 | du -sh and got 220GB, which is the total size of all files in that ...
4
votes
3answers
599 views

Finding files on a Unix server and sorting by size

I have a web server where I have run out of space and it's causing issues with the WordPress sites I am running on them. I know that I have a lot of large .png files (the fact that it's PNG is a ...
7
votes
3answers
7k views

How can I limit downloaded file size in wget?

I want to use wget (from a php script) to download image files, but don't want to download files over a certain size. Can I limit file size with wget? If not, what is a better way?
4
votes
2answers
995 views

Why does find -exec du sum up differently?

I have family pictures and movies in a folder /media/data/Selbstgemacht and I'd like to find the size of all pictures. In /media/data I use find Selbstgemacht -type f -iname '*.jpg' -exec du -ch '{}' ...
9
votes
1answer
1k views

Why could the size of the “dot” file “.” exceed 4096?

Today I found an "empty" directory with a size of 4MB. It had no visible contents, so I tried ls -lah. This showed me some hidden files (not very large). Searching for the reason why the directory ...
1
vote
1answer
300 views

File size conflict

I am new to UNIX and have a doubt about file size in UNIX (AIX). ls -ltr shows me fileA size as 59096. As per my knowledge this is in bytes ,so it is nearly = 0.06 MB However, a script which should ...
4
votes
3answers
3k views

In SciTe (Scintilla), how can I create Syntax-Highlighting for my own custom language?

I want to create a custom Language, with its own custom Syntax Highlighting. Notepad++ (a Windows SciTe/Scintilla based Text-editor), allowed me to create a custom "Language", and now, in Linux, I ...
2
votes
0answers
209 views

How do I make get-iplayer produce watchable quality without huge filesize?

Summary findings: I'm using get-iplayer v2.82. The files I produce on hard drive are all mp4. I've discovered the following (downloading same TV program in both cases): Using --modes=flashstd and ...
12
votes
5answers
940 views

copy smallest files first?

I have a large directory containing subdirectories and files that I wish to copy recursively. Is there any way to tell cp that it should perform the copy operation in order of file size, so that the ...
1
vote
2answers
1k views

LINUX: How to calculate recursively the size of each sub directory up to root directory?

I have written this script Scrit in Linux. I now need to know the size for each sub directory with the condition -atime +${DAYS} searching down from directory $DIR. The result should be gathered in ...
2
votes
1answer
2k views

Disk is almost full on a server with CPanel

I have VHM system and I have a domain and two subdomain on this system. I tried to take a backup than after sometime I cannot access cpanel but I can access VHM. but some of the VHM options gives disk ...
1
vote
2answers
1k views

Free disk space from a JBoss log file which is still being written to

Is there any locking on the content, imposed by the process if at all the process is using the file. We host a JBoss app server on a RHEL 6.4 OS and due to the disk space constraints we have decided ...