check idle #5406
              
                
                  
                  
                    Answered
                  
                  by
                    jsjoeio
                  
              
          
                  
                    
                      Maksim-Siniugin
                    
                  
                
                  asked this question in
                Q&A
              
            
            
              check idle
            
            #5406
          
          
        -
| I have several codeservers running, how can I find out if someone is using one of them, or is it idle? jupyterlab has an api for this. For example /api/kernels will show the status of the kernels, whether they are active or idle, or /api/terminals will show the status of running terminals. Maybe there is something similar in codeserver to explicitly notice user activity inside the server? | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            jsjoeio
          
      
      
        Aug 3, 2022 
      
    
    Replies: 1 comment 7 replies
-
| I think you could check the /healthz endpoint I believe it beats every second and allows you to indicate whether or not there is activity: | 
Beta Was this translation helpful? Give feedback.
                  
                    7 replies
                  
                
            
      Answer selected by
        Maksim-Siniugin
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
I think you could check the /healthz endpoint
I believe it beats every second and allows you to indicate whether or not there is activity: