Listing Search tasks that are currently runningAdded by IBM on February 11, 2013 | Version 1 (Original)
|You can use a SearchService command to get a list of the tasks that are currently running for the Search application.
Before you begin
To run SearchService commands, you must use the IBM
® Application Server wsadmin client. See Starting the wsadmin client
To get a list of the Search tasks that are currently running, complete the following steps.
Parent topic: Configuring scheduled tasks
Adding scheduled tasks for Search
Listing scheduled tasks
Deleting scheduled tasks for Search
Restoring the default scheduled tasks for Search
Enabling and disabling scheduled tasks
Search default scheduled tasks
- Start the wsadmin client from the following directory of the system on which you installed the Deployment Manager:
is the WebSphere
Application Server installation directory and dm_profile_root
is the Deployment Manager profile directory, typically dmgr01.
You must start the client from this directory or subsequent commands that you enter do not execute correctly.
- After the wsadmin command environment has initialized, enter the following command to initialize the Search environment and start the Search script interpreter:
If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, you must pick the node where the file is stored.
When the command is run successfully, the following message displays:
Search Administration initialized
- Enter the following command:
Lists all the tasks that are currently running for the Search application. This command does not take any input parameters.
The command returns a list of the tasks that are currently running, and includes the following information for each task:
- Internal task ID
- Task name
- Time that the task started
Wed Dec 07 15:23:09 GMT 2011