CH-J Toolsquản lý máy chủ qua SSH
Menu
Mã nguồn đã công bố

CH-J Tools

Duyệt thư mục và tệp của một bản phát hành ứng dụng cụ thể.

Tải mã nguồn dạng ZIP
CH-J / Server Manager 1704 tệp
0.1.2-beta Ngày thêm: · Ngày dựng:
system.ts Ngày thêm: Chưa ghi nhận ngày 672 B · 9 dòng
Mã Tải tệp xuống
1/** System Monitor capabilities (`system.metrics.read`, `system.memory.manage`). */
2import { call } from "../transport";
3import type { Payload } from "../types";
5export const system = Object.freeze({
6 readMetrics: (sessionId: string) => call<Payload>("module_system_metrics", "plugin:system:metrics", { sessionId }),
7 virtualMemory: (sessionId: string, options: Payload = {}) => call<Payload>("module_system_virtual_memory", "plugin:system:virtualMemory", { ...options, sessionId }),
8 manageVirtualMemory: (sessionId: string, payload: Payload) => call<Payload>("module_system_manage_virtual_memory", "plugin:system:manageVirtualMemory", { ...payload, sessionId })
9});
SHA-2563377925d1d15b778b6f2b2560e34659e1b404cab7daccaa2d2b00494eaa064e4

CH-J Proprietary Software License 1.14 · Mã nguồn được cung cấp theo CH-J Proprietary Software License 1.14. Việc công khai mã nguồn không thay đổi các điều khoản giấy phép và không cấp thêm quyền nào.

SHA-256 của tệp nénac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
Tệp