General :: Testing Efficiency Of Memory System Part
May 7, 2010
I have applied a patch in linux kernel version-2.6.31(fedora core 12)source code.Now I want to check whether the performance of the memory management part has been enhanced. So how to test the efficiency of this new modified code?
View 1 Replies
ADVERTISEMENT
Dec 2, 2010
I want to test that a process properly kills itself and restarts when it can't allocate needed memory. One idea I had was to start other memory-consuming processes and hope that OOM killer kills the process being tested, but 1) this isn't quite the same; 2) it may kill other processes instead; 3) since this is an embedded system, I don't have any programs available except for the system under test and BusyBox.Is there a more direct way to ensure that Linux won't allocate memory to a process?
View 1 Replies
View Related
Aug 27, 2010
What I have works, but wondering what is the 'right' way to replace the digits with the letters given in this loop? somehow use a case or multiple sed? i thought of a multiple sed or a case but couldn't get it to work
Code:
# ...
bcv=$(echo $line | awk -F" " '{ print $1 }' | sed 's/1/q/g;s/2/w/g;s/3/e/g') # and so on
Code:
while read line
do
bcv=$(echo $line | awk -F" " '{ print $1 }')
if [ $bcv == "" ]
[code].....
View 12 Replies
View Related
May 5, 2010
I need a webserver (LAMP) running inside a virtual machine (#1) running as a service (#2) in headless mode (#3) with part or the whole file system encrypted (#4).The virtual machine will be started with no user intervention and provide access to a web application for users in the host machine. Points #1,#2 and #3 are checked and proved to be working fine with Sun VirtualBox, so my question is for #4:Can I encrypt all of the file system and still access the webserver (using a browser) or will GRUB ask me for a password?If encrypting all of the file system is not an option, can I encrypt only /home and /var/www? Will Apache/PHP be able to use files in /home or /var/www without asking for a password or mounting these partitions manually?
View 2 Replies
View Related
May 5, 2011
I typed in a XTerm in IceWM(knowing I don't have permissions):
[code]...
I can't access that folder with these permissions. Why would it place it in such a folder?! What is in this file? What part of the system is responsible for this/ where do I turn this off?
View 7 Replies
View Related
Jul 31, 2010
I would like to find a Linux testing environment , my PC is slow , it is not good to install VM and I do not have laptop , besides , I want to do testing at different places , can advise is there online Linux testing environment ? I just want to test the Linux command .
View 1 Replies
View Related
Apr 20, 2011
Is there a system admin tool for RHEL on montioring and logging system memory used and released that can dump to a log file?I'm having an issue with memory not being released when an application is closed. I need to have a tool monitor and log so I can troubleshoot to verify that it's an application not the OS.
View 2 Replies
View Related
Oct 5, 2010
I created a very simple cron job for testing my first Linux system but It doesn't work. After open the crobtab file by typing crontab -e, I put a line like this to send email in every 2 minutes to report disk usage:MAILTO=dan@gmail.com*/2 * * * * du -s /homeI tried to restart cron several times but I still got nothing worked. /etc/init.d/crond restart
View 14 Replies
View Related
Feb 24, 2010
is there any performance tool for linux? i av found phoronix but it cant provide testing on memory, CPU, hard disk utilization and also stress test.
View 4 Replies
View Related
Feb 21, 2010
I need a Linux distribution which has got drivers for pendrives and could play the music.
What version could you recommend for me?
View 5 Replies
View Related
Nov 11, 2009
I have a server running samba process and there are about 70 samba users connected at a time. The system has 4Gb of memory and it seems each samba process is utilizing only 3352Kb of memory.
When I run the command
pmap -d (pid of samba)
It gives as:
b7ffa000 4 rw-s- 0000000000000000 0fd:00003 messages.tdb
bfe46000 1768 rw--- 00000000bfe46000 000:00000 [ stack ]
ffffe000 4 r-x-- 0000000000000000 000:00000 [ anon ]
mapped: 33384K writeable/private: 3352K shared: 20504K
But when I run the top command, it results as below:
Tasks: 163 total, 1 running, 162 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.9% us, 4.9% sy, 0.0% ni, 93.3% id, 0.8% wa, 0.2% hi, 0.0% si
Mem: 3895444k total, 3163192k used, 732252k free, 352344k buffers
Swap: 2097144k total, 208k used, 2096936k free, 2487636k cached
Why could the system be utilizing such high memory? By the way, the server is not running other processes. The samba version running in it is 3.0.33-0.17.
View 1 Replies
View Related
Mar 15, 2011
The more context the better. So far it does not look like it has anything to do with memory.
View 4 Replies
View Related
Jul 19, 2011
In system monitor, there are numerous processes. Some such as metacity and nautilus are using 12-21 mb memory. Since my server is a 512 mb computer, which services or processes can I safely remove or end ?
View 14 Replies
View Related
Dec 20, 2010
We have designed a board with Cirrus Logic(arm) processor, A Flash memory and some other peripherals have been connected to that. While building kernel we have selected MMU support. We have written few custom drivers for keypad,LED,LCD. But I would like to know how virtual memory mechanism can be helpful here even though there is no any hard disk has been connected. Where will be the virtual memory reside.
View 2 Replies
View Related
Dec 31, 2010
I am writing a script that tells me which process consumes the most memory in the system this is what I have but I keep getting an error:
#! /bin/bash
# Autor: Jose miguel Colella
# Descripcion: Que proceso consume mas memoria
ps -e -o %mem -o args | sort -k 1 | tail -n2 | head -n1 | cut -d -f 3
I keep getting this message: cut: delimiter mist be a single character
View 4 Replies
View Related
May 13, 2010
To get the kernel messages of new java process, i refer the details from /proc/<java pid>/stat and /proc/<java pid>/statm files. For some java processes, I didn't find any details in the /proc/<java pid>/statm file. It has only 7 number of 0s. But /proc/<java pid>/stat file has the details. And also this kind of process will have the life time of nearly 1 minute.
Kernel version using: Linux-2.6.18-8.1.8.el5 Is there any possibility of java process without the memory details in the /proc/<java pid>/statm file? If it is possible, how to know the memory related details of that processes?
View 1 Replies
View Related
Nov 30, 2010
I need to find the memory usage of a shared library loaded in Linux environment.
I need this information for deciding on whether to make the library part in to application or a seperate application itself.
View 3 Replies
View Related
Feb 24, 2010
I was trying to delete a printer software package and some how managed to do away with part of my system.Guess I clicked on something I shouldn't have.Before I realized what was going on about a page of deleting this and that zipped by before I aborted.Is there a way of finding out what was deleted so I can put it back together?The stuff in my home folder is still intact, so if I have to do a new install it's no biggy.Just hoping I wouldn't have to.Had to reinstall dolphin just to see that the home folder was still there and intact.
View 6 Replies
View Related
Aug 3, 2010
I have mounted a mirrored array on my linux machine. I used the Nvidia raid controller in my bios and mounted the resulting raid drive.
under /dev
the 2 drives sdb (2tb) and sdc (2tb) are symbolic links to
/dev/mapper
nvidia_dcabdggcp1
I then created a file system on nvidia_dcabdggcp1 and mounted it to /share
the output of my df -h is
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
897G 8.0G 843G 1% /
/dev/sda1 99M 19M 75M 21% /boot
[Code]....
Is there a way to check to make sure that my mirror array is actually working correctly without unmounting/remounting the sdc drive somewhere to see if it's a mirror of sdb.
View 2 Replies
View Related
Dec 8, 2010
I just used dd to clone a linux partition to a new hard drive, it had 800mb left on the old hard drive, after dd, new hard drive lists 1.29/1.3 terabytes full. Is this what happens by default in dd? How can I fix this?
View 1 Replies
View Related
Jun 30, 2010
I have a problem with in the Gnome Desktop environment. Some parts of my system seem to think my screen is wider than it actually is. To the right if my screen, there is a part of my workspace which I can't see. I can move the mouse pointer there (although I cannot see it then) and I can also drag windows onto this area. If I do that, the window disappears from sight, however, it is visible in the little workspaces of the workspace-switcher-applet in the lower right corner. This applet does display the entire width of the workspace (which is too wide for my screen). If I maximize a window, it does not go onto the invisible part of the workspace.
View 1 Replies
View Related
May 24, 2010
I'm trying to figure out how to access the local part and the domain part of an email address in postfix's main.cf. For example, myname@mydomain.net has myname as the local part and mydomain.net as the domain part.I get the whole email address with %s. I want to speed up the lookups by writing better database queries.I've had no luck finding this in the otherwise well documented postfix.
View 2 Replies
View Related
Jul 13, 2009
we have access to one domain name , 1 internet ip address and may servers hosting different part of site. I want them all to be accessed via same web site . some of the server in our network are embedded devices.they have their specific utility being hosted on that machine. So the severs are bound to be distributed . I just wanted to know how can I access them via single ip, domain name.
View 6 Replies
View Related
Apr 13, 2011
I have a need of a database, and the information to go into it. I know how I want to organise my data for optimal cross referencing, but what I know is merely what I know and I do not know if what I know is what is known...
Madness to say... looking at my database I see this is the best way to organise the data, but what I do not know is how the computer will respond to my methodical madness.
Is it quicker to have one table with many fields or many tables with few fields?
We've got information for 10 users with 17 idiosyncrasies.
So, would one table with 17 columns and 10 rows... or... a group of 50 tables with one column and 3 rows and one table with 4 columns and 5 rows...
Be more efficient concerning:
QUERIES...?
Searching?
Comparison?
Insertion?
Deletion?
Modification?
The queries and modifications will be daily, and constant. These numbers are really much larger but the math is easier for me to articulate on a smaller scale. I use Perl, php, and C with SQL for management.
View 14 Replies
View Related
Jul 4, 2010
I have linux based photo editing software that I want to install so that it can be accessed through the Applications menu. Which system folder do I install it in? Or what terminal commands do I use to install so it is part of the system?
View 5 Replies
View Related
Jan 14, 2010
In bootseqence of linux, the first step is check the CMOSRAM(size 64bytes) setup for custmor setting. So i am just confused wether CMOSRAM is a part of motherboard or is a part of RAM itself.
View 4 Replies
View Related
Jul 20, 2010
Can someone tell me if there a difference between running a 1000 watt computer PSU and a 1000 watt light bulb? For instance, Im sure if you burn a 1000 watt light bulb you'd burn the maximum amount of energy all the time (1000 watts). Using the full 1000 watts might be substantially more costly at the end of the month if you didn't need all the light produced all the time, but of course as long as the light was turned on it would burn the 1000 watts.
Now my question about a computer, while 1000 watt is probably an overkill, I'm thinking I should get a bigger wattage PSU than my current 400 watt power supply. If I got a higher wattage PSU, is there a chance that the wattage rating would burn the power based on the immediate computer load (components installed and intensity of the immediate applications) rather than a constant use based on the 1000 watt rating? During off peak times when I might not have many USB devices plugged in and not be running graphic intensive applications, would it be possible that the 1000 watt PSU would be less bucks (or equal to) the cost of the 400 watt PSU? Or would the 1000 watt PSU cost the same amount for the 24 hour operation of the computer as running a 1000 watt light bulb for the month.By the way, I'm looking at purchasing an 800 watt PSU and I'll be upgrading my 88000gts graphics card soon. I just replaced the case with an AXP 600 that has lots of room and cooling facility. I probably don't need the 800 watts at present, but with time I will be replacing the CPU and motherboard.Is there a chance (or scenario) where a higher wattage PSU might actually be more cost efficient at the end of the month and possible burn less electrical dollars because of less strain to keep up?
View 5 Replies
View Related
Sep 1, 2010
Morning all , not sure how to put this. I have a .sh executable script I use for video encoding. I want the system to be able to see it no matter where in which folder I am. I want to be able to execute that script in terminal in any folder. How can I make it part of the system path. ? Don't know if my wording is right but I think you guys know what I mean.
View 9 Replies
View Related
Aug 11, 2010
Kernel 2.6.21.5, GNU (Slackware 12.0).
The following are two extracts from /var/log/messages.
Code:
Aug 10 17:29:52 darkstar sshd[11675]: reverse mapping checking getaddrinfo for 116.214.25
-66.del.tulipconnect.com [116.214.25.66] failed - POSSIBLE BREAK-IN ATTEMPT!
Aug 10 17:29:52 darkstar sshd[11675]: Invalid user plcmspip from 116.214.25.66
Aug 10 17:29:52 darkstar sshd[11675]: Failed password for invalid user plcmspip from 116.
214.25.66 port 40032 ssh2
[Code]...
View 3 Replies
View Related
May 24, 2010
I am running tests on doing a postgreSQL restore, and part of the procedure is to import the dump file into the database. The database, version 8.1.3,s from HP-UX Internet Express Version A.14.00 Bundle and was installed onto an HP-UX 11.11 server.As part of the testing process, I was planning on setting up a Linux system with the latest available version of PostgreSQL, and import the dump file generated on the HP-UX server into database on the Linux system. Once that was done, we would connect to the latter system, and test the database.My questions are the following:1. Can the dump file be imported to a remote system rather than the one that generated it?2. Is this a good test to determine the viability of the dump file?
View 6 Replies
View Related