JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... ociated with the process. Different threads in the same process may have different comm values, accessible via /proc/[pid]/task/[tid]/comm . A thread may modify its comm value, or that of any of other thread in the same thread group (see the discussi ... on of CLONE_THREAD in clone (2)), by writing to the file /proc/self/task/[tid]/comm . Strings longer than TASK_COMM_LEN (16) characters are silently truncated. This file provides a superset of th ... other words: this field represents the number of bytes which this process caused to not happen, by truncating pagecache. A task can cause "negative" I/O too. If this task truncates some dirty pagecache, some I/O which another task has been accounted ... ... ociated with the process. Different threads in the same process may have different comm values, accessible via /proc/[pid]/task/[tid]/comm . A thread may modify its comm value, or that of any of other thread in the same thread group (see the discussi ... on of CLONE_THREAD in clone (2)), by writing to the file /proc/self/task/[tid]/comm . Strings longer than TASK_COMM_LEN (16) characters are silently truncated. This file provides a superset of th ... other words: this field represents the number of bytes which this process caused to not happen, by truncating pagecache. A task can cause "negative" I/O too. If this task truncates some dirty pagecache, some I/O which another task has been accounted ... ... のエラーで失敗する場合がある。 ERANGE name と len で指定されたバッファーが、 スレッド名を格納するには短かすぎる。 /proc/self/task/[tid]/comm のオープンに失敗した場合、 これらの関数は open (2) で説明されているエラーのいずれかで失敗する。 バージョン これ ... 接尾辞が 付いている。 注意 pthread_setname_np () は内部で /proc ファイルシステムのスレッド固有の comm ファイル ( /proc/self/task/[tid]/comm ) に書き込みを行う。 pthread_getname_np () はこのファイルから読み出しを行う。 例 以下のプログラムは、 pthread_s ... H -C a.out -o 'pid tid cmd comm' PID TID CMD COMMAND 5990 5990 ./a.out a.out 5990 5991 ./a.out THREADFOO $ cat /proc/5990/task/5990/comm a.out $ cat /proc/5990/task/5991/comm THREADFOO プログラムのソース #define _GNU_SOURCE #include < pthread.h > #i ... ... のエラーで失敗する場合がある。 ERANGE name と len で指定されたバッファーが、 スレッド名を格納するには短かすぎる。 /proc/self/task/[tid]/comm のオープンに失敗した場合、 これらの関数は open (2) で説明されているエラーのいずれかで失敗する。 バージョン これ ... 接尾辞が 付いている。 注意 pthread_setname_np () は内部で /proc ファイルシステムのスレッド固有の comm ファイル ( /proc/self/task/[tid]/comm ) に書き込みを行う。 pthread_getname_np () はこのファイルから読み出しを行う。 例 以下のプログラムは、 pthread_s ... H -C a.out -o 'pid tid cmd comm' PID TID CMD COMMAND 5990 5990 ./a.out a.out 5990 5991 ./a.out THREADFOO $ cat /proc/5990/task/5990/comm a.out $ cat /proc/5990/task/5991/comm THREADFOO プログラムのソース #define _GNU_SOURCE #include < pthread.h > #i ... ... read_getname_np (3) で取得できるのと同じ属性である。 同様に、 tid が呼び出し元スレッドの ID の場合、 この属性は /proc/self/task/[tid]/comm 経由でもアクセス可能である。 PR_GET_NAME (Linux 2.6.11 以降) 呼び出し元スレッドの名前を (char *) arg2 が指す場所 ... とだろう)。 PR_GET_TIMING (Linux 2.6.0-test4 以降) 現在使用中のプロセスタイミングを決める方法を (関数の結果として) 返す。 PR_TASK_PERF_EVENTS_DISABLE (Linux 2.6.31 以降) 呼び出したプロセスに接続されたすべての性能カウンターを無効にする。 カウンターがこの ... カウンターは影響を受けない。 性能カウンターの詳細については Linux カーネルソースの tools/perf/design.txt を参照。 以前は PR_TASK_PERF_COUNTERS_DISABLE と呼ばれていた。 Linux 2.6.32 で名前が変更された (数値は同じままである)。 PR_TASK_PERF_EVENTS_ENABLE ... ... le x ); -lm でリンクする。 説明 これらの関数は 10 の x 乗の値を返す。 Note well : These functions perform exactly the same task as the functions described in exp10 (3), with the difference that the latter functions are now standardized in TS 18661-4: ... ... le x ); -lm でリンクする。 説明 これらの関数は 10 の x 乗の値を返す。 Note well : These functions perform exactly the same task as the functions described in exp10 (3), with the difference that the latter functions are now standardized in TS 18661-4: ... ... le x ); -lm でリンクする。 説明 これらの関数は 10 の x 乗の値を返す。 Note well : These functions perform exactly the same task as the functions described in exp10 (3), with the difference that the latter functions are now standardized in TS 18661-4: ... ... スを使い果たしている。 EFAULT vec が無効なアドレスを指している。 EINVAL addr がページサイズの倍数でない。 ENOMEM length が ( TASK_SIZE - addr ) より大きい。 ( length に負の値が指定された場合、 その値が大きな符号なし整数として解釈されるために起こることが ... ... t pollfd * fds , nfds_t nfds , const struct timespec * tmo_p , const sigset_t * sigmask ); 説明 poll () performs a similar task to select (2): it waits for one of a set of file descriptors to become ready to perform I/O. The Linux-specific epoll (7) ... API performs a similar task, but offers features beyond those found in poll (). 監視するファイルディスクリプター集合は、 fds 引数で指定する。 fds は、 ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。