operating-system

Running a code before any operating systems is booted?

Is there a way to write a code that may run when System starts while a operating system is not loaded? I actually want to copy data of a particular partition, sector by sector, into another partition with the help of that code. ...

Trying to compile code from OS Dev tutorial

This is a hard question to ask because I'm positive I'm about to be bombarded with haters commenting on "if I can't write an operating system already, I won't ever to be able to write an operating system". Well I've read Modern OS by Tanembaum, Linux Kernel Development, Understanding the Linux kernel and others I still don't know if or n...

Best OS to deploy a low latency Java application?

We have a low latency trading system (feed handlers, analytics, order entry) written in Java. It uses TCP and UDP extensively, it does not use Infiniband or other non-standard networking. Can anyone comment on the tradeoffs of various OSes or OS configurations to deploy this system? While throughput is obviously important to keep up wi...

What's a good project tailored to learning strengths of Unix / Linux

I've been developing Microsoft Windows based applications (both desktop and web) for several years using C#, .net, & Visual Studio with a dash of C/C++ & WIN32. I want to broaden my horizons and try out developing in a *NIX environment e.g. using Vim & C++. I have limited UNIX experience from a few school projects. I'm having trouble ...

32 bit OS , 32 bit processor what do they exactly mean

Whats is the exact meaning of 32 bit OS , 32 bit processor? Does it influence the size of address bus? Does it influence the number of virtual address that can be generated? How will it affect the register size means does the register size? What impact it has on virtual memory/ memory management I am a begineer in this area please po...

more info on Memory layout of an executable program (process)

I attended interview for samsung. They asked lot of questions on memory layout of the program. I barely know anything about this. I googled it "Memory layout of an executable program". "Memory layout of process". I'm surprised to see that there isn't much info on these topics. Most of the results are forum queries. I just wonder why? ...

Cant get __import__() to dynamically import a module in python - I know this cause it doesn't show up in sys.modules

Wrote a small script - just trying to get used to the os, sys, and some other common modules/libraries available to python at install. The gist: The script is designed to search the python directory for all available modules (whether they are installed or not), then it is suppose to check what modules are currently loaded, then it offe...

How to check website viewer's operating system?

I'm running Ubuntu 8.04 and I recently received the following error when visiting a website: Please return to www.site.com with a computer running Windows 98, 2000, Me, NT, or XP. How does the website know which OS I'm running? Is it only via javascript or is there OS information in the request headers as well? Is there a way for...

What is private bytes, virtual bytes, working set?

I am using perfmon windows utility to debug memory leak in a process. Perfmon explaination: Working Set- Working Set is the current size, in bytes, of the Working Set of this process. The Working Set is the set of memory pages touched recently by the threads in the process. If free memory in the computer is above a threshold, pages are...

Is it possible to make an operating system using VB.NET?

Is it possible to make an operating system using VB.NET? ...

Is it possible to make an operating system using java?

Hi, I wanna know is it possible to make an operating like windows-xp which is written in C language like can I write that in java so that I will have same features as written in C ...

Beginner's Guide to Operating Systems

What's a good book to learn about the internals of operating systems (mainly OS X). I've tried reading "Mac OS X Internals" but it assumes too much (mach, EFI, kernel, BSD, etc.) Is there a good book out there that demystifies all of this stuff? ...

Change the minimum OS requirments of my iPhone App?

I made a simple application, then submitted for review. After that the app details claims that the minimum OS requirmentes is 3.1.2 (I work with that SDK). If I change my Target's iPhone OS Deployment Target to a lower iPhone OS, then could it be "fix" my problem? Is there any risk of it? I Use some UI(Image)Views, page-flip animations,...

Are there any GOOD Chef, Chef-Server and Chef-Client tutorials out there?

Hi there, Chef from Opscode seems to be really useful for configuring servers and such, but trying to follow their documentation is a little difficult. Some terms are defined after they are used, and definitions sometimes reference new terms that you haven't yet encountered. Anyone know of any GOOD tutorials/walk-throughs for getting a ...

What is an OS kernel ? How does it differ from an operating system?

I am not able to understand the difference between a kernel and an operating system. I do not see any difference between them. Is the kernel an operating system? ...

C# Windows 7 problem

I develop a windows application on c#. I have tried it on different PCs with XP operating system, but I had a problem when I start to run on PC with windows 7. The program is closed automatically. I use SQLite for database and interaction with php files in the program. ...

Windows Error Logging (Severity=Success)

I am using IoWriteErrorLogEntry to log an error to the Windows event log (from a driver). Everything works EXCEPT that messages with Severity = Success (yes, Success is defined as per the msdn documentation) displays in the event log with an error icon. Is there an issue with using Severity = Success in the system log? ...

Debugging an Operating System

I was going through some general stuff about operating systems and struck on a question. How will a developer debug when developing an operating system i.e. debug the OS itself? What tools are available to debug for the OS developer? ...

How do you determine full paths from filename command line arguments in a c++ program?

I am writing a program in c++ that accepts a filename as an argument on the command line: >> ./myprogram ../path/to/file.txt I know I can simply open an fstream using argv[1], but the program needs more information about the exact location (ie. full pathname) of the file. I thought about appending argv[1] to getcwd(), however obvious...

Increase memory for shared memory

Hi there! Actually when trying to get shared memory, shmget() often fails with because being unable to allocate memory. The physical size of RAM really shouldn't be the problem (4GB is enough, I think). Rather there's probably anywhere in the systems properties a limit for allocating shared memory set. Does anyone know, where I can fin...