2017年5月28日日曜日

マックなOSだと sysctl の -d オプションが無意味

説明見れるといいのに

% sysctl -d kern.ipc.nmbclusters; uname -mrs                                                   
kern.ipc.nmbclusters:
Darwin 16.6.0 x86_64
% sysctl -d kern.ipc
kern.ipc:
kern.ipc.maxsockbuf:
kern.ipc.sockbuf_waste_factor:
kern.ipc.somaxconn:
kern.ipc.mbstat:
kern.ipc.nmbclusters:
kern.ipc.soqlimitcompat:
kern.ipc.mb_drain_maxint:
kern.ipc.mb_drain_force:
kern.ipc.mb_watchdog:
kern.ipc.mb_normalized:
kern.ipc.mleak_sample_factor:
kern.ipc.mleak_table:
kern.ipc.mleak_top_trace:
kern.ipc.mb_stat:
kern.ipc.sotcdb:
kern.ipc.extbkidlestat:
kern.ipc.extbkidlercvhiwat:
kern.ipc.extbkidletime:
kern.ipc.maxextbkidleperproc:
kern.ipc.soreserveheadroom:
kern.ipc.sorestrictsend:
kern.ipc.sorestrictrecv:
kern.ipc.sothrottlelog:
kern.ipc.sodefunctlog:
kern.ipc.sosendbigcl_ignore_capab:
kern.ipc.sosendjcl_ignore_capab:
kern.ipc.sosendjcl:
kern.ipc.sorecvmincopy:
kern.ipc.sosendminchain:
kern.ipc.sodefunct_calls:
kern.ipc.socket_debug:
kern.ipc.throttle_best_effort:
kern.ipc.io_policy.uuid:
kern.ipc.io_policy.log:
kern.ipc.io_policy.throttled:
kern.ipc.sbmb_limreached:
kern.ipc.sbmb_cnt_floor:
kern.ipc.sbmb_cnt_peak:
kern.ipc.sbmb_cnt:
kern.ipc.soqlencomp:
kern.ipc.njclbytes:
kern.ipc.njcl:
kern.ipc.maxsendmsgx:
kern.ipc.maxrecvmsgx:

$ sysctl -d kern.ipc.nmbclusters; uname -mrs
kern.ipc.nmbclusters: Maximum number of mbuf clusters allowed
FreeBSD 11.0-RELEASE-p9 amd64
$ sysctl -d kern.ipc
kern.ipc: IPC
kern.ipc.maxsockbuf: Maximum socket buffer size
kern.ipc.sockbuf_waste_factor: Socket buffer size waste factor
kern.ipc.max_linkhdr: Size of largest link layer header
kern.ipc.max_protohdr: Size of largest protocol layer header
kern.ipc.max_hdr: Size of largest link plus protocol header
kern.ipc.max_datalen: Minimum space left in mbuf after max_hdr
kern.ipc.maxsockets: Maximum number of sockets available
kern.ipc.numopensockets: Number of open sockets
kern.ipc.soacceptqueue: Maximum listen socket pending connection accept queue size
kern.ipc.shmsegs: Current number of shared memory segments allocated
kern.ipc.shm_allow_removed: Enable/Disable attachment to attached segments marked for removal
kern.ipc.shm_use_phys: Enable/Disable locking of shared memory pages in core
kern.ipc.shmall: Maximum number of pages available for shared memory
kern.ipc.shmseg: Number of segments per process
kern.ipc.shmmni: Number of shared memory identifiers
kern.ipc.shmmin: Minimum shared memory segment size
kern.ipc.shmmax: Maximum shared memory segment size
kern.ipc.sema: Semaphore id pool
kern.ipc.semaem: Adjust on exit max value
kern.ipc.semvmx: Semaphore maximum value
kern.ipc.semusz: Size in bytes of undo structure
kern.ipc.semume: Max undo entries per process
kern.ipc.semopm: Max operations per semop call
kern.ipc.semmsl: Max semaphores per id
kern.ipc.semmnu: Maximum number of undo structures in the system
kern.ipc.semmns: Maximum number of semaphores in the system
kern.ipc.semmni: Number of semaphore identifiers
kern.ipc.msqids: Message queue IDs
kern.ipc.msgseg: Number of message segments
kern.ipc.msgssz: Size of a message segment
kern.ipc.msgtql: Maximum number of messages in the system
kern.ipc.msgmnb: Maximum number of bytes in a queue
kern.ipc.msgmni: Number of message queue identifiers
kern.ipc.msgmax: Maximum message size
kern.ipc.aio.lifetime: Maximum lifetime for idle aiod
kern.ipc.aio.target_procs: Preferred number of ready kernel processes for async socket IO
kern.ipc.aio.num_procs: Number of active kernel processes for async socket IO
kern.ipc.aio.max_procs: Maximum number of kernel processes to use for async socket IO
kern.ipc.aio.empty_retries: socket operation retries
kern.ipc.aio.empty_results: socket operation returned EAGAIN
kern.ipc.piperesizeallowed: Pipe resizing allowed
kern.ipc.piperesizefail: Pipe resize failures
kern.ipc.pipeallocfail: Pipe allocation failures
kern.ipc.pipefragretry: Pipe allocation retries due to fragmentation
kern.ipc.pipekva: Pipe KVA usage
kern.ipc.maxpipekva: Pipe KVA limit
kern.ipc.umtx_max_robust:
kern.ipc.umtx_vnode_persistent: False forces destruction of umtx attached to file, on last close
kern.ipc.sfstat: sendfile statistics
kern.ipc.nmbufs: Maximum number of mbufs allowed
kern.ipc.nmbjumbo16: Maximum number of mbuf 16k jumbo clusters allowed
kern.ipc.nmbjumbo9: Maximum number of mbuf 9k jumbo clusters allowed
kern.ipc.nmbjumbop: Maximum number of mbuf page size jumbo clusters allowed
kern.ipc.nmbclusters: Maximum number of mbuf clusters allowed
kern.ipc.maxmbufmem: Maximum real memory allocatable to various mbuf types

0 件のコメント:

コメントを投稿