## Introduction

A run command on an operating system such as Microsoft Windows and Unix- like systems is used to directly open an application or document whose path is known. In the Run Command window, it displays the following attribute:

### Run Commands on Server

- Tier Name –In this attribute, the user should be able to select a saved tier name from the drop-down list.
- Server Name –In this attribute, the user should be able to select a saved server name based on the tier selection.
- Group Name –In this attribute, the user should be able to select saved group names from the drop-down list based on the server name. There are following list of group names that the user can select from the given drop-down
  1. Custom Group
  2. Archival
  3. CavMon Command
  4. File System
  5. Memory Management
  6. Network Management
  7. Process Management
  8. System Commands
  9. System Management
- Command Name –In this attribute, the user should be able to select the save command name from the drop-down list based on the group name listed below:
  - Archival:Achieving is the process of combining multiple files and directories into one file. It should usually be used as part of a system backup or when moving data from one system to another. In archival, the user can use the following two commands:
    - Create Tar:-In this attribute, the user should be able to create the tar based on selection of the following compressed/uncompressed checkbox, Absolute Target Path and Absolute Source Path.
      - Compress/Uncompress if a user selects this checkbox, it will compress the tar.
      - Absolute Target Path In this field, the user has to provide the target path.
      - Absolute Source Path In this field, the user has to provide the source path
    - Extract Tar:-In this attribute, the user should be able to extract the tar. In extract tar, the user can use the following commands:
      - Verbose Select this checkbox to extract the tar.
      - Compress/Uncompress If a user selects this checkbox, it will compress the tar.
      - Absolute Target Path In this field, the user has to provide the target path.
      - Absolute Source Path In this field, the user has to provide the source path
  - CavMon Command:By selecting this command from group name, the user should display the output based on selection of command name. In CavMon command, the user can use the following three commands:
    - CavMonAgent Stats:-In this, the user should display the stats of CavMon agent.
    - CavMonAgent Status:-In this, the user should display the status of CavMon agent.
    - CavMonAgent Version:-In this, the users should be able to display the version of the CavMon Agent.
  - File System:A file system is a structured collection of files on a disk drive or a partition. By selecting file system from group name, user should display the output based on selection of command name. In File System command, the user can use the following commands:
    - List of Open Files:-It should be used to list the information about the files that should be opened by various processes.
    - Locate:-By using this command, users should be able to search the files and directories by their names. In locate, the user has to provide the following:
      - Pattern:-Users should be able to search the files and directories by giving any pattern in this text box.
    - Make Directory:-By using this command, the users should be able to create or make new directories. In the make directory, the user has to provide the following:
      - Parents:-User can create a directory and any parents that don't already exist
      - Absolute Directory Path:-Users have to enter the absolute directory path where they want to create a new directory.
    - Move File:-Users should be able to move the file from one place to another. In the move file, the user has to provide the following:
      - Absolute File Name 1:-Enter the file name the user wants to move.
      - Absolute File Name 2:-Enter the name of the file system where the user wants to move the file.
    - Remove File:-Users should be able to delete the file by using the remove file command. In remove file, the user has to provide the following:
      - Recursive Deletion:-By selecting this, the user should be able to remove multiple directories at once.
      - Force Deletion:-Select this checkbox to delete the directory forcefully.
      - Absolute File Name to be Deleted:-Enter the file name to be deleted.
    - Touch:-Users should be able to create, change and modify the Timestamps by using this command. In touch, the user has to provide the following:
      - Absolute Path of File:-Enter the absolute path of the file.
    - Copy a File:-Users should be able to copy a file by using this command. In copy a file option, the user has to provide the following:
      - Absolute path of file to be copied:-Enter the absolute path of the file.
      - Absolute path of new file:-Enter the absolute path of a new file that the user wants to copy.
  - Memory Management –It should be used to manage the memory in the system. In the Memory Management command, the user can use the following commands:
    - Disk Usage:-It should be used to check the information on disk usage of files and directories available on a machine.
      - Human Readable Format:-Select the checkbox, it should print the sizes in human- readable format (e.g. 3K,12M, 2G).
      - Display Number of INodes:-By selecting this, the user should be able to display the number of nodes.
    - File Usage:-It should be used to check the information on disk usage of files and directories on a machine. File usage should be a part of disk usage.
      - :Summarize-It will show the summary of the command used.
      - Human Readable Format:-Select the checkbox, it should print the sizes in human readable format (e.g. 3K,12M, 2G).
      - Absolute File Path:-Enter the absolute path of a file.
  - Network Management –Network manager is a daemon that sits on the top of libudev and other Linux kernel interface and provides a high-level interface for the configuration of the network interface. In the Network Management command, the user can use the following commands:
    - Netstat:-It should be used to monitor network connections both incoming and outgoing as well as view routing tables, interface, and statistics.
      - Show Numeric Address:-It should display the numeric address.
      - Show All:-It should display all the network connections (listening/non-listening) on a system.
      - TCP:-On selecting this, it should display all the TCP connections.
      - Show Process ID:-It should display all the process id.
  - Process Management –It is the series of tasks a System Administrator completes to monitor, manage and maintain instances of running applications
    - ProcessList:-It should display the list of processes running in the system.
      - Select All Process:-It should display all the processes.
      - Full Format:-By selecting this, it should display the full format.
      - Long List:-By selecting this checkbox, it will list all the processes running in the current working directory.
      - Show Threads:-By selecting this, it should display all the threads of the process.
    - Sort Line:-It should be used to sort the lines of text files.
      - Numeric Sort-By selecting this, it should sort the numeric processes.
      - Absolute File Path:-Enter the absolute path of a file.
    - Top:-It should track the running process id on the machine of the top command based on the number of iterations given.
      - Iterations-It should give the output of the process based on the given number of iterations i.e.: 1,5,10.
  - System Commands –System commands should be executable binaries that utilize the system call to do a particular task
    - Present Working Directory:-It is the current directory on which the user is working.
    - Word Count:-It should display the count in files on the basis of below options:
      - Line Number-It should display the number of lines.
      - Number of Words:-It should display the number of words.
      - Number of Characters:-It should display the number of characters.
      - File Name:-Here the user has to enter the file name.
  - System Management –In System Management, it will show the details about the system. In system management, the user can use the following commands:
    - System Information:-Users should be able to display the system information.
      - All:- By selecting this checkbox, it should display all the information.
    - System Date:-The user should be able to display the system date.
    - Up Time-The user should be able to display the uptime.

### Repeat Settings

Repeat should display based on the time interval. In this option, there are the following fields:

- Repeat Command for:-Here the user has to mention the number of times the command is to be repeated.
- Time (s) on interval (sec):-Here the user has to mention the time interval after which the commands will be repeated. The user has to specify the value for time in Seconds (sec).

### Output Filter Settings

In the output filter setting, the user should be able to search after entering the text in the search text box. User can select any one of the following options from the given drop-down:

- Show Top
- Show Bottom

User can provide the number as per their requirement. On clicking the Save Output on Server checkbox, the user will be able to save the output on the server.