Skip to content

vminfo ps

Linux-only process listing and filtering.

Usage

bash
vminfo ps
vminfo ps nginx
vminfo ps --filter ssh
vminfo ps --tree
vminfo ps --watch
vminfo ps --limit 20
vminfo ps --json
vminfo ps --sort mem

Options

FlagDescription
positional filterFilter by name, user, PID, command, or state
--filterExplicit process filter
--treeRender a process tree
--watchRefresh continuously
--countNumber of samples when used with --watch
--intervalRefresh interval for watch mode
--limitLimit the number of rows
--jsonOutput JSON
--sortSort by cpu, mem, pid, or name

Notes

  • The default sort is cpu.
  • JSON output returns an array of process objects.
  • --watch --json returns JSON Lines with a collected_at timestamp.
  • Non-Linux builds keep unsupported stubs for this command.

Example

bash
vminfo ps --filter ssh --sort mem --limit 20
最近更新

Released under the MIT License.