Most voted "operating-system" questions
An operating system is a program or a set of programs whose function is to manage system resources (define which program receives processor attention, manage memory, create a file system, etc.), providing an interface between the computer and the user.
Learn more…86 questions
Sort by count of
-
37
votes5
answers409
viewsToday (06/30/2015) we will have a second more, what could be the consequences for our systems?
In case anyone doesn’t know, today 30/06/2015 We’ll have an extra second. That is, today after the 23h59m59s we shall have 23h59m60s! This to make the correction of International Atomic Time. I know…
-
24
votes3
answers1024
viewsShould I free up all the allocated memory when finishing a program?
It is commonly accepted that when I allocate a block of memory I am responsible for releasing it. This is particularly true when programming based on RAII. However the following program works…
-
21
votes1
answer7017
viewsWhat is the POSIX?
I know the acronym Portable Operating System Interface (POSIX), but what is it? Does it have to do with UNIX? Windows cannot be POSIX? What this matters to the developer?
-
20
votes1
answer1007
viewsWhat programming languages support Linux and Windows?
The question is already in the title, however to make it clearer: What languages I write a single code in, and run on both Linux and Windows? Example C. Except some commands like system("cls");…
linux windows characteristic-language operating-systemasked 8 years, 12 months ago Guilherme Lautert 15,097 -
19
votes3
answers2053
viewsWhy do 64-bit versions of programs have better performance, stability and security?
Recently, Google announced that the Dev version of Chrome is also available in 64-bit. It will probably be available also for stable versions in the future. What struck me is that Google said the…
-
17
votes2
answers31712
viewsWhat is the difference between " n" and " r n" (special characters for line breaks)?
For line breaking, I usually use \n. But I realize that in some cases, such as in the Sublime Text editor, some texts that I need to capture the line-breaking are only captured when I use regex…
-
15
votes1
answer339
viewsWhat are they and how do signals work?
Do they exist only on Unix or also on Windows? If so, what would be the equivalent on Windows system? What is the relationship with Signal Handling? A practical example of a Signal Handling can be…
-
12
votes4
answers3402
viewsHow to detect the operating system with Python?
How can I do in Python to identify which operating system is being used?
-
11
votes2
answers2648
viewsWhat is a shebang?
Since in many languages the character # represents a committal, what is the sense of using it? He has some special sense?
-
10
votes3
answers9879
viewsHow to free all memory allocated by an object - Delphi
What is the best way to free all memory allocated by creating an object for S.O. Let’s not consider: Objeto.Free; Objeto := Nil; Sysutils.FreeAndNil(Objeto); There would be more ways to free the…
-
10
votes3
answers9800
viewsHow to keep a server nodejs running permanently?
I want to know how to maintain my server nodejs permanently running on my vps Ubuntu I bought without the need to run Putty and run the command node app.js. I made a REST API that will be consumed…
-
10
votes2
answers15565
viewsWhat are the differences between Kernel and Microkernel?
Studying about operating systems I came across concepts about kernel and microkernel. In my researches I found the following definitions: Kernel In computing, the core or core (in English: kernel)…
-
9
votes1
answer138
viewsSwitching from 16 to 64 bits while booting an Intel PC compatible
Some time ago I studied to create a draft operating system for Intel PC compatible computers, which actually didn’t need to do much, besides putting the computer in 32-bit mode, handle keyboard…
-
9
votes3
answers203
viewsLicensing: How to deal with date/local time tampering of a computer?
I am developing an application (Desktop) that requires license renewal periodically, following a model Saas. The model of the licence shall function as follows:: The license will be downloaded from…
-
9
votes1
answer95
viewsWhat do the terms Memory Poisoning and HWPOISON mean?
I’m studying some things in the kernel GNU/Linux and found the above terms in the Memory Management/ Memory Allocation, would like to know the meaning of both and what they are ?…
-
8
votes1
answer206
viewsWhy do Dbms use their own paging when the operating system already has one?
I’m studying databases and I’ve come to the subject of replacing pages like LRU and MRU. The operating system already does this normally, because DB needs to make its own paging?
-
7
votes1
answer592
viewsCan Hard Drive Defragmentation help my server perform?
I always hear that it is necessary to "defragment the hard disk". But I never specifically knew the internal processes involving that operation. A doubt for example is: How software can perform this…
performance operating-system language-independentasked 8 years, 11 months ago Wallace Maxters 102,340 -
7
votes1
answer109
viewsWhy set a 0 or 1 output at the end of a program?
I have noticed that some programs always have a code snippet, which is always executed last, which takes as a parameter a number, usually 0 or 1. For better understanding, I put this example of a…
operating-systemasked 7 years, 10 months ago Wallace Maxters 102,340 -
7
votes1
answer2762
viewsWhy in file and folder names, are some characters still not accepted?
Why files and folders still do not accept some different characters? I believe you must have some programmatic influence in order to make that decision. The Operating Systems had and/or still have…
-
6
votes1
answer504
viewsCan the type of an operating system be microkernel + monolithic?
Based on what is said to be a monolithic system procedures and link in a large binary, where procedures can call others procedures. The microkernel aims to minimize the "service" made directly from…
operating-systemasked 10 years ago Victor Martins 798 -
6
votes1
answer550
viewsNumber of threads on a 16 processor machine
A question fell on my proof of Operating Systems and I was in doubt. During the race I got confused and marked alternative D, today I know she is wrong and has nothing to do with it. I am tending…
-
6
votes1
answer356
viewsDevelop for x86 and x64 platforms
More and more operating systems are prioritizing the "version" 64bits, with this, developing applications for this architecture becomes increasingly attractive. Based on this scenario, I ask what…
-
6
votes2
answers89
viewsBackslashes on the way: do they influence anything?
I never understood why some systems use the \ and others use the / for the same purpose: to divide paths and addresses. There is no pattern from which to use, or at least couldn’t find a. While…
characteristic-language operating-system file-system pathasked 5 years, 2 months ago CypherPotato 9,292 -
5
votes1
answer155
viewsOptimized approach of checking if there is a certain entry in Windows hosts file
I have a Java web application with Applets that access services on the web. These services are accessed through a specific hostname (example: services.webapp.com.br) configured in the application.…
-
5
votes0
answers109
viewsWhat does high memory area (high memory area) understand in DOS?
I’m studying about memory management in DOS, and I haven’t found much information about what exactly is understood in this area of memory. Hug.
-
5
votes1
answer2771
viewsHow to get computer information with C#?
As information of the computer where the C#application is running, such as computer name, IP, status of the firewall, if you have antivirus installed, if antivirus is active, etc.
-
5
votes1
answer858
viewsHow to work with environment variables?
I am developing an application that works with files (save and upload) and have to work with system variables to determine where to save these files. My question is: Is there any way to use…
-
5
votes1
answer93
viewsWhy should we make a bootloader before the kernel first?
Why when we develop an operating system, we always have to make an bootloader, because we can’t start with kernel?
-
5
votes3
answers8991
viewsWhat language is used to program an operating system?
What language is used in the programming of an OS?
-
5
votes1
answer130
viewsIn operating systems, what is the difference between I/O and I/O operations?
I have some doubts in distinguishing these two operations, they are similar but I think not the same, although both have to do with input and output of something "something".
-
5
votes1
answer137
viewsHow do temporary folders work?
I was wondering about that today. In both Unix and Windows operating systems, we have a specific location where temporary files of all kinds are played. It is obvious to think that if the folder is…
-
5
votes4
answers7265
viewsHow to get customer operating system information?
I need to get information from the operating system of who accessed the page, for example, through a command find out if it is Windows, MAC, Linux.
-
4
votes2
answers2696
viewsHow to run a subprocess with admin permission?
I’m making a script that accesses the cmd windows, via subprocess. Only I need to rotate the cmd as an administrator. The solution I found, does not satisfy me, which would be to use the runas. What…
-
4
votes1
answer212
viewsWhy the operating system uses SWAP when it still has RAM
I learned that virtual memory (SWAP) was only used when RAM had reached its maximum capacity (or almost). But, I realize that it is not so, according to this image I took of the performance of my…
-
4
votes1
answer4350
viewsDistributed systems (advantages and disadvantages)
What are the advantages and disadvantages of a distributed system?
-
4
votes1
answer83
viewsWhat is the need of a while in a producer-consumer?
I’m used to programming using this while in problems involving synchronization of threds because that’s how API’s usually ask you to do it, but I’ve never wondered why it is. I am taking a course of…
thread multithreading operating-system synchronizationasked 5 years, 9 months ago Michael Pacheco 1,657 -
3
votes1
answer1325
viewsCapturing user name logged into machine
I need to add in my program a method where it will capture the logged user from the machine and then display it to the client. The client will run the program, and then it will show you information…
-
3
votes1
answer460
viewsProblems installing jdk7 or 8 on MAC OS 10.6.8 - Snow Leopard
I’m a beginner in java, and I have a Macbook with MAC OS X 10.6.8 better known as Snow Leopard. I’m trying to install jdk and Netbeans on it and I can’t. He tells me I need version 10.7 of MAC OS. I…
-
3
votes1
answer2440
viewsShould I use DIRECTORY_SEPARATOR or BARRA (/)?
I often fiddle with frameworks source code, as in the case of Laravel to see how the structures are made. I noticed something interesting in Laravel 4 in relation to the Laravel 3. In the Laravel 3,…
-
3
votes1
answer61
viewsHow does the operating system distribute the processor across the various programs?
In current operating systems there is possibility of having several programs running. It is the work of the operating system to ensure that all programs have opportunity to perform work (process…
-
3
votes1
answer1172
viewsWhat are file descriptors and directories?
I’m studying the módulo os of the standard library of Python and I realize that in many cases a function is allowed to receive as a parameter a descritor de arquivo ou diretório some examples are:…
-
3
votes1
answer52
viewsHow to remove the OS user name
I’m making a terminal and I have a question, how do I remove the user name behind the message? exemplo: "C:/USERS/GUSTAVO/DESKTOP" How do I leave: example: "DESKTOP" I’m using the OS library to get…
-
2
votes1
answer224
viewsMy site loads different pages on different Operating Systems
I’m going through a very strange problem. When using Windows (Windows 7), my page loads as expected: @extends + index.php Already on Linux (Ubuntu 13.10) it is redirecting me to the route…
-
2
votes0
answers201
viewsSet order of startup scripts
I’ve been using So Linux Ubuntu since version 7.04, but I’ve used other distros before, and I realize that with each version something changes inexplicably, things that often get in the way. My…
-
2
votes2
answers156
viewsUse separate threads or programs?
I’m developing an application that involves three (maybe more) processes that run simultaneously: an HTTP server, a logger and another that will run the main code. A priori, a simple solution to do…
-
2
votes0
answers33
viewsWhat is the possible cost of using blocks for exception treatment in too ?
As exceptions are interruptions caused most of the time by the operating system, I wonder if there is any cost of memory (stack/heap) since, existing exception treatment the program continues to run…
-
2
votes1
answer51
viewsInterupçoes operating system
People can explain me this IDT[0x21] in the indices of these structs Why 0x21 in the indices? struct IDT_entry IDT[IDT_SIZE]; unsigned long keyboard_address; unsigned long idt_address; unsigned long…
operating-systemasked 8 years, 11 months ago aemg borges 49 -
2
votes0
answers48
viewsVirtual memory using bitset algorithms
I’m seeing the following macros that take as parameters how many frames (virtual memory) ram memory may have, but I can’t understand its meaning: define INDEX_FROM_BIT(a) (a/(8*4)) define…
-
2
votes3
answers428
viewsLinux or GNU/Linux?
There has always been a controversy regarding the name of the Linux Operating System. Some believe to be called only Linux, others call it GNU/Linux. After all, there is a correct way to refer to…
-
2
votes0
answers446
viewsHow does Memory Management work with virtual memory?
Well I’m doing the Operating Systems discipline and a doubt has arisen while I read memory management. From what I read, one way to abstract memory is to use base and limit registers, where each…