Top "Operating-system" questions

An operating System (OS) is a basic software whose role is to be an abstract layer between software requisitions for resources and the hardware available, manage input/output, memory allocation/deallocation, file systems, among other basic tasks a device (not necessarily a computer) should do.

What resources are shared between threads?

Recently, I have been asked a question in an interview what's the difference between a process and a thread. Really, …

multithreading process operating-system
Get operating system info

I recently started wondering about sites like http://thismachine.info/ that get the user's operating system info. I have not …

php operating-system user-agent
What is the return value of os.system() in Python?

I came across this: >>> import os >>> os.system('ls') file.txt README 0 What is …

python operating-system
How is TeamViewer so fast?

Sorry about the length, it's kinda necessary. Introduction I'm developing a remote desktop software (just for fun) in C# 4.0 for …

performance network-programming operating-system udp remote-desktop
How do I check OS with a preprocessor directive?

I need my code to do different things based on the operating system on which it gets compiled. I'm looking …

c operating-system c-preprocessor conditional-compilation
What are the differences between virtual memory and physical memory?

I am often confused with the concept of virtualization in operating systems. Considering RAM as the physical memory, why do …

memory-management operating-system virtualization ram virtual-memory
Best way to find os name and version in Unix/Linux platform

I need to find the OS name and version on Unix/Linux platform. For this I tried following: lsb_release …

linux unix operating-system version
What is the difference between user variables and system variables?

What is the difference between user variables such as PATH, TMP, etc. and system variables? I accidentally deleted the user …

windows path operating-system environment-variables
Comprehensive methods of viewing memory usage on Solaris

On Linux, the "top" command shows a detailed but high level overview of your memory usage, showing: Total Memory, Used …

operating-system solaris sysadmin
Find Process Name by its Process ID

Suppose I know the process ID. I want to find the process name by its ID, using windows batch script. …

windows batch-file command-line cmd operating-system