What is syacall/libc function df comannd call.
Why is this being downvoted? It’s clearly labelled as Japanese; if you don’t want to see foreign languages, filter them out.
One of the reasons is it makes moderation (including soft moderation by users like downvotes or reports) harder. Users not familiar with Japanese can’t decide whether the post follows the rule and is on topic.
There are no rules against non-English posts. If you can’t understand it, don’t vote against it. That’s a discriminatory reaction, just keep scrolling if you don’t read Japanese. If the mods want to restrict languages, they have every ability to do so.
Agreed, does it contain some malicious content?
Not that I can tell; just an explanation how df works on Linux and macOS.
You can check the CPU and memory statistics by looking at the files under /proc, but I was wondering how to get the file system capacity, so I looked at the df(1) code. . coreutils: df.c coreutils: fusage.c macOS: df.c Here is the code prepared to verify the operation of the library. Code to find out what df uses to output · GitHub For Linux On Linux, file system information can be obtained using statvfs(3). Although this is treated as a wrapper for the statfs(2) system call, it is basically recommended to use statvfs(3). (Via google translate)