Programming :: Resource Reservation On Slorais Machine?
May 28, 2010
I want to disallow one user using Solaris machine when some process is active. I will store the PID of my process. If that PID is alive then i do not want one specific user to use the machine.
Recently I use a program "pktlogdump" in IXP platform. But the system print an error message as follow:"error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory".So where can I get this file? Or how can I get the resource file?
I'm working a program to implement a simple multi-process browser. The browser works by having a ROUTER process as the parent of everything else in the program. There's another process called the CONTROLLER which is part of where the user can input information. To tell the ROUTER to make a new tab in the browser the user activates a function from the CONTROLLER to send the create new tab information to the ROUTER:
Is there a way to configure DHCP IP Reservation thru MAC ? eg. {MAC ADDRESS} 192.168.1.23 So, when somebody owns this MAC address leases IP, it will give the one in reservation. Also, for security in mind, DHCP will ONLY lease IP if its MAC address is listed, otherwise, DHCP will NOT give IP.
I am working with a C++ program consisting of two threads. The first threads receives packets through an UDP unicast connection and stores them in a buffer. The second thread reads the packets from the buffer and sends them through an UDP multicast connection. Both use blocking sockets and share a common buffer and a linked list L1, which are protected by mutexes. The program seemed to work just fine, receiving a packet and sending it almost immediately, but started giving some trouble recently. The synchronization between both thread started failing, and I decided to use a non-blocking socket in the sending thread. As a consequence, sendto() doesn't work in some cases, causing an errno 11 (Resource unavailable).
I want to change the resource limits for a specific processOr to create a new process and give it limits as I want, There is a function setrlimit, Which is possible to change it but for a programmatic I want to apply it to another Process, The problem is that this function does not receive process ID for example. I read in most books on the subject of The Linux system programming
I am trying to develop a video resource manager in Linux.By that what I mean is, if two applications (may be running in two different machines) are trying to play videos, the video resources will be served by this video resource manager (running at a center location). Pardon me as I donot have much idea about video resource handling in Linux , first of all , it is feasible to have this kind of a layer, in between the applications and the available resource hardware. Kindly give me some pointer as to how do I start? Pl. give me some reference URLs.
I am looking for open source reservation software, so that a patron could book time to use a computer. I have googled around looking for software. Most of the programs that I am finding, are looking not to supported anymore. Anyone here using that type of software? I have looked at pre-book software, but can't use because of the OS, I am running on my workstations. I will keep checking sourceforge.net to see if I can find anything.
I am currently running CentOS 5.3 which includes the gcc 4.1.2 compiler. I need to compile a Realtek 8139 NIC driver for VMware ESXi.
The GPL sources and documentation from VMware show that the source file 8139too.c needs to be modified and re-compiled to run with the small busy-box ESXi kernel, and it *very* specifically states that gcc 3.2 is to be used.
I have the gcc 3.2 rpm but am afraid to force it on/over the 4.1.2 install. To be honest, I have not even checked dependencies yet.
Where do I start to get both versions of the compiler on the same box without them stepping all over each other.
I am connecting to linux server(RHEL4.7) using putty from my windows machine. Is there any way to get the ip address of my windows machine using C program in linux.
I'm not sure if I'm posting in the correct section, so please move it if it isn't.I currently have a bunch of laptops for testing a distributed network - throughput etc., using a bunch of bash scripts that send or listen to multiple addresses and ports, which run iperf. But at the moment I have to run it from each machine, or log in through ssh.To make this easier, I'd like to be able to present a bunch of buttons and selections from a web interface, so I can just put in the hostname of each laptop, and then click on a presented 'send' or 'listen' button to then execute iperf, and be able to kill it early if need by, say, by a 'stop' button.
What is the best way to go about this? Python, JavaScript, Java Servlet?And how would I do it? Just one of the above on Apache or something on each laptop?I just don't which direction to start heading in. Any help would be greatly appreciated.BTW. The network is considered to be not connected to the Internet, so I'm not too concerned about security, but if you've got any suggestion of how to start and stop iperf securely from a web interface on a machine, I'm interested.
I'm not a Fortran coder but I need to call the sub-routine ADAPT.f from a c code.This subroutine calculates a multiple integral of a given function.My problem is that the c code works with no problem in a 32 bit machine but it does not in a 64 bit machine, and the problem seems to be related to adapt, which calculations gives a NA rather than the result of integration.Since fortran is quite obscure for me, I don't know why is this happening. Maybe I should change some data type (from real to double), but I'm not sure. Does anyone have a clue?
I am new to both linux and fortran programming. I am trying to read from an external file, but it gives this error message: Fortran runtime error: Bad integer for item 1 in list input Part of the code that has the problem is:
All the variables have been declared before and there is no problem with that. The problem (error message) is in the (first) line that deals with open(unit=3,file='..//').
my build machine is x86 machine that is running ubuntu10.04, my target machine is tegra2 that is running on Andrioid, I wish my program can run under shell of android, as first step , I wrote a simplest assembly program which does nothing, but I got a link error, can somebody help me?
Are there any solutions by which linux-based web server frameworks (like zend or any other) can process data inside microsoft excel spreadsheets (*.xls)?
I am a newbie in perl and I am trying to develop a script that should try to login on all windows machine in a LAN say 192.168.100.0/24 with a given username and password. I am not sure wether it will use RDP or any other protocol, so I am getting confused how to proceed.
I was thinking to install a very basic SSH gate, secured over SSL, like this [URL] using PHP. However I would like to have it very basic and simple to install. (not database SQL, nor complicated things, ...) so that I get a prompt page with login and password to access the SSH-internet, and then can SSH the linux box over SSL and regular port 80 like they do. passwd would be in a txt file or whatever. You use index.htm and no one can scroll the tree of the directory. Would have someone already embedded php code for that?
I am trying to install wxsqlite3-2.0.2 on my Debian machine. I have installed wxGTK-2.8.11 in the folder: /home/mrj2/wxGTK-2.8.11
When I run the wxsqlite3-2.0.2 configure script, a problem arises due to the fact that wxGTK is expected to be in a specific directory. The wx-config file cannot be found. However, there are copies of these files for each type of build in the folders:
Does anyone else have a resource monitor appearing on their KDE desktop? My is in the upper-right corner, and lies on top of all other windows. I can work with windows beneath it alright, but it is always showing.
The resource monitor is always translucent, and appears to have some sort of vertical "thermometer"-style usage scale on its left side. Beside that are two scrolling graphs. The only text/label appears to be a percentage that matches the thermometer bar, but there is nothing to tell me what resources are being monitored. Regardless, I use other resource monitoring software and I do not want this one on my desktop.
I am trying to set up a mdadm raid in a new machine that I am building as a home theatre PC. the machine boot just fine from /dev/sdc running ubuntu 9.10 However in gparted /dev/sda and dev/sdb show to be part of /devmapper/sil_ajbicfacbaej
Both dev/sda and /dev/sdb were drives that used to be part of a sil hardware raid on a previous machine. I would like to use them as a new mdadm raid on this new machine the old hardware card was really quite slow. the drives are now pluged into the MB and should be much faster there.
I need to monitor resource of my server. I have found munin and sysstat, Does munin use systat? or they are different package?because in some documents I have found on net,for installing munin, systat is needed !!for example on RedHat based distor, sysstat package is needed! but on debian is not needed!
how I can perform a diagnostic n the cd/dvd drive?The DVD is fine - it played in a DVD player. I can also browse the files on the DVD so something else must be wrong.
VLC will not play it either but doesn't show an error.
I am dual-booting my Gateway laptop with Windows XP Media center Ed. and Ubuntu Notebook 10.10. Several weeks ago I was in the midst of downloading a program from the software center and my system starts running slow (this is in the Ubuntu kernel, not the Windows OS). So I decided to cold-boot the laptop in mid-download. When it boots back up, I get dropped to a grub-rescue menu that states the following:
Code:
Now, the only way I can even remotely use my laptop at the moment is to use my Live USB with the corresponding version of Ubuntu Netbook 10.10 or the Live CD I made with Ubuntu 10.04 on it (I'll explain why I made this below).
I read somewhere that I need to run fsck on my device to try to fix the partition, which btw my Ubuntu partition on my device is /dev/sda5, and before someone suggests it, I even tried using GParted and it doesn't work.
The reason I made a 10.04 CD is because I read somewhere that using the fsck from 10.04 might be more effective (for whatever reason) than the 10.10 fsck version.
I'd also like to add that I'm incapable of booting onto my Windows OS at all, yet I can access the partition from my Live CD/USB. the Ubuntu partition however, I can neither access or mount.
I tried running fsck on the entire device partition table, and I get the following:
Code:
This is me running fsck from the 10.04 version, I get a similar msg from the 10.10 Live USB but replace fsck.ext2 with fsck.ext4 in the message.