Red Hat / Fedora :: Small Script, Which Finds The Size Of "/" And "/var" FS, If It Exceeds 80% It Should Alert?
Apr 6, 2011
I wrote a small script, which finds the size of "/" and "/var" FS, if it exceeds 80% it should alert me. The below is my script.
hname=`hostname`
FS="/ /var"
Size="80"
[code]....
View 4 Replies
ADVERTISEMENT
May 11, 2011
I have one hard disk (call her HDA) that contains nothing but a single ext4 partition containing a backup of all my important data. Last night I did a clean install of Ubuntu 10.10 on my primary hard disk (call her HDB) and from there proceeded to upgrade directly to Ubuntu 11.04 upgrade. In 10.10, I was able to read HDA just fine. However after the upgrade, I can no longer mount this drive. When mounting from file browser:
Code:
Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sda,missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so The end of dmesg said the following:
Code:
dmesg | tail
[ 82.130904] EXT4-fs (sda): bad geometry: block count 122096646 exceeds size of device (122096381 blocks)
my hard disk has a block count greater than the size of my device. I've done my background searching on this and tried a command line utility I've never heard of before:
Code:
# sudo e2fsck /dev/sda
e2fsck 1.41.14 (22-Dec-2010)
The filesystem size (according to the superblock) is 122096646 blocks
The physical size of the device is 122096381 blocks
[code]....
this is as far as I've gotten. This drive holds over a decade's worth of work for me and is extremely valuable. I really didn't think that the Ubuntu upgrade process would mess with this drive, seeing as the Ubuntu install was contained on an entirely different drive. What is it that I need to do to restore my drive to working status?
View 9 Replies
View Related
Jan 12, 2010
i am running now Windows 7 on a virtual machine.the windows of the VM remains small.when i resize the windows,, the desktop window of windows 7 remains the same size.is that normall?i would like to have a reasaneble windows size of the VM
View 4 Replies
View Related
Mar 28, 2011
I am looking for a utility that would do the following:1. Be run manually on a list of files whose sizes should not change, to get a control file containing the sizes of each file.2. Subsequent manual runs would report any changes in size of any of the files in the list, and allow option to accept the new sizes.3. Be run as a cron job to check for changes in the file sizes and send an email alert if a change has occurred since the last time it was run.The purpose is to detect possible hacks of key files on a website. It would not include files expected to change, but just those that should not change. It would be run manually a few times to get the control list one wants to monitor.
View 3 Replies
View Related
Jun 10, 2010
Are there software that can split big file size into small file size in Linux?
View 1 Replies
View Related
Jul 3, 2011
I am running openSUSE 11.4 KDE 64bit. I found the default font in YAST, for example, in Bootloader and Software Management, is about 8-9 points which is too small to read. Why on earth does openSUSE set a tiny font size as default?
I did try Configure Desktop >Application Appearance, etc. as well as qtconfig in the terminal but these seem not to increase the font size to 12-14 points.
View 3 Replies
View Related
Jun 5, 2010
The font size on Chromium for the URL and tabs is *far* too small. I went into the "Under the Hood" settings, but to no avail. How can I make this bigger? [URL] Also, the bookmarks bar seem to be inheriting system fonts, but it looks like that size is hard coded too. I love chromium but I need some accessibility here.
View 6 Replies
View Related
Sep 16, 2010
i was using eclipse in windows 7, th fonts are small so I can see the code good. But I want to use in Ubuntu so I setup. But here the font size is huge and windows are taking more space and I am unable to code.How to reduce the overall font size and make it small?
View 4 Replies
View Related
Dec 20, 2010
Does anyone know how to change the font size of the user interface elements of the chromium/chrome browser? I've searched around for a solution but only come up with how to change the font size of viewed sites. Just to be clear, I want to increase the font size of the tabs headings, bookmark menu etc, not the font size of the sites I'm viewing...Using chromium on lucid...
View 2 Replies
View Related
Jan 19, 2011
am installing 10.10 on a 7.5GB hdd.
Can anyone recommend what partition(s) i should create, (primary/logical)|(size)|(filesystem type)|(mount point).
It has 1gb ram, although that will be upgraded to 2 in the next few days.
View 2 Replies
View Related
Jan 14, 2010
Should the swap file be as large as possible or as small as possible providing a person has 8GB of installed ram.
View 14 Replies
View Related
Sep 9, 2010
I'd like to know if anybody knows if is there a any small hardware board (I think non i386 architecture, maybe mips or arm) board suitable for using for linux routing systems (routing features + iptables).For example an small board with at least two ethernet interfaces capable to run an update version of Linux.May be something similar to microtik routerboards, but to run Linux within.
View 6 Replies
View Related
Jan 25, 2010
I installed Suse 11.2 on my computer... i have 42" screen threw my HDMI output at 1360x768. now.. when i booted it up the first time.. .the text on everything was so small i could hardly read it... so i went and adjusted it threw my System settings by clicking on "Configure Desktop" changed everything to "Sans Serif 15"... BUT.... everything in YAST all the text is NOT readable... ANY ONE KNOW how to fix that..everything BUT yast is just fine...
View 3 Replies
View Related
Oct 21, 2010
im using gimp, and im trying to draw something from a photo. but the thumbnail preview is too small. i have to keep opening the photo to see new details.
View 6 Replies
View Related
Dec 9, 2010
I installed "Ubuntu 10.04 LTS - the Lucid Lynx" Amd_64 version on my dell vostro 1015. My screen resoultion is set to 1366*768(16.9) by default because the font size on web pages looks too small. I am not able to understand if it is font size too small or is it a resolution set too high. I am trying to fix this because I find very difficult to read web pages specifically. I tried to zoom in on firefox, but that is not permanent solution.
I want to decrease my screen resolution. I opened drop down and I find following:
None of the above resolution suits my laptop. The monitor type identified by Ubuntu says Laptop Monitor.
View 4 Replies
View Related
Mar 8, 2009
I've created a custom pclinunx os minime remaster for a friend. The only thing it lacks is a CD burning program. The problem is that I'm on dialup and can't use synaptic to install K3b. I don't know if I have the dev tools needed to compile it. Can you recommend me a light CD burner app with small size and few dependencies?
View 6 Replies
View Related
Apr 20, 2010
I'm looking for a programmable way to open an editor with a small window size. For example 60 columns and 3 lines. So I need an editor that can take its initial window size from command line args or environment variables, or possibly from an initial command that can be given on the command line.I've looked at documentation and experimented with gedit, gvim (and vi & vim), and nano and I don't think any of them can be controlled this way. Vi and its friends have a "window" option and also a "resize" command, both of which are described as setting the number of rows, but they don't change the graphical window size they just change the number of rows displayed in the window.
View 3 Replies
View Related
Jan 3, 2010
I am have upgraded from 9.04 to 9.10 in my laptop. After performing the reboot, the shell/console resolution went very high and the font size went too small. How to regain the old console shell resolution as in 9.04. I require this urgently as my laptop suffers the white screen problem. Switching between Ctrl+Alt+F6 and Ctrl+Alt+F7 I could get back the screen as the change in the resolution switches off and on the screen, so that I can negotiate with the white screen problem.
View 10 Replies
View Related
Dec 1, 2008
i just wanna know if there is some script out there for shutting down a certain service if the load exceeds a specified value?
I've a system with a DBI-Proxy running, most of the time the systems load is about 2~3...if a DB-connection dies, the load rapidly increases (very fast) and after some seconds the load is > 200 and i'm no longer able to shut down the DBI-Proxy manually...or do anything else via ssh...
Now i wanna have a script running in background that checks the system-load permanently and stops the DBI-Proxy if the load exceeds...well, lets say 10 or whatever.
View 1 Replies
View Related
May 3, 2010
It's about the promt for default keyring password after ubuntu boot. I cant get a screen-shot as print-screen doesn't work at that point.
The password mask (*******) symbol font size is smaller than any other password prompt (for instance gksudo). Is it only me ?
Should I report it as a bug ?
It's a minor problem but may be it's caused from something more serious as I have other problems.
Also this dialog window (of the keyring prompt) doesn't "woble". By that I mean that the effects that I've set are not applied to this window?
View 4 Replies
View Related
Aug 12, 2010
FC13 and Ubuntu 10.04 - both 64bit. Hardware: MBP 5,4 Here's how I do the install:
1. Boot to Ubuntu LiveCD and wipe disk.
2. Create a msdos partition table via gparted
3. Reboot from FC13 or Ubuntu install disk and continue to install with installer suggested partition scheme.
4. Reboot and get an error that says "uncompression error -- System halted"
Variation that I have tried:
1. After #3, boot into FC13 or Ubuntu rescue mode, chroot to hd image and run:
# grub
> root (hd0,0)
> setup (hd0)
> quit
2. Create a 250MB partition where I installed refit and use rest of the disk for Ubuntu or FC13. After installation, both Ubuntu and FC13 halt at the same error.
3. gptsync fails with no refit installed. Finds GPT table empty. LiveCDs from both distros work fine so ruling out hardware issues like bad memory etc.
View 1 Replies
View Related
Feb 2, 2011
getting this bug report on starting fedora 13 in hp laptop
WARNING: at drivers/pci/dmar.c:647 check_zero_address+0x96/0x19b()
Hardware name: HP Pavilion dv6 Notebook PC
Your BIOS is broken; DMAR reported at address zero!
BIOS vendor: Hewlett-Packard; Ver: F.42; Product Version: Rev 1
Modules linked in:
[Code]...
View 1 Replies
View Related
Oct 14, 2009
How do you change the volume of the terminal alert bell in F11? (the sound you hear when you press the tab button). I turned the sound all the way down and muted the "Alert volume" in System>Pref>Sound but I still get a deafening bell sound whenever I press the tab button.
View 8 Replies
View Related
Jul 30, 2010
I sue Fedora 13. Since a few times ago, every time when I start the computer, it appears a message of SELinux trouble shooter about a security alert. But most of times there are no errors to show.
View 9 Replies
View Related
Jan 19, 2011
is lvresize with --resizefs options re-size the Logical Volume and then re-size the file system? i mean we don't need to use resize2fs?I looked at man pages but it doesn't explain this option.
View 3 Replies
View Related
Dec 14, 2010
How can we find the maximum size of the inode table and what decides it, and how the maximum size of volume of file system is decided ?
View 4 Replies
View Related
Feb 6, 2010
Everytime I login the SELinux Troubleshooter panel applet alerts me that I have 1 alert to view, however when I click on the icon and bring up the Troubleshooter there are no alerts
View 2 Replies
View Related
Feb 10, 2010
I recently decided to try installing Command & Conquer Red Alert 2 Yuri's Revenge from an old iso file I had floating around my hard drive. I first mounted the iso and copied the files from it into a folder. I then used Wine to install. Everything went according to plan until I went to run the game. When I tried running Red Alert 2 (original) an error message popped up: Error - Unable to set the video mode. When I tried running Yuri's Revenge the same thing happened with one small exception, the first couple of times I tried the Yuri's Revenge splash screen popped up before showing the error message. However the splash screen no longer pops up.
View 1 Replies
View Related
Jan 21, 2010
In general I love Ubuntu Karmic, and think it's the most polished Gnome distro out there, but since installing it on my laptop alongside Fedora I haven't been able to boot into the latter.
I know that I could fix it by adding an entry into the 40_custom file, but wonder if there's a simpler fix.
The command
Quote:
sudo update-grub
actually finds and lists the Fedora Constantine kernel, but it still doesn't appear in the bootloader menu. Before I delve around and break something, does this mean that there's a line commented out in one of the config files?
I'm not going to slag off Grub 2 because I can see that it has clear benefits, especially for power users, and I don't mind change if it brings clear benefits. So long, /boot/grub/menu.lst.
View 9 Replies
View Related
Mar 10, 2010
Currently I have one instance of Avidemux indexing a 16GB mpeg2 file, another instance of Avidemux transcoding a 4.7GB mpeg2 file into an 860MB mpeg4 (by two pass encoding with fully exhaustive motion detection, extra quality filters, and a wide VBR range), vlc playing a DVD-quality avi, totem playing a DVD-quality ogm, and I'm capturing video from a pvr card.. With compiz managing the desktop (with all the most disgusting eyecandy on: wobbly windows, Atlantis, desktop sphere, experimental plugins from git, etc).My processor (3GHz Athlon x2) is completely maxed out of course... but I can't seem to raise the memory usage over "1.2GiB (16%) of 7.8 GiB"Is that normal? Is there something else I could do to test my memory capacity? (as in really usefulapplications, not just benchmarks)?Alternatively, if karmic is never going to use the rest of that memory, I might opt to run some parts of the desktop environment and/or kernel from a ramdisk.
View 9 Replies
View Related