SCRIPT LIST

Apply for Redis Developer Course Redis Regular Inspection / Technical Support Redis Enterprise Server

SCRIPT LIST

Lists cached scripts. Shows SHA and up to 70 bytes of the script. With the FULL option you can view up to 32767 bytes.

Example

Command>SCRIPT LIST
Result> 1) "d37c6eab63d89876bc92a3d795a5d84b11147ac5"
2) "return redis.call('set','key','AAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBB... (35 more bytes)"
3) "af2b318e824aacd1ee79ed781c57d0ccd1cef1b1"
4) "return redis.call('ls','*')"
5) "bd0593a52463fbaf3a587016448bab655664b66e"
6) "return redis.call('ls','*','string')"
Command>SCRIPT LIST FULL
Result> 1) "d37c6eab63d89876bc92a3d795a5d84b11147ac5"
2) "return redis.call('set','key','AAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCC')"
3) "af2b318e824aacd1ee79ed781c57d0ccd1cef1b1"
4) "return redis.call('ls','*')"
5) "bd0593a52463fbaf3a587016448bab655664b66e"
6) "return redis.call('ls','*','string')"

Syntax

SCRIPT LIST [FULL]

  • Available since Enterprise version 6.0.0.
  • Time complexity is O(N). N is the number of scripts.

<< SCRIPT INFO SCRIPT LIST SCRIPT GET >>

Email 답글이 올라오면 이메일로 알려드리겠습니다.