Hi,
I have a Java application which requires certain software (one of them being Perl) before it can be run. What I used to do to detect for Perl is:
Runtime.getRuntime().exec("perl Test.pl");
and if there was an IOException declare that there was no Perl.
However, one of my users complained that the app kept failing because he had ...
Hi,
I recently had a Linux process which "leaked" file descriptors: It opened them and didn't properly close some of them.
If I had monitored this, I could tell - in advance - that the process was reaching its limit.
Is there a nice, Bash\Python way to check the FD usage ratio for a given process in a Ubuntu Linux system?
EDIT:
I no...
like func("rm -rf /usr/local/)
Which 'func' will you use to do that?
...
I am trying to run a simple program on an powerpc embedded system without any operating system. I am using GNU compiler-linker tools and PSIM as simulator. I've written my own very simple Linker Directive file.
I've used a global variable in my static library and want to use that variable in my sample program. But while linking the samp...
I'm curious what the cost is on modern CPUs in terms of cycles to perform a switch from Kernel and User mode?
...
Hi,
What are the architectural/system level changes has to made if I want to develop a JVM (Java Virtual Machine) like tool/application for Windows and Linux?
Basically, What are the architectural differences in JVM wrt Windows & Linux?
Thanks,
Naveen
...
Is rela.dyn section required in all linker directives even if you just want a static library to be linked?
I do not want dynamic relocation of libraries(dynamic linker or run-time loader)? Should I still have a rela.dyn part in my linker directive?
...
I have a few questions related to Windows processes in kernel and usermode.
If I have a hello world application, and a hello world driver that exposes a new system call, foo(), I am curious about what I can and can't do once I am in kernel mode.
For starters, when I write my new hello world app, I am given a new process, which means I ...
I would like to know how to calculate the size of the page table (in bytes) if there is one entry per page, each entry requires 4 bytes and my page size is 64KB.
...
Hi, I have been developing an iPhone app. and had the Base SDK set to "iPhone Device 3.0" and Deployment target set to "iPhone OS 3.0". Everything worked fine. I recently realised I actually needed to compile the project to run on devices using version 2.2.1 of the SDK, so I set the deployment target to "iPhone OS 2.2.1". Now when I hit ...
Hello all,
I have a Silverlight3 application that is meant to run on both Windows and Mac OS environments. I would like to know in runtime if my application is running on a Windows or Mac so I can tweak a few things to the way users are accustomed to in their operating system of choice.
For example, in Windows it is the norm to use "O...
Is there some way to autostart apps in Vista so you can control which one is started first, second, third etc. For example if I want to start Outlook, Visual Studio, Dreamweaver, IE, Firefox in that order, and to have them appear in the taskbar like that.
I added them into the autostart-folder but Vista didn't start the apps in the ord...
I have one query on which I would like to get your valuable feedback. Nowadays I hear a lot about Web Operating Systems. Like, Google is working on Chrome OS, but I am not sure how OS principles will work with a Web Operating System. I mean, Web OS's will come in picture once the Internet is connected, but for booting up system and othe...
Is there a way to assign a shortcut for Minimizing a window the Alt-Space-n sequence in just one keyboardshortcut?
With a vbs-script and then assign the shortcut to that script?
But how does that script look like?
...
How can I get the OS details using C# code in my WPF application?
...
I am trying to figure out if there is a location in WMI that will return the OS Architecture (i.e. 32-bit or 64-bit) that will work across "all" versions of Windows. I thought I had figured it out looking at my Win2k8 system when I found the following:
Win32_OperatingSystem / OSArchitecture
I was wrong. It doesn't appear that this ...
I dont know for which iPhone OS I am compiling my code, 3.0 or 2.2...
...
How many tasks are needed for priority inversion to happen??..As per as my understanding we need atleast 3.....or can we have it only with 2 task??
I actually went through a book : modern operating system by Andrew Tanenbaum . I knew only when 3 task are there in some patern as u all know ..a priority inversion can happen..however ..I f...
so far i have winsrv 2003 as the operating system on my dev-machine. now my manager asks me if i can switch to win7 because of licencing costs.
anybody of you know any good reasons for doing/not doing this?
...