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.

View 1 Replies


ADVERTISEMENT

Programming :: How Can I Get Resource File

Jul 19, 2010

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?

View 2 Replies View Related

Programming :: C - Resource Temporarily Unavailable?

Mar 7, 2010

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:

Code:
void new_tab_created_cb(GtkButton *button, gpointer data)
{

[code]...

View 1 Replies View Related

Networking :: DHCP IP Reservation Through MAC Address?

Jan 13, 2011

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.

View 1 Replies View Related

Programming :: Synchronization Between Threads Fails - Resource Unavailable

May 6, 2009

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).

[Code] ...

View 4 Replies View Related

Programming :: Change The Resource Limits For A Specific Process?

Jun 26, 2010

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

View 1 Replies View Related

Programming :: Start Video Resource Manager In System?

May 5, 2010

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.

View 2 Replies View Related

Software :: Open Source Reservation Software ?

Nov 29, 2010

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.

View 10 Replies View Related

Programming :: Two Versions Of Gcc On The Same Machine?

Jan 6, 2010

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.

View 9 Replies View Related

Programming :: Get The Ip Address Of The Client Machine?

Jan 2, 2011

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.

View 9 Replies View Related

Programming :: Running Iperf On Machine From Web Interface

May 22, 2011

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.

View 2 Replies View Related

Programming :: Fortran Code On 32/64bit Machine

Jun 10, 2009

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?

View 3 Replies View Related

Programming :: Gfortran V4.4.1 Run In Machine Gives Runtime Error?

Sep 10, 2010

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:

open(unit=3,file=&
atrain_data/prfdata/temp_pres_cld_profile_for_CRTM2006-06-15T200163.dat',FORM='formatted')
read(3,*)bsepos
read(3,*)toppos
write(3,*)bsepos
write(3,*)toppos

[Code]...

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='..//').

View 2 Replies View Related

Programming :: How To Use X86 To Build Assemly Program For Arm Machine?

Apr 14, 2011

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?

View 4 Replies View Related

Programming :: Ip Address Of Machine Using Bash Script

Jul 22, 2010

I want to get only the IP address of the machine and store it in a variable.

I have tried following commands and I get an error:

Error is -

View 9 Replies View Related

Programming :: Process Ms Excel Files On Machine?

Mar 2, 2010

Are there any solutions by which linux-based web server frameworks (like zend or any other) can process data inside microsoft excel spreadsheets (*.xls)?

View 1 Replies View Related

Programming :: Perl Script To RDP LAN Of Windows Machine From Linux?

Apr 13, 2010

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.

View 3 Replies View Related

Programming :: PHP - Creating Basic Simple SSH Command To Machine Over SSL?

Jan 18, 2011

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?

View 1 Replies View Related

Programming :: Install Wxsqlite3-2.0.2 On Debian Machine - Wx-config File Cannot Be Found

Feb 23, 2011

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:

/home/mrj2/wxGTK-2.8.11/GCCBuildDebugGTK2
/home/mrj2/wxGTK-2.8.11/GCCBuildDebugGTK2Unicode
/home/mrj2/wxGTK-2.8.11/GCCBuildReleaseGTK2
/home/mrj2/wxGTK-2.8.11/GCCBuildReleaseGTK2Unicode
/home/mrj2/wxGTK-2.8.11/GCCBuildReleaseMacUnicode

There is not a problem with my wxGTK installation as I use it in DialogBlocks and it works fine.

View 2 Replies View Related

Fedora :: Could Not Read From Resource

Dec 31, 2009

when I try playing a dvd I get this on one DVD.

Error Could not read from resource.

Or another plays through the FBI warnings and stops. Or plays the video for a bit with background music leaving out the speakers voice, then stops.

Once I got a note that said I need gstreameraudiosink or something like that.

View 5 Replies View Related

Debian :: DVD Error - Could Not Read From Resource

Jun 11, 2011

I try to play a DVD but get the error

Could not read from resource

View 6 Replies View Related

OpenSUSE :: Sticky Resource Monitor In KDE?

Aug 7, 2010

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.

View 8 Replies View Related

Ubuntu :: How To Find The Primary Resource

Jul 1, 2011

i want to leaning from smple basic ,how and where to choose will be better ! who can refer to ?

View 2 Replies View Related

Hardware :: Device Or Resource Busy ?

Jan 16, 2010

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.

fdisk -l shows this

It produces no errors but does not remove it.

View 1 Replies View Related

Debian Configuration :: Limiting Resource Usage

Sep 10, 2015

Got a few more questions from the Debian Security Howto.

Section "4.11.2 Limiting resource usage: the limits.conf file" page 44

Code: Select allnano /etc/security/limits.conf

At the bottom I get...

Code: Select all#<domain>      <type>  <item>         <value>
#
#*               soft    core            0
#root            hard    core            100000
#*               hard    rss             10000

[code]...

Do I have to uncomment these lines for them to take effect?

View 2 Replies View Related

Debian Configuration :: How To Monitor Resource Of Server

Feb 15, 2010

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!

View 1 Replies View Related

Ubuntu Multimedia :: DVD's Not Playing In 10.10 - Could Not Read From Resource

Dec 11, 2010

I am trying to get some DVD's to play in Ubuntu 10.10 but whenever i try to play them i get an error message saying "Could not read from resource".

View 8 Replies View Related

Ubuntu :: Dvd - Could Not Read From Resource (movie Player)

Feb 22, 2011

I am trying to play a DVD but get the error:

could not read from resource (movie player)

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.

View 5 Replies View Related

Ubuntu :: Fsck On Busy Device Or Resource

Apr 4, 2011

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.

View 9 Replies View Related

Hardware :: Retail Resource Amd Based No Os Or Laptop?

Mar 16, 2010

emproer sytem 76 tiger directlooking for a linux ready laptop with an amd 64 mainly ubuntu .deb but would also like slackware provisioned.

View 1 Replies View Related







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