General :: Find The Size Of RPM In CentOS?
Jan 8, 2010I can display the RPM installed on CentOS 5.4 though:
Code:
#rpm -qa| more
How can I know the size of those RPMs?
I can display the RPM installed on CentOS 5.4 though:
Code:
#rpm -qa| more
How can I know the size of those RPMs?
How do I find out maximum I/O request size?
I'm using CentOS release 5.2
I know that the default size is 128 K, how do I find out/confirm this?
To find the space occupied by files modified more than 4 years ago, i tried following.I am wondering if it is right ?
Code:
find /temp -type d ! -name ".*" -mtime +1460 | wc -l |du -sh
I tried this, but this sits there for long time (of couse the path i tried has lot of files) So i am not sure if this is right.
P.S.:
SHELL=bash
OS=RHEL5
i need help in this issue how to find files with unusual size and with unusual names of EX : just dots, names ending with space(s),names containing shell wildcard characters, names containing non-ASCII (control) characters
View 3 Replies View RelatedI cannot find what my hard drive size is and need to know what size is my Ram.
View 4 Replies View RelatedI made an account under freeshell.org and it has been very satisfactory so far. I recommend everyone getting an account under freeshell.org. But anyways, how do I find files over, for example, 500 KB, in the entire, my shell account?
View 1 Replies View Relatedam trying to write a shell script to find the size of a particular log file and if the log size grows, script should mail the changes to the administrator or a any user so script should monitor the log file continuously in a time interval, how can i do that?
I tried with these codes to find the file size but it throws me error says command not found
$s=$( stat -c %s mylogfile.log)
echo $s
How to find the filesize of a flash which is not exactly stored in the temp but redirected by a fd.
flash31 -> /tmp/FlashXXvsg1uY (deleted) directory is /proc/processid
Chrome is downloading a flash and I can see in the proc directory the flash file, How can I see the current file size of such a file ?
I created a VM disk image with kvm-img, but I forget what was the max size of that disk image when I created it. Currently, its size is 6.2G, I want to install some large packages in that VM, so I want to make sure the disk image can expand to an adequate size.
View 1 Replies View RelatedI have a Canoscan LiDE 30 scanner which works fine in Linux. I haven't used it in months, and never since moving from Jaunty x86_64 to Fedora 11 x86_64. This evening I suddenly need to scan two pages to send to someone via e-mail, and the recipient is desperate to receive them. Naturally, Xsane has decided this is the moment to screw me.
The problem: I cannot figure out how to tell Xsane that the page size is 8.5 11. It insists on scanning only the left side, 3.99 x 11. I cannot find a page size anywhere in any of the buttons.
In Preview I once got it to scan the entire page, but could not figure out how to save the image to file. Subsequently I have not been able to figure out how I did it. In any event, scanning from the small main window always scans 3.99 x 11. Adjusting the scan area manually in the Preview window allows me to change the size area in the small main window to 8.5 x 11, but when I then scan from the small main window it reverts to 3.99 x 11.
I have scanned the document a hundred times at least, each time trying different buttons, but nothing has succeeded in getting the full page.
I am trying to figure out the actual size of files and directories on a CentOS Linux 5 server and when I do a ls -l I see for example at the Directory of /Data 4096 but once in side the directory and I do a ls -l I see larger file sizes. How do I get the actual file size of a Directory to show up?
View 3 Replies View RelatedI am using wget (httrack can also do that ...etc) to downloading entire website , but is there any way to find out the size of the website before starting the download.
View 4 Replies View RelatedIs there any Linux function to find the size of the directory? stat() function can be used only for files and not directory. Can anyone let me know for to find the size of the directory from the C code
View 5 Replies View Relatedi am trying to find the size of an array, not by using the array as a parameter to "sizeof", but by using a pointer -pointing to the array- as a parameter. How do i do this?I use a 32-bit PC.Here's:
Code:
#include <string>
#include <iostream>
[code]...
So I am prompted in desktop for updates, but no information is given about the size of the packages involved. Sometimes, I don't like to wait too much for the dowload or to update packages which are too large.
Any settings dealing with that, so the individual size and the total per groups (security updates, etc) would be show without going in yum?
How can I find the size of units in sysctl.conf e.g whatis the size of the shmmax variable i.e. is it byte kb , Mb etc....???
View 8 Replies View RelatedHow do we find the size of a stack when a process is running?
View 1 Replies View RelatedI have a Centos 5 machine, and I've been attempting to install GNOME and the like. However, quite a large number of packages do NOT install because of missing dependencies, all of which seem to trace back to 'system-logos'. Unfortunately, I can find no trace of this package in the 'yum list available' output. Google came up with nothing. If you can help, it would be MUCH appreciated! BTW, I've also tried 'fedora-logos' and 'linux-logos' without success.
View 1 Replies View RelatedHow can I use gconftool-2 to find the monitor size and refresh rate?By size I mean pixels such as 1920x1080, not inches as in a 26-inch monitor.
View 1 Replies View Relatedmy problem is sinple, I want to download centos based rpm but i can only find redhat rpm's on the net. can I use redhat rpms for centos?
View 2 Replies View RelatedAssuming there are two list objects a1, a2.
a1 = ['
']
a2 =['hi
']
len() built-in function gives total number of elements in the list object.
len(a1) gives 1. len(a2) gives 1 also.
Code: Select all$ python
Python 2.7.3 (default, SepĀ 9 2012, 17:41:34)
[GCC 4.7.1] on linux2
[Code]......
I thought there exists a built-in function that gives total size of a list object in byte. So using the function produces 1 for a1, 3 for a2. I haven't found such function or module yet.
I am trying to find the dyanmic heap size and stack size of a running process in rhel5.5 and rhel6.I read that the 23rd parameter in the file /proc/pid/stat gives the heap size.Can you elaborate more on this.Also is there any other way to do this?
View 5 Replies View Relatedcentos 4.4 - 3 of 4 hard drives removed now won't boot- can't find lv so kernel panic
View 2 Replies View RelatedWe have a problem where there is not enough space in our /tmp partition. We are trying for fix our mysql database, and keep running in to the space issue... the error we are getting says:
myisamchk: Disk is full writing '/tmp/STGL3SGd' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
Our /tmp partition is current set at 485M, but it is not large enough to handle the database fix...
Does anyone know of a work around - perhaps to assign different directory for the temp files?
I am trying to increase my swap size because it seems to be getting full and making my server lock up.
I've tried this: [URL]
But all I get is this:
# lvm lvresize /dev/VolGroup00/LogVol01 -L +8000mb
Extending logical volume LogVol01 to 9.75 GB
Insufficient free space: 250 extents needed, but only 0 available
vgdisplay gives me:
[Code]....
I have a server with 2 harddisks, configured a one logical LVM block. I would like to reduce the total footprint and remove the 2nd harddisk.
What is the best way to do this? I understand that Gparted has yet to support LVM.
My details as follows:
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
282G 11G 257G 4% /
/dev/sda3 99M 12M 82M 13% /boot
[Code]....
I have CentOS 5. From sometime logrotate is not working and maillog for example is very big. It is the same for all logfiles. I run "logrotate -d -f /etc/logrotate.conf" but nothing happened. Cron seams to work as I see it with ps -ef |grep cron
View 2 Replies View RelatedI have centos 5 virtual server running on ESXi (vsphere 4.1).i have to increase disk space. I increased the size of the virtual machine in Vcenter.But i allready have 4 primary partitions. when i run fdisk /dev/sda, i get this :
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 3916 31350847+ 8e Linux LVM
/dev/sda3 3917 6527 20972857+ 83 Linux
/dev/sda4 6528 13054 52428127+ 83 Linux
I just upgraded by box from Fedora Core 9 to Centos 5.2. Finally!I have a 500GB SATA drive, it's partitioned into three equal size slices, hda1 through 3. The old Fedora was on hda1, I installed the new Centos on hda3. I instructed the installer to write the MBR to /dev/hda, not /dev/hda3. Fdisk says I have sector 0 unused.First, the system wouldn't boot - it just looped through the BIOS, rebooting over and over again. The BIOS sees the disk, but it never loaded Grub. I tried re-running grub-install /dev/hda, and not I get a Grub Error 17 after stage 1.5 loads.
I can boot from rescue OK, the grub.conf man menu.lst look fine, it's pointing to "root (hd0,2)". It's either the BIOS that can't find the MBR, or the MBR can't find Grub.When I looked at the disk with fdisk after the install, hda1 was still marked bootable, hda3 was not, so I swapped bootable flags but that has not made a difference. I also appended the new grub to the old grub thinking I could get the MBR (if it is there) to load the old grub and thence find the new Centos, but that didn't work either.Mobo is an old Shuttle AK35.Any ideas? Did I mess up by not telling the system to put the MBR on /dev/hda3? Is there a way to fix this without reinstalling?
From inside my bash script, is there a way to increase my Xdialog default font size? If not, is there any other way to do it? I found a commercial program using Xdialog with instructions on increasing the font size, but they did not say how they did it. But, it does mean it can be done:[URL]...
View 3 Replies View Related