Top "System" questions

System may refer to a set of interdependent components; Low level infrastructure like the operating system (from a high language point of view) or an object or function for accessing the previous

Capturing stdout from a system() command optimally

I'm trying to start an external application through system() - for example, system("ls"). I would like to capture its …

c++ c system stdout
Really 1 KB (KiloByte) equals 1024 bytes?

Until now I believed that 1024 bytes equals 1 KB (kilobyte) but I was reading on the internet about decimal and binary …

binary byte system decimal bit
How to set system wide umask?

I am working in a lab where we are running Linux (Debian and Ubuntu). Usernames and group names are handled …

linux system umask
os.mkdir(path) returns OSError when directory does not exist

I am calling os.mkdir to create a folder with a certain set of generated data. However, even though the …

python system mkdir
Get pc (system) information on windows machine

Is there a way to get the following information by using c# script. PC Name Service Tag CPU type CPU …

c# operating-system system processor
Calculating elapsed time in a C program in milliseconds

I want to calculate the time in milliseconds taken by the execution of some part of my program. I've been …

c unix time system timer
How can I get system/hardware info via Java?

I need to get system and hardware info via a Java application. I'm interested in: Os details; Processors count, names, …

java system jna system-information
How to run a system command in Qt?

I have to run a system command in Qt. but I have to give an argument for that command. for …

qt file qt4 system
PHP exec() will not execute shell command when executed via browser

I have a certain PHP script that calls exec() to execute a command to convert a PDF to JPG. This …

php system exec
How does direct mapped cache work?

I am taking a System Architecture course and I have trouble understanding how a direct mapped cache works. I have …

caching system cpu-architecture