This is a long shot but I'm looking for a way to assign an IP to a specific location or process. I'm running a server for a small indie game that I liked, I intend on running as many gameservers as possible from this server, however I hit a problem: The game limits servers to 4 per IP address, after this the servers no longer are able to connect to the main server and therefore be used. My server has enough IPs to run many gameservers, but I'm unable to work this out.
I need to assign either an IP address to a process or folder, right now I have it set up like so: (assuming 1.1.1.1 = server IP)
/gameservers/server1/program < assigned to 1.1.1.1
/gameservers/server2/program < assigned to 1.1.1.1
/gameservers/server3/program < assigned to 1.1.1.1
/gameservers/server4/program < assigned to 1.1.1.1
[Code]....
I do not have access to modifying the core program, it runs in Java. How would I go about doing this, if indeed possible? I need to either apply the selected IP to a folder or process without changing the actual program.
I want to be able to tell processes/programs somehow to use a specific nic. I have a laptop (used as dekstop) and want to make pidgin use my wireless. I have a gigabit wired connection and a wireless connection. I want to force pidgin to use the wireless connection. But more specifically, I just want to block pidgin from using eth0... how to go about that? I can't find anything that will block applications... I could block outside servers from communicating with eth0, but I don't want to do that.
i googled around and finally stumbled over this forum. I've been wondering, how would i kill an process running from an folder and with user parameter? I usually type this into the ssh console: pkill -9 < process > -U < username >
But i want users be able to run it multiple times, and killing only an specific process and not every single one.
The aim of this script is, when the folder reaches 20M then attributes will be set to that particular folder so that no newfiles and folders cannot be created or copied to that samplefolder. whenever i copy a file morethan 20M to that folder its getting copied fully and then the attributes were applied. But i dont want this to happen, when the folder reaches its maximum current write operation to that folder should be stopped automatically with a error.
I am trying to install CentOS 5.2 on an HP rp5700 desktop unit. These units were originally sold as a Point of Sales unit I believe, but HP also markets it as a high life cycle server for SMB market.I tried to load CentOS on this unit via CD (created from downloaded ISO of course). It presents the initial CentOS banner page and waits for the obligatory "enter" to continue. It begins the boot process up to discovering the PCI stuff and just locks up, no response. I have to power down to restart.Since this does not even get to the point of installing. I am at a loss what to do next. Has anyone had a similar issue with other PCs.The boot stops at the lineACPI: PCI Root Bridge [PCI0] (0000:00)
I have ubuntu 10.04.1 and a H.P.psc 1311 all-in-one printer scanner.Printer works ok but when trying to scan,with xsane,it goes through the scanning process and an image of the document comes up on the screen.
When I try to save this image to desktop or file/folder whatever I get the message; "Child Process Error. Failed to execute OCR command:GOCR:no such file or directory."
Im running cent os 5.5 64 bit. I simply want to type in a url (In my browser) on my windows desktop, that downloads a zipped folder from my cent os server.
Normally servers having multiple CPU's I need to found out, which CPU is used by a process. or else from the out put /proc/pid/stat how we can identify used CPU by the process
I started to use linux (CentOS 5) 1 week ago. And I took lot of imformation from this forum. Is it possible to install two program at same time? Total download size: 67 M Is this ok [y/N]: y Downloading Packages: jdk-6u24-linux-i586.rpm 19% [========-] 6.0 kB/s | 13 MB 153:51 ETA It is so boring to wait and I have to wait there is nothing to do something else just centOs text.
I have a process that seems to be unexpectadly quitting. Checking the messages log I could not find anything out of the ordinary. Would anyone here know how to make a process unkillable or lock a process somehow? I read information on doing this by making a looped iso, however the process im starting requires to be able to read/write to the files in the iso so this is not going to work. For now I just niced the process to top priority but I dont really think that will work. This process is a voice server so I dont want people getting discouraged that the server will not stay up and decide not to use the free service im offering.
Would anyone else have any insight as to what I can do? Im not new to linux but im not familiar enough with how every command is used, so if at all possible please give me the commands that need to be executed.
I'm trying to check how much ram memmory and CPU is a particular process consuming, i have checked free -m and top but is not esay to undesrtand the output from CPU
What i need is to check the consuming for a particular process; with free -m i'm able to see only the available space of memmry and i want to know how much is consuming a particular process, the same with 'top'
It's hard ot understan the output from top, to many columns and MAY process, not easy to check the process i want to monitor
It's my first post and think not last here. I'm new to Linux system ( had a bit of unix programming at school but forgot already ). Please, take a good care of nooby me Now, let's get to the point
I have CentOS installed on one of my machnce, its my PHP development server. I also wanted to run a Minecraft server on it. I would like to skip autostart with init.d thing and be able to control it's run manually, but remotely. Thing is, when i log via putty to server and start server the server output is in terminal. When I close puty, ran application closes also. So I need to have putty window ran all the time.
So, since many programs can be run as background task (like httpd). Is there a way to log via putty. Start application and send it to process... log out of putty ( and application doesn't shut down with putty)?
Also, would be nice if I was possible to log to putty and switch to that application, so i could see server output, info and Issue commands. Basically, I want to start a service and be able to manage it via putty. and not close it when i terminate putty.
PS: I have installed Windows on CentOS server. Is there a way to issue a system start without loading whole GUI thing? When I was installing it I thought it would be easier to manage it with GUI, but now loading it only eats system resources and i unplugged monitor and mouse nad manage it only from Putty
I have tried top and PS command but i am not able to find the RAM used by each process.top command says that 240MB RAM used but the Memory shows 0% for all the processes, same with ps. i want to know which process consumes all 240MB RAM.Is there any command which / script which can sort the running process in oder of increasing RAM usage so that i can see. Also i find it very hard to read bytes and KB. Is there any to way to chnage those units to MB
Is there a way of throttling a process resources, something akin to limits but for processes not users?ie I want processX to be restricted in the amount of memory it can consume. For process cpu I guess I can simply nice the process, but total memory consumption is my primary concern.
My centos machine suddenly stuck, the hdd LED flashes constantly, and the system reacts to all my operations very slow. I even cannot log in to a native terminal (always timeout). I had no choice, I pressed the power button. Reboot once failed. The system failed to find mount points.
I inserted the installation disk into computer and entered rescue mode. But I found everything was there. And another reboot brought up the system. I wonder what was the process that stuck my system.
I'm running CentOS-plus V5.5.CDs automount fine, but DVDs don't. I can, however, mount DVDs manually.I have scoured the web without seeing a solution. Its also clear that the software or process used by the OS to automount a DVD, has changed in the last few CentOS versions. So now I would like to ask:,In V5.5, what is the current process or software used by the OS for automatically mounting media such as a CD or DVD?What configuration files are involved that allow a CD to be mounted, and what entry(ies) would be needed to automount a DVD?
i have 2 linux centos server Linux version 2.6.18-238.9.1.el5 icant find the problem... server1: you can see mysql runs only single proc but its not possible bcause this is webserver
My program is creating 4 threads per transaction. Threads doing nothing but simply sleeping.
Now, when transaction ends, I want to wake up all the threads from sleeping. For this I am using pthread_kill() to wake up the threads using signal SIGUSR2.
Problem raises when I put more transactions(eg. 100 trans). My process gets hangup.
I'm have some desktop computers sharing my Centos 5 server diskpace through NFS. From time to time, without any warning, lockd bugs and all the users that are using GTK applications like Firefox,Gnome.get stuck.
My first atempt is to restart the NFS, but locked files persist because I can kill the lockd pid process, even using root account , I suppose this is because it's a kernel process. Here is the message error I get when restarting NFS matrix kernel: lockd_down: lockd failed to exit, clearing pid
We had servers that worked fine for years. After updated them to the latest version of CentOS (5.2 with latest updates), they keeps on hanging when being scanned by PCI Verdors (a Credit Card security standard). Basically, the scan causes httpd process to eat up all memory, and the server becomes unresponsive. Normal operations resume after the scan stops for 5, 10 minutes. Output from top looks like the following:
Google has not found the information I ws looking for. Does anyone have any information how to adjust the variouse splash screens displayed during the boot process?
We are working on an applience project where we would like to add a company logo to the boot and desktop screens. (Worked out the desktop already)
I have to do a project on network security.For that i have to capture the packets from the device. I installed libpcap tool in ubuntu. If I give ifconfig -a it lists out eth0, wlan0, lo. I am able to connect to the internet via eth0. But when I give
#include <stdio.h> #include <pcap.h> int main() { char *dev, errbuf[PCAP_ERRBUF_SIZE];
[Code]...
It says device is null. I'm not able to run sniffex.c program also. All I want to do is to capture the live network level packets and analyse them.
Just completed installing Xubuntu 9.04 to my old Dell Latitude CPi and it seems to be working quite well. However I need to assign interface eth0 to my pcmcia network card (as opposed to eth1 or eth2). I have two cards to try out. One of them comes up as eth1 and the other as eth2. There is no eth0 listed when I run ifconfig -a. There is no built-in network cards on the laptop, so I don't know why it won't assign eth0 to either of the cards.
how to assign eth0 to either of the two PCMCIA network cards.
I'm trying to mount a USB key in a RHEL5 box to upload some file. I found doc online and followed it and mounted it fine the first time. Then I unplugged it and found that I have another file to upload so I plugged it back in. However this time it's not assigned a partition (last time was sdb1) and I can't mount it anymore. I think the USB key is recognized and the driver is installed properly: