Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am not seeing the task details in command line for qlik replicate tasks.
Hi @srikar22
I replied to your comment on my article on how to kill a task in Windows task manager and will put the same information here.
Is the command line column empty for other processes as well? Can you try refreshing it by closing and reopening Task Manager?
If that does not work, please reboot the server next. If that does not help, please check with your server admin as this is surely a Windows operating system issue.
Thanks,
Dana
Hi @srikar22 ,
If you are talking about the task status information, please try following command if it meets your need.
repctl gettaskstatus task=<your task name>
However, "gettaskstatus" is not documented in the user guide. It may not be supported. You might consider using the ‘GetTaskDetails’ API from Qlik Enterprise Manager.
Regards,
Desmond
Hello @srikar22
Hope you running the command from QEM API rather than Qlik Replicate. IF you are running then run the CMD prompt from Admin privileges
Regards,
Sushil Kumar
I'm confused - what command line where? What tool are you using to try to see the command line details? And what details do you expect? Is this a Linux server or Windows Server environment.
Either way this most likely implies that you not using a process which is allowed to see the details. Try running 'as Administrator' or under 'root'
On Linux try some variation of: ps -ef | grep re[p]
On Windows you can use the TaskManager 'details' tab
Or use PowerShell something along the lines of.
PS C:\WINDOWS\system32> Get-WmiObject Win32_Process -filter "name like 'rep%.exe'" | Format-Table -AutoSize @{Expression={$_.ProcessId}}, @{Expression={$_.CommandLine}}
$_.ProcessId $_.CommandLine
------------ --------------
9968 "C:\Program Files\Attunity\Replicate\bin\RepUiCtl.exe" -d "C:\Replicate\data" service run
3332 "C:\Program Files\Attunity\Replicate\bin\repctl.exe" -d "C:\Replicate\data" service start name=QlikReplicateServer address=127.0.0.1 port=3550
1400 "C:\Program Files\Attunity\Replicate\bin\repctl.exe" -d C:\Replicate\data reptasksrv Oracle_to_Oracle 127.0.0.1:3550 3332
Yes, the PowerShell suggestion is more complex than needed here, but it is likely a good base for what you need to build a useful script
You gave it the label>> Errors - Unexpected Behavior
Huh? Your error surely. Command lines are out of control of Replicate in the OS domain.
Hein
Please see this I am not able get the command line
Hi @srikar22
I have not seen this situation before, where the command line is not shown in task manager. Please check with your Windows Administrator. There may be related errors in the Windows Event Viewer, a possible permissions issue, or maybe the server just needs to be rebooted. I am not sure.
Hope this helps,
Dana
>> Please see this I am not able get the command line
This has nothing to do with Replicate as such.
It's just a windows authorization issue. Check with your system manager team.
Hein
Hello @srikar22
Request you to please try with Administrator privileges if using any other account to login.as HIEN mentioned its Windows permission issue then the QR command issue.
Regards,
Sushil Kumar