Questions tagged [system]

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

The system tag is used for referring to the operating system, or functions thereof, when accessed from a higher-level language.

Many high-level languages offer access to the features of the system by an object or function called system itself. Questions regarding these objects might as well be tagged with this tag.

In normal English, a system is a set of interacting or interdependent components forming an integrated whole or a set of elements (often called 'components' ) and relationships which are different from relationships of the set or its elements to other elements or sets.

4678 questions
1
vote
3 answers

Are OS libraries written in assembly or in C

I ask this, because I am getting very conflicting definitions of System calls. One one hand, I have seen the definition that they are an API the OS provides that a user program can call. Since this API is a high level interface, it has to be…
Saad Haider
  • 183
  • 5
1
vote
1 answer

How to query kernel memory pool status without triggering OOM killer?

I know that kernel will emit detailed system memory status to kernel log when OOM Killer is triggered. Is there a way to query this information while the system is running normally? I know that basic info can be found at /proc/meminfo but the…
Mikko Rantalainen
  • 14,132
  • 10
  • 74
  • 112
1
vote
0 answers

The issue of defining size of an alphabet in an number system

I ask for helping with next question: I've got difficulties when studying the question. The difficulties is that, firstly, i can't understand the building of the thought line when we define the set of number alphabet (example 0,1,2...9) Nk = Pk +…
1
vote
1 answer

Android source. Edit Key events

I want to reassign event, when user send KEYEVENT_SEARCH. Now it just start search activities in applications and if you press it second time - it doesn't do anything. I have to redefine the event so that the first click opens the search, and the…
1
vote
1 answer

terminal info on AIX with /proc filesystem

I am trying to get the terminal information with /proc file system on AIX. Sample program on AIX #include #include #include #define DEVNO64 0x8000000000000000LL #define DEVNORSV…
sunmoon
  • 1,448
  • 1
  • 15
  • 27
1
vote
2 answers

Perl: run system command with shell environment

Trying to run perl system command with a full blown shell environment. Similar to Python's Popen with shell=True. Tried system('/bin/bash -c "something"') and that didn't work. Someone hook a non-perl guy up! --- update --- # ./test.pl ENV-PATH:…
CarpeNoctem
  • 5,540
  • 8
  • 30
  • 33
1
vote
2 answers

System of equations in python symbolically

I want to solve this system symbolically but it didn't work. where did I make the mistake? and how can I solve it? import numpy as np from sympy import symbols,Matrix Y, C, I0, G0, a, b = symbols('Y, C, I_0, G_0, a, b') npA = np.array(([1, -1], [-b,…
Tatanik501
  • 159
  • 10
1
vote
4 answers

Finding ALL files regardless of permissions (Windows XP, C#)

I have a need to find ALL files on my hard drive (in the C: partition), regardless of permissions. (Windows XP Pro, using C#) In an earlier question, I was told: The "C:\System Volume Inforamtion" folder cannot be viewed because it is assigned only…
Mark T
  • 3,464
  • 5
  • 31
  • 45
1
vote
3 answers

What and when does the stack and heap actually created?

I know basic stuffs like when you run a process, it will load environment variables and the parameters to the stack; or how rsp, rbp registers be doing when we run a function. But, what thing and when does the stack/heap actually created when we run…
Pham Viet An
  • 31
  • 1
  • 3
1
vote
1 answer

How to change the folder of Java binary in Flutter

In my project i need to keep my Java on ver.8, but suddenly, it was updated. I've tried to fix it, by playing with system variables, but I've found that my Flutter depends on some custom path to Java How can i change that?
Sakorni
  • 91
  • 5
1
vote
0 answers

System can't find the path specified while running python program in Windows system

I am using below line in my code: compress_video(r"C:\Users\User\Downloads\test.mp4", r"C:\Users\User\Downloads\output.mp4", 50 * 1000) I am getting below error: hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError:…
Pixzium Media
  • 109
  • 2
  • 10
1
vote
1 answer

Getting all assembly names related to a namespace

How can I get all the assemblies related to a namespace? For example, if I have "using System" in my project, then I want to have an array of the assemblies "System.Console, System.Private.CoreLib ...".
GBI
  • 171
  • 5
1
vote
1 answer

erlang distributed banking system

I am trying to ilustrate the concept of distributed applications using Erlang. My system currently has one server and one ATM. I try to keep it as simple as possible. For the moment my application runs locally. I am using gen_server for a…
ar3tzu
  • 11
  • 2
1
vote
2 answers

C++ Error (202): Command token too long

I have a "black box" question about an error I get when I run a discrete event simulation for about a minute. Everything works fine, and it completes successfully, but the system prints the following message once at some point during the…
Alan Turing
  • 12,223
  • 16
  • 74
  • 116
1
vote
1 answer

Calling the system through C++ inconsistently fails

I'm trying to launch a Python script by using the system call through C++, on Ubuntu. The problem is that this command sometimes works, but more often than not, it fails and throws one of two errors: sh: 1: Syntax error: EOF in backquote…
TheTomer
  • 143
  • 3
  • 11