Dưới đây là bản dịch song ngữ (Tiếng Việt – English) của nội dung bạn cung cấp:
NSD Console Commands
Các Lệnh Console NSD
When run in monitor mode, NSD displays a console prompt from which you can issue a number of commands. NSD performs each command, producing output as requested and reissuing the prompt until you issue the QUIT or EXIT command to exit.
Khi chạy ở chế độ monitor, NSD hiển thị một dấu nhắc lệnh console, từ đó bạn có thể thực hiện nhiều lệnh. NSD sẽ thực thi từng lệnh, xuất kết quả theo yêu cầu và hiển thị lại dấu nhắc cho đến khi bạn sử dụng lệnh QUIT hoặc EXIT để thoát.
ALL
Chạy tất cả các lệnh sau: DUMP, MEMCHECK, PERF, HANDLES, WALKMEM và PS.
CALL commandFile
Opens the specified commandFile and processes all the commands contained in it. If CALL is specified from a command file, the original command file picks up where it left off when the called command file completes.
Mở file lệnh được chỉ định và thực thi tất cả các lệnh bên trong nó. Nếu CALL được sử dụng từ một file lệnh khác, file lệnh gốc sẽ tiếp tục từ vị trí đã dừng khi file lệnh được gọi kết thúc.
The CALL command is a useful way of grouping commands for various purposes. For example, if you write a command file that contains a REPEAT command that specifies a CALL command for a command file containing a list of commands, you effectively extend the value of REPEAT beyond repeating a single command.
Lệnh CALL hữu ích để nhóm các lệnh cho nhiều mục đích khác nhau. Ví dụ, nếu bạn tạo một file lệnh có chứa lệnh REPEAT chỉ định một lệnh CALL đến một file lệnh chứa danh sách các lệnh, bạn sẽ mở rộng khả năng của REPEAT vượt quá việc lặp lại một lệnh duy nhất.
See documentation on the –cmdfile option in NSD Command Line Options for more information about command files.
Xem tài liệu về tùy chọn –cmdfile trong NSD Command Line Options để biết thêm thông tin về file lệnh.
DETACH
Use the DETACH command to detach from all attached processes. This command is only available on certain versions of Windows (XP and 2003 Server). By issuing the DETACH command before EXIT (or QUIT), NSD will exit without terminating any of the processes it debugged interactively.
Sử dụng lệnh DETACH để tách khỏi tất cả các tiến trình đã gắn. Lệnh này chỉ có trên một số phiên bản Windows (XP và 2003 Server). Khi thực hiện lệnh DETACH trước EXIT (hoặc QUIT), NSD sẽ thoát mà không kết thúc bất kỳ tiến trình nào mà nó đã gỡ lỗi tương tác.
DUMP
DUMP pid
Dumps the stacks for all the threads of the specified process, if pid is specified. If pid is not specified, thread stacks for all attached processes are dumped.
Xuất stack của tất cả các thread của tiến trình được chỉ định, nếu pid được cung cấp. Nếu không cung cấp pid, stack của tất cả các tiến trình được gắn sẽ được xuất.
ECHO text
Echos the rest of the line to the console.
Hiển thị phần còn lại của dòng lệnh ra console.
EXIT [–f]
Use the EXIT command to exit NSD. To force the termination of attached processes, include the –f option. QUIT and EXIT are synonyms.
Sử dụng lệnh EXIT để thoát NSD. Để ép kết thúc các tiến trình đã gắn, thêm tùy chọn –f. QUIT và EXIT là từ đồng nghĩa.
GCORE pid
Generates a core dump of the specified process (if –coretype pid is specified or set by default) or for all processes (if –coretype all is specified).
Tạo core dump cho tiến trình được chỉ định (nếu –coretype pid được chỉ định hoặc mặc định) hoặc cho tất cả các tiến trình (nếu –coretype all được chỉ định).
GSET
The GSET command is the same as the SET command.
Lệnh GSET giống như lệnh SET.
HANDLES [pid]
Dumps the process handles for the specified process pid or for all processes if pid is not specified.
Xuất các handle của tiến trình pid được chỉ định hoặc tất cả tiến trình nếu pid không được chỉ định.
HELP
Displays the NSD Console Commands help document (this file)
Hiển thị tài liệu hướng dẫn các lệnh NSD Console (tệp này)
KILL
Kills all Notes/Domino processes for the current Notes/Domino instance and cleans up resources.
Kết thúc tất cả các tiến trình Notes/Domino cho instance hiện tại và giải phóng tài nguyên.
LOAD program [args]
Loads and debugs the specified program. The optional args, if specified, are passed as is on the program command line when NSD loads it for debugging.
Tải và gỡ lỗi chương trình được chỉ định. Tham số args tùy chọn sẽ được truyền nguyên trạng khi NSD tải chương trình để gỡ lỗi.
LOGCON
Switches the logging of command output to the console.
Chuyển chế độ ghi nhật ký đầu ra lệnh ra console.
MEMCHECK args
Runs memcheck with optional args. See Memcheck Command Line Options for documentation on possible values for args.
Chạy memcheck với các tham số args tùy chọn. Xem Memcheck Command Line Options để biết giá trị có thể của args.
PERF
Displays system performance data.
Hiển thị dữ liệu hiệu năng hệ thống.
PS
PS all
Run with no args, the PS command displays the process tree for the current Notes/Domino instance. Run with the argument "all", the process tree for all processes is displayed.
Chạy mà không có tham số, lệnh PS hiển thị cây tiến trình của instance Notes/Domino hiện tại. Với tham số "all", hiển thị cây tiến trình của tất cả các tiến trình.
QUIT
Use the QUIT command to exit NSD. To force the termination of attached processes, include the –f option. QUIT and EXIT are synonyms.
Sử dụng lệnh QUIT để thoát NSD. Để ép kết thúc các tiến trình đã gắn, thêm tùy chọn –f. QUIT và EXIT là từ đồng nghĩa.
REPEAT count freq [units] command [command–args]
REPEAT STOP command [command–args]
REPEAT SHOW
Use the REPEAT command to repeat another command a specified number of times and at a specified frequency.
Sử dụng lệnh REPEAT để lặp lại một lệnh khác một số lần nhất định với tần suất được chỉ định.
The count, freq and command arguments are required, where:
Các tham số count, freq và command là bắt buộc, bao gồm:
-
count is the number of times to run command; count must be non–0
count là số lần thực hiện lệnh; phải khác 0 -
delay is how long to wait between iterations (some non–0 number)
delay là thời gian chờ giữa các lần lặp (số khác 0) -
units (optional) is the units used to specify delay, and can be "h" for hours, "m" for minutes, "s" for seconds, or "ms" for milliseconds. The default is "ms"
units (tùy chọn) là đơn vị của delay: "h" giờ, "m" phút, "s" giây, "ms" mili giây. Mặc định là "ms" -
command is a valid NSD command that you want to run repeatedly
command là lệnh NSD hợp lệ mà bạn muốn lặp -
command–args specifies valid arguments to command as needed
command–args là các tham số hợp lệ cho lệnh nếu cần
Note that REPEAT, KILL, EXIT and QUIT commands cannot be repeated. Other commands may or may not make sense depending on context, so please use common sense.
Lưu ý: các lệnh REPEAT, KILL, EXIT và QUIT không thể lặp lại. Các lệnh khác có thể hợp lý hoặc không tùy vào ngữ cảnh, vì vậy hãy dùng hợp lý.
Only one instance of any given command can be repeated; any REPEAT command that matches an existing repeating command replaces the existing instance.
Chỉ có một phiên bản của mỗi lệnh có thể được lặp; nếu REPEAT trùng với lệnh đang lặp, nó sẽ thay thế lệnh đó.
To cancel a repeating command, issue the REPEAT STOP command:
Để hủy một lệnh lặp, sử dụng lệnh REPEAT STOP:
-
command is the NSD command that you want to stop running repeatedly
command là lệnh NSD bạn muốn dừng lặp -
command–args specifies valid arguments to command as needed
command–args là tham số hợp lệ của lệnh nếu cần
For REPEAT STOP, command and command–args must be identical to what was specified in a previous REPEAT command
Với REPEAT STOP, command và command–args phải giống với lệnh REPEAT trước đó
To list all repeating commands, issue the REPEAT SHOW command with no additional arguments
Để liệt kê tất cả các lệnh lặp, sử dụng lệnh REPEAT SHOW mà không thêm tham số nào.
SET variable=value
SET
When run without arguments, the SET command displays all currently defined NSD.INI variables. Each listed variable is displayed, showing the type of variable (all are local for now), the name of the variable, its value and its data type (int, bool, string).
Khi chạy mà không có tham số, lệnh SET hiển thị tất cả các biến NSD.INI hiện có, bao gồm loại biến (tất cả hiện tại là local), tên, giá trị và kiểu dữ liệu (int, bool, string).
When run with variable=value, the SET command defines the named variable, setting it to the specified value. The type of the variable is automatically determined by the value (int, bool or string). If variable represents an existing NSD.INI variable, SET replaces the existing definition.
Khi chạy với variable=value, SET sẽ tạo biến được đặt tên và gán giá trị chỉ định. Kiểu dữ liệu được xác định tự động theo giá trị (int, bool hoặc string). Nếu biến đã tồn tại trong NSD.INI, SET sẽ ghi đè.
Note that all changes to the list of NSD.INI variables take immediate effect and are automatically reflected in the NSD.INI file when NSD exits.
Lưu ý: mọi thay đổi đối với danh sách biến NSD.INI có hiệu lực ngay lập tức và được phản ánh tự động trong file NSD.INI khi NSD thoát.
SLEEP seconds
The SLEEP command pauses NSD process execution for the specified number of seconds. This command is most useful when specified in a command file for cases where waiting between commands is required for some purpose.
Lệnh SLEEP tạm dừng thực thi NSD trong số giây được chỉ định. Lệnh này hữu ích khi sử dụng trong file lệnh cần chờ giữa các lệnh.
UNSET variable
The UNSET command removes the definition of the specified NSD.INI variable.
Lệnh UNSET xóa định nghĩa của biến NSD.INI được chỉ định.
Note that all changes to the list of NSD.INI variables take immediate effect and are automatically reflected in the NSD.INI file when NSD exits.
Mọi thay đổi đối với danh sách biến NSD.INI có hiệu lực ngay lập tức và được phản ánh tự động trong file NSD.INI khi NSD thoát.
WALKMEM [pid]
Outputs the process memory maps for the specified pid or for all processes, if pid is not specified.
Xuất bản đồ bộ nhớ của tiến trình được chỉ định hoặc tất cả các tiến trình nếu pid không được chỉ định.
END











10:26 AM
MISDUONG
Posted in:
0 nhận xét:
Post a Comment