General :: Comparing Resources Using Top?

Apr 6, 2011

Fedora 15 Alpha

3861 user 20 0 904m 128m 33m S 0.7 6.4 1:11.52 xulrunner-bin
1323 user 20 0 1555m 95m 31m S 13.5 4.8 4:06.87 gnome-shell
3494 user 20 0 1028m 50m 21m S 12.8 2.5 1:43.32 evolution

I just wondering what is the difference between RES, SHR, and VIRT.

1) The VIRT always seems to be higher. Is this using the paging file system. (virtual memory on the harddisk, the swap memory)

2) Is the RES memory the actual physical RAM memory?

3) Is shared memory sharing memory with other processes?

4) Just a final question. As I am running on a HP Mini 210, memory and CPU is a resource I don't have a abundence of. So if was to compare for example 2 difference browsers i.e. firefox and midora. What should I brench mark between to 2 to find what one uses less resources?

View 2 Replies


ADVERTISEMENT

General :: Comparing Multiple Of Files ?

Mar 20, 2010

I am fairly new to Linux and was needing some help on a comparing more than 2 files. I am try to come up with something that would compare at least 10+ different files to a master file and give me an output of what is missing.

Example would be: a.txt, b.txt, c.txt, d.txt compare each of them to the master.txt file, than output the missing text for each file into new file.

I came across comm and diff commands, am I looking in the right place or is there a much easier way of doing this?

View 2 Replies View Related

General :: Comparing Arrays In Bash ?

Jun 2, 2010

Is there a way to compare an array in a while conditions?

I have one array that contains the results of some search and if the script has found all the items, then it should stop, so my idea is to have a while loop � la:


Code:

View 4 Replies View Related

General :: Comparing Two Fields In Two Files Using Awk?

Jul 12, 2011

I have a file1:

Code:

$ cat PF(1).out
Tmp39 PF10271.3 423 ENSP00000326063 488 1.2e-201 41-478
Tmp39 PF10271.3 423 ENSP00000338165 492 1.9e-200 46-479

[code].....

View 14 Replies View Related

General :: Comparing Lines In 2 Text Files?

Nov 5, 2010

Is there a way, besides writing a PERL program, to read each line one by one in file A and tell if this line also exists in file B? Can this be done via a shell script?

View 6 Replies View Related

General :: Comparing A File Size To A Given Number?

Jul 26, 2011

I'm trying to write a script that takes two arguments, the first argument is a number, and the second argument is a filename. The shell script should indicate if the file's size is BIGGER or SMALLER the number provided. this is what i have sofar, am i on the write track, i'm hoping its just a problem with my if command

if [ $1 -h $2 ]
then
echo "$1 is bigger than $2"
else

[code]....

View 2 Replies View Related

General :: Comparing All The Files In A Directory By Content?

Sep 18, 2010

I wish to compare all the files in a directory....comparing is by content. And same files should be printed...

echo "program : $0"
cd $1
for a in *
do

[code]....

This logic did not give the correct result...

View 5 Replies View Related

General :: Comparing Files In Bash Script

Sep 2, 2010

I want to compare two files and display values unique to file1. I tried using comm but it did not give me useful outputs.

comm -2 -3 file1 file2 does not work

Similar threads provide matched content. What I am looking for is unique content.

View 9 Replies View Related

General :: Comparing Two Files For Differences And Similarities

Jul 26, 2010

Iam having the following two linux files.

[Code]...

Now i want the following out puts

1. similar nos in both the file 1 and file 2 > output= File 3;
2. In file 1, but not in file 2 > out put= file 4;
3. In file 2, but not in file 1 > output = file 5;

The command sdiff is giving output with symbols > < | etc, and the such output file is not clear and ready to print. I want to print directly the output files. AND ALSO TELL ME WHERE I HAVE TO WRITE AWK PROGRAMS AND HOW TO RUN IT.

View 5 Replies View Related

General :: Comparing Directories To Check All Stuff Copied?

Jul 4, 2010

I have recently backed up all my documents photos etc to an external hard drive. What is the best way to check that everything has copied? I have tried diff but it was not very clear.

View 7 Replies View Related

General :: New Features In RHEL6 Comparing To Its Older Versions?

Nov 19, 2010

what new features in RHEL6 comparing to its older versions??

View 4 Replies View Related

General :: Comparing Files - Change The Case Of The Letters In File1.txt

Nov 8, 2009

Two files contain:

file1:
cat
dog
fish
hamster

file2:
cat
fish
ferret
dog

How do you change the case of the letters in file1.txt to uppercase and compare with file2 all in one command?

View 2 Replies View Related

General :: Comparing Two Files - Display The User Names That Are In The First File And Not The Second

Sep 17, 2009

Im trying to compare two files and I only want to display the user names that are in the first file and not the second.

So I have one file named final.txt (which contains every user name and only the user names in a list no other information)

Then I have another file Over1.txt (which only contains certain users that have different permissions This file is also setup differently with the user name and some information about the user after the user name.

I need a way to compare final.txt to over1.txt so that I will only display the names that are in final.txt but not Over1.txt

Ive tried using diff and comm but just cant seem to get it two work correctly. Im not sure if im missing a option or what.

View 5 Replies View Related

General :: Bash Scripts - Comparing Multiple Items Or Conditions Using 'if' Statements?

Mar 12, 2011

comparing multiple items or conditions using 'if' statements? I want to do something if one or more conditions is true, for example:

If a = 1 or b = 1.

I've tried:

[Code]...

View 5 Replies View Related

General :: Sharing Resources Across Processes ?

Jul 7, 2010

How would I demonstrate that sensitive application resources are not shared across processes that are owned by different users?

View 2 Replies View Related

General :: Fork: Resources Temporarily Unavalbale?

Apr 30, 2010

I am continuously getting fork: resources temporarily unavailable even when I am typing ls command.

View 1 Replies View Related

General :: Minimalistic Distro For Low Resources Netbook?

Jun 5, 2010

I want a distro I can run on my very weak netbook, and perhaps on one or two other of my other computers as well. Netbook is an Asus eeePC 900SD (Celeron 800mhz, 512MB RAM, 8GB SDD, 1024x600 screen resolution), very slow with some distros, but nimble with others.

I've tried:
Ubuntu Netbook Remix (EasyPeasy), Leeenux, JoliCloud: too resource hungry on this machine, too much storage consumed just for the OS. Peppermint OS - pros: works well, nice, very few bugs, fast.cons: space requirements, memory requirements make it a bit tight, cloud apps are slower than locally installed ones, the permanent inclusion of a paid-subscription cloud app, and fascist support forum moderators. a bit overweight, and way too cloud-centric - many of the cloud apps are on unreliable servers and not always available or slow down your netbook to a crawl while it waits for some executable code to come off the web. Puppeee version 1.0 (and Fluppy for all netbooks), works very well, very fast, in little RAM with little disk space required. Some may not like the overcrowded menus and their structure that's inherited from the parent Puppy. Puppy 5.1: works very well compared to the 4.3 series. wifi works now. But same menu comments as for Puppeee. Slitaz: at 30MB for the iso, it sounded promising, and the interface is very nice, much nicer than any of the other minimalistic distros. but Wifi? no help on the horizon.
AntiX: some stuff just didn't work properly, including Wifi WPA. but it looked real good. For the space and memory requirements look to Peppermint. TinyMe2010: this is the size of Puppy, and polished like Peppermint. Based on a slimmed-down Unity, it is still in beta, the installer won't install from USB stick. If you have a CD to install from this is a great distro! Lets hope they fix the USB issue soon! Very promising... keep a watch on this one.

[Code]...

I've tried dozens of distros, and find it frustrating to deal with the various crippling flaws of some distros and the egos of the assemblers of other distros (where they can easily fix something but refuse to because they prefer an older faulty way). I am at my whit's end here. Please help me someone.

From us Noob's point of view: the new re-release of Windows XP for Legacy computers with only 64MB of RAM, it may be time to re-visit our thinking that minimalistic Linux distros are the only kid on the block for those slower machines with less resources. Time to get back to the drawing board and make these a little more user-welcoming. ;-)

View 14 Replies View Related

General :: Automatically Kill Processes That Over Time Uses 95%+ Of Resources?

May 3, 2010

I don't know about your computer but when mine is working properly no process is sucking 95%+ over time. I would like to have some failsafe that kills any processes behaving like that. This comes to mind because when I woke up this morning my laptop had been crunching all night long on a stray chromium child process.

This can probably be done as a cron job, but before I make it a full time job creating something like this I'd thought I should check here. :) I hate reinventing the wheel.

View 1 Replies View Related

General :: Accessing VPN Resources In Windows Guest From Host

Nov 4, 2010

I have a Ubuntu hosting a Windows XP box (using VirtualBox). The Windows XP box is connected to work using Check Point VPN-1. Essentially this enables me to go to my Windows box and do something like ping comp-at-work and it just works.

I would like to access the VPN resources from the Linux host though. The Windows guest is only there because the VPN client isn't working in Linux. If I could somehow ssh from the Linux host right into my computer at work (using remote desktop would also be great), that would save me a lot of round trips between my Linux host and the Windows guest.

View 2 Replies View Related

General :: Termination Of A Process Release File And Other Resources ?

Apr 15, 2011

If I forget to close a file, a socket or any other resource in a Linux process, and the the process terminates, will those resources be freed? Is there a difference if the process terminates normally or is killed?

View 3 Replies View Related

General :: Force X To Re-theme All Open Windows To Current X Resources?

Aug 24, 2010

I've got a ~/.Xdefaults that has a specific color theme defined for Xorg, and this works. I've got a ~/.XdefaultsNew that specifies an alternate color theme. Xorg starts and loads ~/.Xdefaults which is correct. After running some applications, I run

xrdb ~/.XdefaultsNew

This overrides all my X resources to the new defined values (correctly). If I open a new window, the theme is seen correctly. However, all the previously opened windows retain the original theme.Is there a way to force X to "re-theme" all windows it is managing with the currently loaded X resources?

View 1 Replies View Related

Programming :: Comparing Two Files ?

May 7, 2011

I have two files

Code:

we have to consider here $5 , $6 , $7 for our search

file2.txt

Code:

Here we should take only $2 for comparison. As you can most of the $2 field records has value and some do not have value.

Question:I want to take the fields $5 , $6 , $7 from file 1 and compare it with $2 field from file 2. and the rsult should be like this:

Code:

The final output will look like this

Actual file1.txt (before running the code)

Code:

FIle1.txt after running the above said condition

Code:

So the field $5 , $6 , $7 should get replaced from the matched valued of $1(file1)

View 3 Replies View Related

Red Hat / Fedora :: Searching And Comparing The String

May 18, 2010

I have a file which provide the output of all the applications which started and running successfully. But it doesn't give the Error message of the applications which are failed. For example there are 5 applications (ABC,DEF,NMO,STO,XYZ) and application STO failed so I will get the following output (out.txt). content of out.txt file

Application ABC is Running
Application DEF is Running
Application NMO is Running
Application XYZ is Running

I want to generate the text message based on the information on out.txt that STO application is Failed.

View 2 Replies View Related

Debian :: Comparing Contents Of Two Directories?

Mar 6, 2011

How to compare contents of 2 directories under squeeze?

View 1 Replies View Related

Software :: Command For Comparing Files?

Jul 7, 2010

What's the command for comparing files? I think I've used it before, but can't remember it.

View 3 Replies View Related

Programming :: Comparing String With Integer?

Sep 19, 2010

If I have a variable, say xvar, which can take both string and integer value and I want to perform an operation in following 2 conditions:1. Either xvar is null2. xvar equals 2[ -z "$xvar" ] || [ $xvar -eq 2 ] && <some-code>Doesn't seem to work if xvar takes string valuesI know that since I have no restriction on xvar, I can get away with string comparison in second test too, ie[ -z "$xvar" ] || [ "$xvar" = "2" ] && <some-code>
But, 'Sams teach yourself shell script in 24 hrs' says that [ expr1 -eq expr2 ], if either is string, it assumes 0 valueIs it true

View 5 Replies View Related

Programming :: Differances - Comparing Two Files ?

Nov 30, 2010

I have two text files i want to compare the differances between but i dont wnat all of them, there is only about 30lines of relvent text i want to compare.

View 10 Replies View Related

Programming :: Comparing Two Files In Perl ?

Oct 9, 2009

I would like to ask opinion from perl experts.

I want to compare 2 files and show the differences in a text file.

For example, if i open File A an B in notepad

File A:

File B:

Quote:

line3 is missing in File B

So if I did a File compare (line by line), the differences will be in line3, line4, line5, line 6.

But I dont want it to be like that.

I want it to be like this

Quote:

Can Text:: Diff able to perform the work.

View 1 Replies View Related

Fedora :: Setting Shortkey Like Win 7 (Comparing Two Documents)

Jun 6, 2011

I want to set the shortkey like win7,WIN+ --> is mean half the window in the right side and WIN+<- is mean half the window in the left side. It is helpful for comparing two documents.

View 9 Replies View Related

Ubuntu :: Cli Comparing File Names Recursively?

Apr 24, 2011

I would like to use the command line to compare two directories against each other. I have two folders called music collection that have evolved over the last year on two separate computers. 90% of the two folders are the same, but there are small differences. I would like a solution that will print out all the differences so I can analyze them and choose what I want to do with them, before merging the two folders. for example.I would like some kind of output that shows the differences and where its located.

comparing MusicCollection1 and MusicCollection2
dif1.mp3 located in MC1/folder1 (this one I might want to keep and merge over)
dif2.mp3 located in MC2/folder3 (while this one I might realize does not exist in both folders because I deleted it for a reason)

I've looked at sort, uniq, and even tried scripting my own solution, but haven't come up with an elegant solution thus far. Its important that it is recursive because there are about 15 folders in Music collection and more folders under those 15.

View 3 Replies View Related







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