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
1 answer

Can i2cdump/i2cget be used in a C executable?

I have a script that creates a file, and generates a timestamp from the system's time, and names the file by that timestamp. // Creating file name. Time stamp included. File will be sent to USB. FILE * fp; time_t rawtime; …
1
vote
2 answers

error occur when I call execvp to run java

I use chdir() to switch the directory, and then use execvp() to execute "java Main". I'm sure there is Main.class, but something went wrong. I want to know why. #include #include using namespace std; int main(){ char…
zxCoder
  • 71
  • 1
  • 5
1
vote
0 answers

Why would the read system call stop working halfway through a program?

I'm working on an assignment that involves creating files and manipulating characters within them using what the lecturer describes as "File and System I/O calls" in C. Specifically, I am using open, creat, read, write, lseek, close, and…
man_idk
  • 55
  • 5
1
vote
3 answers

Very slow to execute system command

I have a C++ program that records a lot of data to disk continuously for a long time. As such I have a thread that monitors the disk space available and once it hits a certain percentage does some stuff. This is on a dual quad core x64 CentOS…
fwg
  • 1,018
  • 2
  • 10
  • 25
1
vote
1 answer

Calling multiple commands via system() under windows doesn't work

So basiclly im trying to use this: int main() { system("adb kill-server \n" "adb devices \n" "adb start-server & \n" "var=$(adb shell \"pidof com.rok\")\n" …
J.Steve
  • 17
  • 9
1
vote
1 answer

Websocket alternatives in mobile apps?

Typical system design diagrams for back-end services like Uber involves a proxy and web socket server connection to the client. I'm curious why only web sockets (and long polling) are considered for these modern web designs. If the demand is for a…
Fred Wang
  • 43
  • 6
1
vote
1 answer

Flutter: When might SystemChrome.setEnabledSystemUIOverlays value override subsequent screen overlay values

I have two app 'screens', A and B. Both set the SystemChrome.setEnabledSystemUIOverlays in the build methods. A sets as per Widget build(BuildContext context) { SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values); return…
plam
  • 313
  • 1
  • 4
  • 17
1
vote
0 answers

500.19 internal server error

I am currently trying to add Blogengine to a web page. I have used web platform installer. when I try to view the blog it gives me this error. Module IIS Web Core Notification Unknown Handler Not yet determined Error Code 0x80070005 Config Error…
user796762
  • 21
  • 1
  • 4
1
vote
1 answer

How to get the android system size?

I'm looking to get the android system size programmatically (In fact, my intention is to find the entire storage of the device. But the functions that returns the phone's memory ignore the occupied memory of the Android system):
Faz
  • 322
  • 2
  • 14
1
vote
1 answer

I programmatically determine operating system in Java?

I learn the system features as follows: System.getProperty("os.arch") Output for 64 bit computer: amd64 but when I use a 32 bit java version on a 64 bit computer, the result is: x86 How can I learn the correct result even though I have java 32 bit…
ishak Akdaş
  • 43
  • 2
  • 9
1
vote
2 answers

Retrieving System Logs in C#

Im wondering if there is a way to list the system logs in a listview, then when clicked, a textbox below lists the details of the specific log. And can someone provide a quick sample of reading an event from the event log, in Winform, on Win7, with…
Rekar
  • 495
  • 2
  • 8
  • 19
1
vote
1 answer

Is it possible to save to disk all info required to kill a process and then start it back up again?

I'm thinking of how VM's work but at the level of a regular windows OS process. The idea is, if I could snapshot and unload processes, I'd never have to quit another app due to using up RAM.
Aaron Anodide
  • 16,906
  • 15
  • 62
  • 121
1
vote
1 answer

Problem with hooking ntdll.dll calls

I'm currently working on hooking ntdll.dll calls via dll injection. At first, I create thread in existing process via CreateRemoteThread() then I load my dll via LoadLibrary and finally hook calls on PROCESS_ATTACH. Injection works fine, but then I…
qutron
  • 1,710
  • 4
  • 18
  • 30
1
vote
1 answer

Need help plotting nullclines and bifurcation diagrams in Python

I'm trying to analyze a system I found in a paper of two cells interacting, where i defines one cell, in which U inhibits V, and V inhibits U, but S gets activated by U while inhibiting it. def system2(y,t,a_u,a_v,a_s,a_us,beta,lam): …
1
vote
1 answer

After mounting S3 bucket system date of the directory is shown as 1970

I'm mounting S3 bucket using s3fs command, after mount the directory shows the system date as 1970. My google search could not lead to a fix, looking for a help. S3 Command: s3fs rsqatestbucket2 /storage/s3test -o passwd_file=/opt/data/restore/.mng…