Hello Folks, I need some help here!!!
GET_FILESYSTEM(&HOST,&FILE,PATH_SPACE_USED,Bytes) command -
- Taking more than 20 mins to respond back in PROD Win box.
- Taking just seconds to respond back in QA WIN box.
I spoke to Win Admin team & the PROD box is healthy enough to respond back. So they do not see any reason to have response time of 20 mins.
Would anyone please explain how GET_FILESYSTEM works ? What parameter from WIN is responsible for this response. Based on that we can check with Win Admin with more details.
Codes of a FILE-EVENT - EVENT-PROCESS
----------------------------------------------
:SET &HOST = GET_ATT(HOST)
:SET &FILE = GET_ATT(EVENT_FILE_PATH)
:PRINT "HOST -&HOST"
:PRINT "FILE -&FILE"
:SET &C1 = '0'
:SET &C2 = '1'
: SET &C1 = GET_FILESYSTEM(&HOST,&FILE,PATH_SPACE_USED,Bytes)
: WAIT 30
: SET &C2 = GET_FILESYSTEM(&HOST,&FILE,PATH_SPACE_USED,Bytes)
: PRINT '(2) PATH_SPACE_USED Returned - 2ND CHECK OF FILE IS &C2'
----------------------------------------------
REPORT from a QA box
----------------------------------------------
2019-11-20 01:27:02 - U00020408 HOST - < just omitting the server name for this community post >
2019-11-20 01:27:02 - U00020408 FILE - < just omitting the File Path for this community post >
2019-11-20 01:27:02 - U00020408 1ST CHECK OF FILE IS 0000000000139256
2019-11-20 01:27:31 - U00020408 2ND CHECK OF FILE IS 0000000000139256
----------------------------------------------
REPORT from a PROD box
----------------------------------------------
2019-11-20 00:46:36 - U00020408 HOST - < just omitting the server name for this community post >
2019-11-20 00:46:36 - U00020408 FILE - < just omitting the File Path for this community post >
2019-11-20 01:06:43 - U00020408 1ST CHECK OF FILE IS 0000000000007341
2019-11-20 01:16:24 - U00020408 2ND CHECK OF FILE IS 0000000000007341
----------------------------------------------
------------------------------
Regards,
Prosenjit
------------------------------