1
0
Fork
You've already forked machine-state
0
Retrieve machine state information about CPU time, memory usage, etc.
  • Common Lisp 100%
2026年02月02日 23:09:05 -06:00
docs Doc update 2025年08月20日 16:10:20 +02:00
bsd.lisp Small refactoring, [+] statfs fstype, [-] stat, [-] storage-io-bytes 2025年02月22日 23:24:28 +01:00
darwin.lisp Untested windows 2026年01月27日 15:33:37 +01:00
documentation.lisp More implementation. 2026年01月28日 10:00:47 +01:00
freebsd.lisp Optimisation 2026年01月28日 10:12:53 +01:00
LICENSE Init 2023年11月21日 19:44:18 +01:00
linux.lisp Optimisation 2026年01月28日 10:12:53 +01:00
machine-state.asd Version bump 2026年01月28日 10:13:07 +01:00
mezzano.lisp Implement some more stuff for mezzano 2025年02月06日 10:49:25 +01:00
nx.lisp Base port 2026年01月27日 15:11:37 +01:00
openbsd.lisp Untested windows 2026年01月27日 15:33:37 +01:00
opengl.lisp Add OpenGL/driver version to gpu-info 2025年02月13日 20:19:29 +01:00
package.lisp Add process-signal 2026年01月27日 17:44:11 +01:00
posix.lisp Add process-signal 2026年01月27日 17:44:11 +01:00
protocol.lisp More implementation. 2026年01月28日 10:00:47 +01:00
README.mess Minor 2026年01月28日 10:27:40 +01:00
staple.ext.lisp Doc regen 2024年08月26日 08:54:07 +02:00
test.lisp Minor 2026年01月28日 10:27:40 +01:00
windows.lisp improve THREAD-CORE-MASK on windows 2026年02月02日 23:09:05 -06:00

## About machine-state
This library implements various functions to access status information about the machine, process, etc.
## How To
Since this is a toolkit library, please simply refer to the symbol index for available functions and their behaviour. The following groups of functions are available:
- Process
 - ``process-self``
 - ``process-list``
 - ``process-signal``
 - ``process-info``
 - ``process-io-bytes``
 - ``process-room``
 - ``process-time``
 - ``process-priority``
- Threads
 - ``thread-time``
 - ``thread-core-mask``
 - ``thread-priority``
- Implementation
 - ``gc-room``
 - ``gc-time``
 - ``static-room``
 - ``stack-room``
- GPU
 - ``gpu-info``
 - ``gpu-room``
 - ``gpu-time``
- Physical Machine
 - ``machine-info``
 - ``machine-room``
 - ``machine-cores``
 - ``machine-uptime``
 - ``machine-time``
 - ``machine-battery``
- Storage Devices
 - ``storage-device``
 - ``storage-device-path``
 - ``storage-room``
 - ``storage-io-bytes``
- Network Devices
 - ``network-info``
 - ``network-devices``
 - ``network-io-bytes``
- Users
 - ``user-info``
## Implementation Support
Fetching information about threads that aren't the current one, or GC related information requires implementation support. The following implementations are fully or partially supported:
- CCL
- Clasp
- ECL
- SBCL
- Mezzano
## Operating System Support
Fetching information about various hardware devices is, of course, OS dependent. The following systems are fully or partially supported:
- FreeBSD
- Linux
- MacOS (darwin)
- Mezzano
- OpenBSD
- Other BSDs (POSIX)
- Windows