Software :: Force Program To Run Totally From RAM/swap

Feb 4, 2011

At the moment im using a live linux distribution and running a program to test the security of my website. Unfortunatly this program is running from, and seems to fill up rootfs, at which point the program crashes and dissapears.

Is there any way to force a program to run totally from RAM, which i would presume would automatically use a swap file because of the in built memory management in linux, of which is a 30GB partiton.

I know i could just install the distribution to the partition instead, however it has peaqued my interest in just how much control linux has over the programs running on it.

So the question is - Is it possible to run a program totally from RAM, forcing all inputs/outputs to be re-directed to/from RAM to keep the rootfs clear whilst the application does what it needs to?

View 9 Replies


ADVERTISEMENT

General :: Downloading Program For Pinter Totally Clueless

Mar 13, 2011

I got this printer HP Deskjest 1000 J110a and I have been trying to download their program for Linux Ubuntu 10.10 but I can't figure out what to do next.I am totally new to this. I have a ASUS Eee PC laptop and I don't have Windows because the trial ran out.

View 4 Replies View Related

Ubuntu :: Force System To Use Swap Space Instead Of RAM?

Jul 6, 2011

Is there any way to force the system to use swap space instead of RAM? I just upgrade form 512 to 1 gb. And when I installed ubuntu I give the swap space 1gb according to 512mb RAm requirement. Now I have 1 gb. When I use heavy applications i-e firefox, office, any game etc at a time the processing go to 100% and the RAM use 50+% of the memory. No swap memory will be use. Any way to use swap instead of RAM?

View 6 Replies View Related

General :: Can't Force Reboot From Program?

Jul 7, 2011

running Linux release 2.4.19-uc0, build #511 embedded on a device. It is stripped down to a very minimal configuration and so many of the normal commands are not present.I'm trying to force a reboot from an application I've got running. I've tried the following:

system("shutdown -r");
or
sync();

[code]....

View 4 Replies View Related

Software :: How To Force Program To Uninstall

Mar 9, 2010

Code:
johnh@tux:~$ sudo -i
root@tux:~# apt-get purge webmin-bind
Reading package lists... Done
Building dependency tree
Reading state information... Done

The following packages were automatically installed and are no longer required:
linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic
Use 'apt-get autoremove' to remove them.

The following packages will be removed:
webmin-bind*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 1,339kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 180904 files and directories currently installed.)
Removing webmin-bind ...
/var/lib/dpkg/info/webmin-bind.prerm: 6: /usr/sbin/update-webmin: not found
dpkg: error processing webmin-bind (--purge):
subprocess installed pre-removal script returned error exit status 127

Errors were encountered while processing:
webmin-bind
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@tux:~#

View 3 Replies View Related

Ubuntu Security :: Brute Force Program With Gui?

Nov 8, 2010

im looking for a good brute force program that has i gui. i used to use brutus on windows but now im only running ubuntu so i need to find one.

View 3 Replies View Related

Ubuntu Servers :: Force Java Program To Use More CPU

Mar 23, 2011

I have ubunto 10_4 X86-64 (I use putty to connect)
installed apps
screen
mysql server-client
my java program
open jdk* 64bit
apanche2 (the web server stuff)
and its aVPS machine
Xeon 2.0 64bit 4 GB ram

How can I make (or force) my java program to use more then 1 core? I would like it to be using just 5 of the 6 that I have. I use a .sh to run it this is the code for it.
Code:
#!/bin/bash
cd "${0%/*}"; java -Xshare:auto -Xmx2662M -jar craft.jar

View 5 Replies View Related

Debian :: Force A Program To Use A Specific Version Of GTK When Compiling

Jul 15, 2010

I decided I was going to compile XChat from source today for "fun." What I ended up doing was spending a few hours getting it to compile, then find out everything didn't work the way I thought it did. I was under the impression that after I ran "sudo make install" I was "upgrading", when in reality I'm just installing a seperate version alongside the old one. Apparently I have to keep the old version so every program that was compiled with it will continue to work, so how do I:

1) Force a program to use a specific version of GTK when compiling.
2) Find where my version of GTK installed to.

I've asked some people and I've just been told to "learn LD_PRELOAD". I've googled and can't figure how I could even apply that to my current problem

View 3 Replies View Related

Ubuntu :: What The Shortcut Keys Are To Force Quit A Program

May 15, 2010

what the shortcut keys are to force quit a program that has frozen up in Ubuntu 10.04? I use to know it, but can't remember

View 4 Replies View Related

Ubuntu :: The Program "Force Quit" Is Frozen

Mar 11, 2011

I have added to my Panel the "Force Quit" program to click and use so I don't have to type it in on the rare occasions that I need it. I accidentally clicked it today not needing it. Not knowing this would be an issue, I clicked on it thinking it would force itself to quit and just close itself. I know I should have just hit esc to close it.

The problem I have now is that it is now frozen on my screen and for the life of me I cant figure out how to get rid of it. Yes I tried esc. I tried opening System Monitor and looking for it to end the prog and couldn't find it. I know I could fix this by just restarting the x server, but at the moment I happen to have several things open that I either cannot save right now or are actively running.

View 7 Replies View Related

OpenSUSE Install :: Swap Partition : Need To Check Swap File System?

Mar 20, 2011

Does one need to Check the Swap filesystem, from time to time

View 4 Replies View Related

Ubuntu :: Swap Space Shows 0k But Have Volume Formatted As Swap

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

Ubuntu :: Swap Or Swap File On Flash Memory?

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

General :: Use Windows Pagefile.sys (swap) As Swap?

Feb 19, 2010

I know it's possible, but does anyone have a URL or tutorial on how to do this?

View 3 Replies View Related

Ubuntu Installation :: Apt-Get Totally Broken ?

Apr 9, 2010

Today I tried updating my system, and was greeted with a rather annoying message.

Code:

View 5 Replies View Related

Ubuntu Installation :: Totally Remove 8.04,Keep Win XP?

Apr 27, 2010

I have an old Compaq w/ 40g HD & 1g RAM.

When I boot up I see on the Boot Screen:

Ubuntu 8.04.3 LTS Kernel 2.6.24.25 rt
Ubuntu 8.04.3 LTS Kernel 2.6.24.25 recovery mode
Ubuntu 8.04.3 LTS Kernel 2.6.24.16 rt
Ubuntu 8.04.3 LTS Kernel 2.6.24.16 rt recovery mode
Ubuntu 8.04.3 LTS Kernel memtest86+
Windows XP Home

[Code]...

View 5 Replies View Related

Ubuntu :: Xorg Totally Screwed Up?

Oct 19, 2010

I plugged in a second monitor to my new Meerkat installation and xorg stopped working.

When I took the monitor away it still wouldn't work, so I tried entering with safe graphics and that wouldn't work.

I uninstalled xorg and reinstalled and ran the dpkg-reconfigure xserver-xorg but still no luck.

I have tried reverting the vesa driver but it still won't work. The screen flashes like it's trying but just gives up.

I don't know what to do now except reinstall the partition.

View 9 Replies View Related

Ubuntu :: Files Are Totally Jumbled?

Apr 6, 2011

The file system on my computer has become completely confused and out of sync. When I go into "documents," for example, I get the MPlayer for audio/video! I go into "home file" and get an audio player for streaming FM!Not every file is out of sync, but many are.I believe this situation started a few weeks ago when I decided to install MPlayer. I like MPlayer and especially its flexibility with regard to playing several kinds of media. I downloaded MPlayer and tried to make it my "default" player; I think that may have been the problem. Ever since then my files have been doing weird things and I'm unable to retrieve things (like documents) that I really need. Any suggestions as to how I can begin to clean up this mess

View 9 Replies View Related

General :: How To Totally Back Up System OS

Jun 24, 2011

Our company had a vendor doing some data transformation work for us that we recently decided to take in house. They were good enough to transfer all their processes to a pc we gave them and it's running great. Only thing is that its a linux OS and I have no idea how to do anything other than what to click on to run programs.

Its OS version 2.6.34.8-68.fc13.i686.PAE. KDE SC version:4.5.5

I know that at the bottom left where there would be a windows button on a Windows PC there is a blue K button. That's ALL I know.

First thing I'd like to know is how to totally back up this system OS and all so that if something happens I can load it onto another PC. I'm pretty panicked because it IS an old pc it's on. Then, I'd like to know what is this exactly and how can I learn what I have here

View 4 Replies View Related

General :: One Command To Totally Reformat Box?

Jan 11, 2010

I want to start totally from scratch on Linux server I installed the other day. No dual boot, no personal files, etc... on it.

Fdisk -l shows the following:

Disk /dev/sda: 320g
255 heads, 63 sectors/track, 38913 cylanders
units = cylanders of 16065 *512 = 822...bytes

[code]....

All the info I have found has multiple steps, but in my situation is there just 1 easy command to do this? If not, can I just reinstall from CD and it will reformat and let me customize more? If I have to use the several steps to reformat, can you explicitly type out exact commands for me? I am completely new, have to learn all this, and all the referece books/materials kind of scatter the info around.

View 5 Replies View Related

Debian :: Totally Replacing Gnome With Xfce 4.8?

Jun 27, 2011

I have been trying to decide which distro of linux i want to use, and i decided to go with debian because i keep reading that it is very stable. I currently am installing it in in virtualbox first to make sure i like it. I wanted to use xfce instead of gnome but forgot to specify that in the beginning. The install takes a while and i didn't want to start all over if that is possible. I am wondering how i could completely replace gnome with xfce.

View 11 Replies View Related

Debian Configuration :: Totally Clean A System?

Mar 26, 2010

The purpose of that topic is to identify if there is any way to totally clean a debian system and make it like a fresh installed system (of course i amn't refering to packages because aptitude is just perfect?

View 3 Replies View Related

Ubuntu :: Totally Screwed Up Audio And Mounts

Jun 29, 2010

I had it working perfectly everything worked including my headset. The only problem was certain programs were too quiet for my taste and seeing as i have a laptop and cant manually turn up the speakers i looked for a solution and found

Code: [URL] I followed those directions to try and boost the poor sound volume that has plagued me in ubuntu distros. Instead sound sparsly works. It is quieter than was, and if chrome is open at all no sound will play at all in rhythmbox or amarok(the play button dont even works it just sits at 0:00) Only after chrome closes does it play my music files again but only on this partition. As now my windows partition thats also located on this fakeraid just magically disappeared.

how to fix this as i dont even know what i did to begin with. how i can trash kde and start over from within gnome(havent tried to see if it works there yet though) EDIT: Logged back in to gnome and everything works fine. The missing partition is auto mounted like i wanted, the sound is perfectly fine. Obviously something got screwed up in the kde config but i dont know what or what to look for as i have never used kde before.

View 7 Replies View Related

Ubuntu Multimedia :: How To Delete Rhythmbox Totally

Nov 29, 2010

How do I remove rhytmbox. I cannot remove and reinstall some plugin that are not working right. They need root permission. How can I remove the program from the roo and start over.

View 2 Replies View Related

Ubuntu :: Way To Totally Turn Off Hibernate Option In 11.04

May 1, 2011

I was looking for a way to totally turn off the Hibernate option in 11.04, and not just remove the option from the menu. I have read that you can easily disable hibernate from System>Preferences>Power Management but as far as i can see I have no options in there to do such.I found this and similar pages: URL... I do not have the key named can_hibernate anywhere under my gnome-power-manager.I read that this is the option that only removes the "hibernate" option from the power menu, but actually does not disable the service, can anyone confirm this?URL...

Just curious but disabling hibernate in linux save you hardisk space like it does in windows (still quite new here)?

View 1 Replies View Related

Ubuntu :: Totally Wipe And Install Windows Xp?

May 1, 2011

I have ubuntu network remix on my netbook. How do I completely wipe off ubuntu and install Windows xp on my netbook? My netbook doesn't come with a cd/dvd reader so I have to install it through a pendrive. I got my own windows xp iso ripped from my desktop,ready to go.

View 7 Replies View Related

Ubuntu :: Uninstall 11.04 Totally From Hard Drive?

Jun 11, 2011

I want to uninstall ubuntu 11.04 totally from my hard drive want to reinstall ubuntu 10.04 ,i have windows7 on drive as well dual boot i would like to make the windows partition smaller so ubuntu 10.04 has more room ,is ther a way to do it with out having to reinstall windows

View 3 Replies View Related

Fedora Installation :: Install In Text Mode Totally?

May 19, 2009

I wanna install Fedora 10 in text mode and use it in text mode. So i wanna know what kinda packages or software i should exclude when installing to save some time and space.

View 1 Replies View Related

Fedora Security :: How To Create A Totally New SELinux User

Jun 4, 2009

Currently working on the targeted policy, I need a help in doing the following things as quick as possible:

1- How to create a totally new SELinux user (not mapping new linux user to SELinux user) I want a new user with no roles or with a maximum of 1 role. I also need how to compile the new user so I can used it for mapping users. At the time, I've tried creating a new file inside /etc/selinux/targeted/contexts/users similar to the other users inside this directory, but it did not actually seem to appear when using the command semanage to list SELinux users : semanage user -l
2- How to create a totally new SELinux role (empty for now) ? and how to make the relation between this new role and domains or types.
3- How to create new domain, actually following some old instructions I created the .fc and .te files, but not the .if file, which is more complicated than the other 2 file.

View 10 Replies View Related

OpenSUSE :: Bottom Of Screen And Totally Stumped As To How To Get It Back

May 30, 2011

slightly embaressing but luckily I had firefox open at the time. I have managed to delete my panel at the bottom of my screen and I'm totally stumped as to how to get it back.I'm pretty new to linux, having dabbled with it in the past.. finding it much better than said mainstream OS *Ahem* .The reason I deleted it by accident was I right clicked on it and deleted panel thinking I'd just added another panel to it. D'oh. My firefox isn't touching the top of the screen either, I think I created a panel up there but I can't see it or anything

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved