General :: Grep The .img, But When Do It Runs Out Of Memory?

Feb 22, 2010

I am attempting to recover a deleted text file. I used dd to make an image of the sectors on the hard drive which contained the data. Now, since I am not getting good results with foremost, and know all of the lines I'm looking for contain "Style", I want to grep the .img, but when I do it runs out of memory. I have tried the grep option -D, set to skip, and tried adding a 3GB swap to account for the 2.7G image. It still "exhausts" it's memory, and it seems to happen really quick now.this is the output of ulimit -a

Code:
root: $ ulimit -a
core file size (blocks, -c) 0

[code]....

View 12 Replies


ADVERTISEMENT

General :: Name Of Memory Filesystem Runs In?

Feb 7, 2011

Once I deleted a log file and recreated it. After I did so the new log file was not being written to. I was told that it is because the file I deleted is still running and being used in memory. What is the memory portion called(such as user space) that the filesystem run in?

View 5 Replies View Related

General :: Enough Memory - GIMP Slideshow Runs Very Slowly

Jan 2, 2010

Just wiped Windows on a Dell Inspiron 8000 and installed Ubuntu. Most things going well but ran GIMP today and noticed the dissolve very slow. Think I might need more memory? I typed $ free -m and got this:

total used free shared buffers cached
Mem: 497 483 14 0 15 215
-/+ buffers/cache: 251 245
Swap: 839 43 796

I take this to mean I have 500MB of memory but most of it is used up on something? Does this explain why opening new windows incurs a lag of a few seconds and my GIMP slideshow runs very slowly? I was a pretty good Windows user but know very little about Linux.

View 8 Replies View Related

Hardware :: Why Dmesg / Grep Memory Gives Two Different Physical Memory Amounts

Oct 20, 2010

I am monitoring physical memory in a server I administer, and my hardware provider told me they had increased physical memory size to 4Gb... However, using several tools (free -m; top; dmesg | grep Memory; grep MemTotal /proc/meminfo I discovered that I actually have 3Gb, not 4... But, my doubt comes from the fact that dmesg | grem Memory tells me I have 3103396k/4194304k available The first number is effectively 3Gb, but the second one, is 4! so, why I am looking at this two different numbers?

View 1 Replies View Related

Ubuntu :: Launcher For Quake That Essentially Runs A Shell Scripts That Runs Quakespasm With Certain Options?

Oct 13, 2010

I have a launcher for Quake that essentially runs a shell scripts that runs quakespasm with certain options. Is there a way to add it to AWN?

View 6 Replies View Related

General :: Application Virtual Address Space Memory Allocation - Memory Does Not Get Free

Apr 20, 2010

I am using malloc and frees a lot in my program. It shows its allocated but when i remove it doesnt show as the memory is removed(I am using the top command to view VIRT memory usage). If this continously grows what would happen to my program (Will it go out of memory?)

View 4 Replies View Related

General :: Ubuntu - Memory Full, Process Memory Usage Doesn't Add Up In Top?

Mar 18, 2011

I have a computer with 16GB of ram. At the moment, top shows all the RAM is taken, (NOT by cache), but the RAM used by the various processes is very far from 16GB.I have seen this problem several times, but I don't understand what is happening.My only remedy so far has been to reboot the machine.

View 1 Replies View Related

Programming :: Input File - Grep Within Grep

Nov 22, 2010

I need to kind of grep within grep. My input file would be something like:

[Code]....

and I need to find the first occurrence of hello before MY PATTERN (hello 9008 in this case), so the output should be:

[Code]....

View 4 Replies View Related

General :: Memory Corruption Detected In Low Memory

Aug 22, 2010

This is my first post in these forums. I'm still quite new to Linux (using Mint 9) so please bear with my not-very-articulate question(s)When I boot up and open up a tty terminal I get a message saying "Memory corruption detected in low memory." I've done an extensive google search about the issue and it seems not uncommon. I ran a memtest with no errors returned, so I'm sure that there's nothing really wrong with the memory; apparently it's a bug in the kernel that's causing this.

View 2 Replies View Related

General :: Top Used Memory Versus Ps Processes Memory

Jan 17, 2010

I found from command 'top' that 8GB memory are used. However, using command 'ps' with some options to grep the running processes and then summing up the memory used by the running processes are less than 2 GB. Where has the used memory gone ?

View 7 Replies View Related

General :: Ubuntu Runs At 50-60% CPU?

Jul 16, 2010

I installed Ubuntu Hardy Heron about six months ago, and it has gradually slowed down, and CPU utilization has crept up to the 50-60% range. The DEV folder contains a large number of similar files - TTY0 through TTYZF or PTYA0 through PTYZF. I suspect that something is not configured right, but, I don't know where to look.

I connect to the internet through a G4 Wireless Transceiver connected to my ethernet port on an IBM Think Center 8187.

View 6 Replies View Related

General :: Cron Job Runs Every 30 Secs?

Jul 24, 2011

The problem is I need the php program to send member email confirmation which contains a confirm link. Run every min may still make the member wait. So I like to make it to run every 20 or 30 secs.

I don't want to put the code to send email on my sign up page as that's no good.

But I don't want to put a sleep 30 sec on my php script and going on loop. If it failed in the middle then it may wait abit to start.

What can be done to achieve my goal and what's the best way?

Making a php script to run as a daemon process? Is that possible and okay?

View 9 Replies View Related

General :: Why Is Vim Not Remembering Position In File Between Runs?

Dec 3, 2010

I'm using vim 7.2.330 on 64 bit ubuntu 10.04, sometime in the last week every time I reopen a file it places the cursor at the top of the file. I can see in ~/.viminfo where it's saving the last position used, but it doesn't seem to be honoring it.

View 1 Replies View Related

General :: Diary Program That Runs In The Terminal?

May 1, 2011

Is there a diary program for Linux that runs in the terminal?

View 1 Replies View Related

General :: Sudo Su Runs Without Password Prompt?

May 25, 2011

So here's the problem. We've got the /etc/sudoers file set up so that users can run commands from /bin like "cat" or "mkdir" without entering a password. The problem is that the "su" command is also in /bin, so if they enter "sudo su", it gives them root access without a password. Here's the /etc/sudoers file:

Defaults targetpw
%users ALL=(ALL) ALL
root ALL=(ALL) ALL
support ALL=(ALL) NOPASSWD: /sbin/, /bin/, /opt/, /etc/init.d/, /elo/
support ALL=(ALL) NOPASSWD: /usr/bin/mysql

Is there a way I can deny /bin/su while still allowing the rest of the /bin commands?

View 1 Replies View Related

General :: How Come No Other Distro Runs Andriod Applications

Dec 27, 2009

I found this Is the Success of Google's Android a Threat to Free Software? (thanks to linuxtoday.com) and in the end it says

Quote:

Worse, if efforts to enable Android apps to run on distros like Ubuntu succeed, then we may see closed-source software being used on the free software stack there, too. Ironically, Android's success could harm not just open source's chances in the world of mobile phones, but even on the desktop.

I don't see how this is a threat too Linux but that's not why I'm here. I've never understood why some say that Linux is too fragmented for developing games and other applications. I mean Savage 2 comes in one Linux(.bin file) version and it runs on most of the distributions. What is the difference between all the package formats (like .rpm and .dpkg). Why won't a application run on all systems with the Linux kernel on it? Can someone with more computer and Linux knowledge please explain this to me?

View 5 Replies View Related

General :: To Spawn A Task That Runs For Hours?

Nov 2, 2010

I have been doing this for quite sometime now, yet lately I wonder if this is what everybody does...I have a task that will run for hours. In order to not to interrupt that task when I logoff for the day, I issued the command:

Code:
at now 'sh ~/a-long-task'
Is this what everybody else does?

View 2 Replies View Related

General :: AWK Runs In Command Line But Not In Script?

Mar 3, 2011

I am trying to execute an awk script which is called by a shell script. The result is that it always responds with << ^ invalid char ' ' in expression >>

As I do not have command line access, I use a php script as go-around.

On the command line,

Code:
awk --version
gives the following output:
Code:
Command: awk --version
GNU Awk 3.1.3

[Code].....

View 4 Replies View Related

General :: Burning From SimplyMEPIS As It Runs Live?

Apr 11, 2010

I'm able to access my USB-drive (from which I'm running MEPIS right now) and my C-drive which has all my Windowsy stuff on it.I tried putting the (bad burn of a) CD-R into the drive and it was also recognized, but when I put a blank DVD-RW into the drive, nothing happens, and when I try to create a device-link, it tells me that medium does not exist

View 6 Replies View Related

General :: Setup A Cronjob It Only Runs If Logged In?

May 6, 2010

I wrote this little script and it runs very well, however when I setup a cronjob it only runs if I am logged in. I would like to have this script running even when I am not logged in. At the moment it runs but only when I am logged in. I logged as denis and in terminal (su root) and edited crontab as shown below, what do I need to change or setup to have this script run when no-one is logged in the computer. I run Fedora 12 (64 bit)

backup script:

cd /home/denis/Documents
tar -czvPf /home/denis/Backups/docsbackups_$(date +%Y%b%d_%HH%MM).tar.gz /home/denis/Documents
# above line will produce file with name in this format "docsbackups_date&time.tar.gz" in the /home/denis/Backups folder

[Code].....

View 4 Replies View Related

General :: X Runs Fine, But Three Fatal Errors?

Feb 10, 2011

I just installed Arch (x86_64). I am trying to setup Xorg. I have not installed a DE or WM yet, I just want to make sure Xorg is 100% first.

I had to edit the xorg.conf myself to direct it to my Intel graphics driver, but now it seems to work perfectly.

Except after exiting X, my terminal reads:

Code:
xinit: connection to X server lost

waiting for X server to shut down xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
XIO: fatal IO error 4 (Interrupted system call) on X server ":0"
after 1011 requests (1011 known processed) with 3 events remaining.
xterm: fatal IO error 104 (Connection reset by peer) or KillClient on X server ":0"
I'm pretty new to Linux and have no idea what this means! But I'm assuming it's not normal, because it says 'error'.

View 3 Replies View Related

General :: Lastest Apache Server That Runs On Red Hat Enterprise 5.4

Jun 9, 2011

I have a box that is Rec Hat Linux 5.4 with Apache server 2.2.3 . I'm told there are multiple vulnerabilities in Apache httpd, that version 2.2.16 or later is better. However, I did a package update this week and 2.2.3 is where I sit. Is there a newer version that will run or a patch for 2.2.3? Upgrading Red Hat is not an option.

View 3 Replies View Related

General :: Use For A Web Interface That Runs Bash Scripts In Bckgrnd?

Jun 7, 2010

I have a set of bash scripts which I need to execute through a web-interface. So that they can be executed remotely, once the web-interface is hosted on a server. Since this is the first time I am trying something like this, I am not sure what language or technology to use for such work. From my knowledge PHP could be a good fit. But not really sure.

View 1 Replies View Related

General :: Ubuntu 10.10 Runs Only In Safe Mode Session

Mar 28, 2011

I tried to install Ubuntu in my P3 computer so i can play with it, everything works fine but not after i reboot it. Now i got the user and password window on the desktop and drop-down-list of sessions, language, keyboard, date & Time and Shutdown button at the bottom.

Drop-down-list session:
Recovery Console
Ubuntu Desktop Edition
Ubuntu Desktop Edition (Safe Mode)
User Defined Session

With these 4 options, the third one which is the safe mode is the only option I was able to get through. Others are just desktop without toolbar or anything, right click with folder option are working though. Recovery console is just the CLI window but I don't know anything about Linux commands.

View 7 Replies View Related

General :: How To Use Grep

Apr 7, 2011

I need to find file from ls - l by using grep and certain regexp.

In particular I need greep to see certain file ending, like let's say .txt but only using regex.

So it should be something like

ls -l | grep '^.+.txt$'

But that doesn't seem to work for me.

View 1 Replies View Related

General :: Startup Script On Ubuntu That Only Runs Properly When Ran Manually?

May 10, 2011

I'm trying to run a script on session start, so I added it to System -> Preferences -> Startup Applications.The script does run, but some of the commands inside don't appear to run at all. If after startup I open a terminal and run the script manually, it runs fine!

#!/bin/bash
if [ "$DISPLAY" == ":0.0" ]; then
tmux new -s Phys ;

[code]....

View 1 Replies View Related

General :: Start Debian It Runs Fine Until It Gets To The DHCP Part?

Feb 9, 2010

Whenever I start debian it runs fine until it gets to the DHCP part.It completley stops and spends like three minutes with stuff like

Code:
DHCP Request on port 57 interval 4
DHCP Request on port 57 interval 14

[code]....

View 3 Replies View Related

General :: Rsync Runs Back Up But Process Is Already Running The Same Backup

Sep 15, 2010

I have cronjob that uses rsync to back up to a remote directory every hour. how do I set this rsync up so that if initial process is running already, it prevents running same rsync command and checks again in next hour until the process is finished/terminated?

View 5 Replies View Related

General :: GREP On Words With 2 Or More Z's?

Dec 21, 2010

I need to grep a dictionary file.Only the words that contain 2 or more z's and only 1 b needs to be listed.

View 1 Replies View Related

General :: Grep Not Working?

Jul 15, 2010

I am trying to grep for A records in a bind zone file but I am failing.I am trying: grep "s+As+" db.domain.comBut there are no results.

View 12 Replies View Related







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