Ubuntu :: Finding The Squid3 Swap File Location?
Jul 14, 2010
I got squid3 installed on ubuntu server 10.4. I believe it is up and running as I can browse the internet on my other computers.I followed one of the tutorials on the net and looked at others for guide as well. Everyone of them did not mentioned that we have to create the swap files. Are we suppose too? I couldn't find the location of the swap file anywhere on the server.
View 1 Replies
ADVERTISEMENT
Oct 30, 2009
I am using linux machine and execute a command vm-install to perform some operation. How would I find the exact location of this file.
View 1 Replies
View Related
Jul 16, 2011
I have 2 external hdd in wich I have all my files.... yesterday, I have copied all the files from hdd2 to hdd1 and I want to eliminate duplicates so I used FSLint to find them, now, I have a txt file that looks like this:
Code: /media/My Book/!!!MIS DOCUMENTOS/Documentos/2 sep2003-jun2009 USB/!TESIS/TESIS/TESIS CVT LABVIEW Y CODEWARRIOR/LabVIEW85RuntimeEngineFull.exe /media/My Book/HDD_Toshiba/Borrable/Pen_Drive_4GB/Tesis/Super CD de la tesis/LabView/LabVIEW85RuntimeEngineFull.exe multiplied by millions of entries...
now I want to make a shell script to delete all the files/entries (read from the log file) that begin with:
Code:
/media/My Book/HDD_Toshiba/**** Since HDD_Toshiba is the folder in hdd1 (MyBook) that contains all the files from hdd2
View 1 Replies
View Related
Apr 28, 2011
can you move your swap to a new location after a install and if it is possible will it give any kind of performance boost if it is moved to a separate hard drive? I did this on my XP machine and it made a pretty big difference in over all speed of the machine and wanted to try this on my Ubuntu machine, assuming it will even make and difference in performances.
View 3 Replies
View Related
Aug 16, 2010
RAM for older machines like I use is fairly cheap these days. But flash memory is just as cheap or cheaper. So I'd like to ask about the feasibility of expanding my system's memory using flash memory. And about whether creating a partition for swap on the flash memory, or whether a swap file on the flash device, is the better way to go.
By flash memory I have in mind mainly USB sticks or what are sometimes called "pen drives." But I do also have CF and SD cards that, with the proper cheap adapter (one of which I already own for adapting CF) could be used to create extra swap space. So, what is the current consensus on the feasibility/advisability of using flash memory for swap? I've read about the limited write cycles of flash being an argument against using it for swap. But recent reading indicates to me that the limited write cycles problem applies mostly to older, smaller-capacity flash memory. Some will come out and say that, for larger-capacity flash memory, the life of the device is likely to exceed the amount of time your current computer will be useful (I think I've seen estimates in the range of 3-4 years life--minimum--for newer, higher-capacity flash memory).
A more persuasive argument I've heard against using flash memory for swap is that access times for these devices can be much slower than SATA, and maybe even IDE, hard drives. That would certainly dictate against using flash memory for swap.
So, how about some input on this issue? Anyone using flash memory for swap? If so, what kind (e.g., usb stick or SD/CF)? Are you using a swap file or a swap partition? How's system performance? Likewise, has anyone had flash-memory-used-as-swap die on them? The consequences would undoubtedly be dire. Also, has anyone measured flash memory access times to confirm or refute claims about slow access times? Are some types of flash memory better/worse than others in terms of access times?
View 2 Replies
View Related
Mar 24, 2011
I'm using ubuntu 10.04 and PostgreSQL 8.4.7. I need to find out where PostgreSQL is located so I can run commands. I successfully installed PostgreSQL without changing any of the defaults. Matthew & Stones' Beginning Databases with PosgreSQL From Novice to Professional, as well as the PostgreSQL documentation, indicates the standard location is /usr/local/pgsql/bin/ but it's not there; it's somewhere else (ps -el | grep post confirms it IS running and psql is able to do du to display the list of users and l to display the list of databases).
But when I tried to create a new user by running /usr/local/pgsql/bin/createuser the command was not found. I tried to locate the installation by running pg_config --bindir but it said pg_config was not installed. I downloaded pg_config and its dependencies and tried to install them with the package installer, but it wouldn't go because something is wrong with the libkrb5-3 and libkrb5support0 packages - they won't install and the package installer just zips through without reporting missing dependencies or anything. The MD5, SHA1, and SHA256 checksums all match, but they just won't install. I then tried the libk5crypto3 package just to make sure something wasn't wrong on my end - it installed fine. So I searched the PostgreSQL FAQ and found out how to get the version without pg_config by doing a SELECT version(); query. here appears to be no corresponding SELECT bindir(); query. A plain ordinary file search for pgsql, postgresql, etc.
View 3 Replies
View Related
Mar 20, 2011
Does one need to Check the Swap filesystem, from time to time
View 4 Replies
View Related
Feb 23, 2011
I've used ps -p to find a certain program. but how can i find the location of this program? as in the path to this program.
View 3 Replies
View Related
Oct 16, 2009
I'll start by explaining what my system layout currently is. I have Fedora 11 X64 installed on my system, it is an HP Dv9380ca laptop. My system has 2 hdd /dev/sda /dev/sdb. During the setup i set my home directory to reside on /dev/sdb. After booting i realized that my root and swap partition are part of a volume group name vg_sharpfed and are set in fstab as:
/dev/mapper/vg_sharpyfed-lv_root / ext4 defaults 1 1
/dev/mapper/vg_sharpyfed-lv_swap swap swap defaults 0 0
Output of Fdisk -l /dev/sda
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1aecda8d
[code]....
My /dev/sda2 partitions is 100gigs and set as an LVM. Essentially what i am getting at is, if it's possible to temporarily copy / /boot and swap to my second partition, edit grub if needed and fstab to mount to the temp locations, format sda to ext4 create partitions for / /boot and swap partitions, then copy back the original directories edit required fstab to mount the original locations and no longer have them contained in a Logical volume.
View 3 Replies
View Related
Feb 1, 2011
location where I can download Debian 5.0.0 or any Debian 5 prior to 5.0.8? I've checked some of the archive sites but they seem to only go up to Debian 4.
View 2 Replies
View Related
Oct 7, 2010
Where are downloaded packages saved when i download using yum?
View 2 Replies
View Related
Jan 8, 2011
This simple task is proving harder then imagined. I have a multi-level directory that I'm trying to clean of duplicates, but I can't get 'find' to print what I need to see. To give an illustrative example, here is a dir:
Code:
stuart@stuart:~/testdir$ ls *
dir1:
level2:
dir1
So the output of find as i'd like it to work would show the two locations of dir1, which would be ./dir1 and ./level2/dir1. But no:
Code:
stuart@stuart:~/testdir$ ls -d */ | head -1 | find . "`cat`" -type d
.
./level2
./level2/dir1
./dir1
dir1/
View 2 Replies
View Related
Mar 20, 2010
I avoid capslock like the plague and use "ctrl:nocaps" when in X, and would like to have the same behaviour in the console. Back when I was using Debian I got it set up the way I want, but now I can't seem to locate the default keymap. I tried editing
Code:
/usr/share/kbd/keymaps/i386/qwerty/defkeymap.map.gz
and it works when I use loadkeys manually, but not on boot.
View 3 Replies
View Related
Mar 12, 2010
in case you have been wondering how some websites hide the exact location of a file on their filesystem, just thought i'd share it with the commnity at large in case someone else is looking for something like this.i take no responsibility for how it is used.
View 4 Replies
View Related
Jan 26, 2009
I'm looking for a tool that can directly convert mp3 file to a swf file. Tried ffmprg - 'ffmpeg -i master.mp3 -ar 22050 -ab 32 -f swf -y -vn new.swf', output is as follows:
Output #0, swf, to 'new.swf':
Stream #0.0: Audio: 0x0000, 22050 Hz, stereo, 0 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Unsupported codec for output stream #0.0
I found a way to perform this task using ffmpeg to convert the mp3 file to a wav file, and converting the wav into a swf file using swftools (wav2swf), although this is not a good option because the output swf file size is very big - for a 12mb input 320kbps stereo mp3 file, the swf file is 25mb. Also downloaded a free direct mp3 to swf conversion software, which had an output swf file - with the same 12mb mp3 file - of ~400kb.
The requirements I have from the tool are:
1. Can be ran from the shell.
2. Direct conversion, or an indirect one that will produce a small output swf file.
3. Suport for multiple file conversion is a plus.
View 6 Replies
View Related
Mar 19, 2010
I am using ubuntu 9.04 on my laptop from past 8 months. These days when I boot my laptop, The booting process takes more time on the following step:
Activating swap file
View 6 Replies
View Related
Aug 17, 2010
I'm having problems using a swap file to increase swap space in Linux. I followed the instructions for creating a swap file, as shown here:
[URL]
It works, and I increased my swap space. But when I reboot, I'm back to the original amount of swap space I had before. The swap file I created is still there, but it's not being used as swap space. I tried remounting the swap file but it doesn't work.
Also, it seems there isn't an fstab entry created for the swap file. Strange, huh? I don't think it made a difference but I manually copied the UUID for the swap file and made an entry in fstab.
I may be wrong, but from what I can tell the UUID of the swap file keeps changing every time I reboot.
So basically every time I reboot I have to repeat the instructions shown above to get more swap space.
View 6 Replies
View Related
Jan 31, 2011
I have read somewhere, that Ubuntu can not suspend itself into a swap file, is that true?
View 6 Replies
View Related
Nov 29, 2010
File is named similar to : logout 10.10.10 100817.txt
I need to copy this to a new directory.
To fine the latest file I was advised to use code...
View 3 Replies
View Related
Dec 30, 2010
How would I edit, from Terminal, the programs that run at boot? I'm making a project that's actually kind of cool and I need to add a program and remove a program, all without using a GUI.
View 2 Replies
View Related
Feb 1, 2010
I want to move my swap file onto a new extended hard drive.
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1243 9984366 83 Linux
/dev/sda2 1244 1305 498015 5 Extended
/dev/sda5 1244 1305 497983+ 82 Linux swap / Solaris
I want to put a 2Gb swap file on sda2.
> dd if=/dev/sda2 of=/mnt/2Gb.swap bs=1M count=2048
0+1 records in
0+1 records out
1024 bytes (1.0 kB) copied, 0.000388458 s, 2.6 MB/s
Why is this only copying 1.0kB? Do I need to format the extended drive first? I have tried specifying the block size and count a number of different ways with the same results.
View 8 Replies
View Related
May 20, 2010
Currently running 10.04 and Cacti latest version and although my RAM is only just over 3/4 used my swap file is growing. If I leave the box running for about a week the swap fills and the system grinds to a halt.Is there some way of seeing what's in the swap so I can debug the problem and get my system more stable again?
View 5 Replies
View Related
Oct 20, 2010
a possibly preposterous question. I am aware that you can designate a swap file or swap partition on your hard drive that linux uses as "memory". Suggested sizes for the swap file that I've seen range up to about 1024MB. Is there a limit to the swap file size that you can set?Basically I am running a perl script that processes a massive B) file (DNA sequence data), etc, and requires around 48 GB of memory to run, maybe a bit less. So, would it be possible to set a swap file to a massive, ridiculous size (~60GB oratever) and successfully run such a script on a desktop?Yes, I am aware that it would massively ow down the process. The thing is, if the perl script normally completes in about half an hour, and I can get it working on a desktop, I don't mind if it takes days or weeks to complete. I really don't. That's because it takes days or weeks to get access to a computer with the required grunt to do it.So, is this a stupid idea? Is it even possible? If so, given a perl script that normally completes in a half hour on a 48G system, if you do this, would it take days? weeks? decades
View 7 Replies
View Related
Nov 2, 2010
I currently have Ubuntu Desktop 10.10 installed and have a great setup. However, I'm trying to install another OS on the hard drive and need to remove a partition. I've read online that I can remove the Swap partition and use a "Swap file". My question is this: Is it possible to replace the Swap partition with a "swap file" without having to re-install linux?
Dual-booting: Mac OS X 10.6.3 / Ubuntu Desktop 10.10
Macbook Pro 6,1
2.8 GHz Intel Core i7, 4 GB RAM
View 5 Replies
View Related
Sep 24, 2010
I would like to copy a Compiz settings file to a new installation, so I would not have to go through all the customizations again. Is this possible?
View 3 Replies
View Related
Apr 26, 2011
I'm working with a program that uses Open Motif to create all of the widgets, including the Open File dialog box (obviously). However, Open Motif being kinda old-timey, 80's vintage, and for the most part now an abandoned project, it is quite clunky. So, actually what I need to do is to open some files located on my work server. I have already successfully connected to the relevant server directories with Samba, and with programs built with GTK+ (such as GIMP) I can open files across the network because I have created a bookmark in Nautilus, and those bookmarks appear in the Open File dialog box created by GTK+. Now, Open Motif is different: it doesn't see network locations, orNautilus shortcuts. When I type "smb://serveripyadayada" in the search folder, it really doesn't like it and complains. So, what do I do? Can I get somehow Open Motif to open a network location? Or can I do a run-around and place a shortcut in the file system that points to the network location?
View 2 Replies
View Related
Dec 7, 2010
Lucid on an Acer Travelmate800.Can anyone tell me why I have 0k for swap space? I allocated swap which I can see in my Disk Utility's 'volumes' display.
View 5 Replies
View Related
Jan 26, 2010
I am sitting in front of an Ubuntu which was installed previously by someone else. How can I find out if a swap partition was defined?Is it always a swap partition or only a (ONE) swap file (like in Windows XP) ?If there is currently no swap partition: How can I create one and tell Ubuntu to use it?How can I conversely tell Ubuntu NOT to use a separate swap partition but to use
View 2 Replies
View Related
Feb 15, 2010
My swap file is 5.8 gb and I have a swappiness of 60. Is there any reason to increase any of these values?
View 9 Replies
View Related
Jun 28, 2010
Alright, I just wanted to see if this would even work, so I installed Ubuntu Lucid Linx 10.04 on a 2001 Sony Vaio with 1.7 Ghz. Intel P4 processor and, yes you're reading this correctly, only 256 MB of PC2100 Ram. I dumped in my own PCI wlan card and 64 MB Radeon 9000 Pro AGP card, then I did the installation.
Although I already ordered 2 mem chips (512 MB each) for this system which will max it out, I also created a 5 GB swap partition since I figured that this would greatly enhance the installation and consequent usage thereafter. Now mind you, the installation of 32bit Lucid worked like a charm. Slower than normal, but like a charm. Wifi is working and even the 3D desktop settings are working in advanced mode. BUT the system is just way too slow to react to the mouse and keyboard. I'm certain that the lack of memory has a lot to do with that although I was secretly hoping that the huge swap file would help to make a big perfomance difference. So here now my questions:
1. The swap file doesn't really appear to have made any difference at all. How come?
2. If I wanted to "downgrade" to Xubuntu, how would I accomplish this?
3. Would it be a better idea to just start over with an installation of Crunchbang instead?
I'm trying to get this system working for a relative who's never had a computer before. Whatever I end up with on this machine has to be as simple as possible to use while maintaining some semblence of decent perfomance. I'm sure before too long they'll want to enhance their desktop looks/theme as well so consideration needs to be given to that too. Your suggestions and comments would be appreciated. Again, Ubuntu Lucid runs just fine, although really really slow. Internet is no problem.
View 5 Replies
View Related